Pvscan

From LQWiki
Jump to navigation Jump to search

pvscan is the command to scan for physical volumes as used in LVM. The command is located in /sbin

example

# pvscan
 PV /dev/md126   VG raid   lvm2 [125.00 GB / 2.50 GB free]
 PV /dev/md127   VG raid   lvm2 [335.75 GB / 305.75 GB free]
 PV /dev/md124   VG mass   lvm2 [931.51 GB / 31.51 GB free]
 PV /dev/sdb1    VG bck    lvm2 [931.51 GB / 520.00 MB free]
 Total: 4 [2.27 TB] / in use: 4 [2.27 TB] / in no VG: 0 [0   ]