Pcornel
Linux · LVM

Physical Volume (PV)

Cheat sheet · https://pcornel.dk/topic.php?topic=2760

Back to the Topic

Answer

A physical volume (PV) is a disk or partition initialised for LVM with pvcreate; it contributes its space to a volume group.

Remember

A missing PV makes the VG partial — LVs on it fail. After growing the underlying disk, run pvresize. Remove a PV safely with pvmove then vgreduce.

First checks

  • pvs — physical volumes
  • vgs — volume groups and free space
  • lvs -a -o +devices — logical volumes and their devices
  • lsblk — stack view

Commands

pvs
pvs -o +pe_start,mda_size

Verify in this order

disk/partition → pvcreate → PV metadata → added to a VG

Where it usually breaks

First mismatch in hardware/block device → kernel driver/mapper/RAID/LVM → filesystem → mount namespace/options → path permissions/MAC → consumer I/O; preserve identity/native diagnostic/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=2760

Confirmation

Confirm action

Continue?