The Linux Newbie Guide  ⇒    Fundamentals     Advanced     Supplement   Command Index   ENG⇒中
All rights reserved, please indicate the source when citing
  

pvscan - Scanning for Physical Volumes (PV)




pvscan is a Linux command related to LVM (Logical Volume Manager) used to scan for physical volumes (PVs) on all available hard disks to identify any that are part of LVM.

The syntax for the pvscan command is as follows:
pvscan [OPTIONS].

Common options for the pvscan command include:



Example:
# pvscan ←Scans the hard disks to identify PVs (Physical Volumes)
  PV /dev/sda3     VG db_vg         lvm2 [<93.15 GiB / <74.52 GiB free]
  PV /dev/sda4     VG db_vg         lvm2 [<93.15 GiB / <93.15 GiB free]
  PV /dev/sdb9     VG centos        lvm2 [<18.00 GiB / 0 free]
  Total: 3 [204.29 GiB] / in use: 3 [204.29 GiB] / in no VG: 0 [0  ]

For more examples and operations related to pvscan and LVM, please refer to the provided link.