how to use lvmdiskscan command with its examples

  • About lvmdiskscan : To scan for all devices visible to LVM2
  • It comes from “lvm2-2.02.72” package.
  • Configuration Files:
  • Path: /sbin/lvmdiskscan

Examples:

1. To scan all devices

$ lvmdiskscan

2. To only reports Physical Volumes

$ lvmdiskscan -l
$ lvmdiskscan –lvmpartition 

Related Commands:  lvm, lvm.conf, pvscan, vgscan

Leave a Reply

Your email address will not be published. Required fields are marked *