Pcornel
Storage · Logical Volume Management

Physical Volume

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

Back to the Topic

Answer

The PV is LVM’s lower allocation object. It has identity and metadata independent of transient device names and maps physical extents onto an underlying disk, partition, multipath device, RAID device, SAN LUN or other block target.

Remember

  • PV ≠ physical disk necessarily.
  • PV name/path ≠ stable identity.
  • PV present ≠ underlying media/path healthy.
  • Removing a PV from a VG ≠ deleting upper data safely.

First checks

  • pvs -o +pv_used,dev_size — PV usage
  • pvdisplay /dev/sdX — details
  • pvcreate /dev/sdY — initialise

Commands

pvs
Read current LVM state for a bounded verification step.

Verify in this order

disk → PV metadata → VG

Where it usually breaks

First mismatch in member media → metadata/layout → allocation/placement → redundancy/recovery → logical object → consumer; preserve identity/pre-state before mutation.

Logical Volume Management → Physical Volume LVM map

LVM boundaryWhat to verifyProof limit
Identity / mappingPV, VG, LV/thin-pool identity, size, membership and activation/mappingObject presence alone does not prove upper filesystem or lower path health
Allocation / capacityVG extents, LV size, thin data + metadata usage and upper-consumer capacityFree capacity at one layer does not prove allocation succeeds end to end
Failure boundaryA visible PV proves its LVM label/metadata can be read through the current block path; it does not prove every sector is healthy, the VG is complete or no extents are in use.Correlate LVM evidence with both consumer and lower block path before recovery
AcceptanceHealthy evidence: PV identity, size, VG membership and extent allocation match design; underlying storage is stable and all expected PVs are accessible.Close only after the original workload and independent read-back/consistency check succeeds

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

Confirmation

Confirm action

Continue?