Physical Volume
Cheat sheet · https://pcornel.dk/topic.php?topic=3967
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 usagepvdisplay /dev/sdX— detailspvcreate /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 boundary | What to verify | Proof limit |
|---|---|---|
| Identity / mapping | PV, VG, LV/thin-pool identity, size, membership and activation/mapping | Object presence alone does not prove upper filesystem or lower path health |
| Allocation / capacity | VG extents, LV size, thin data + metadata usage and upper-consumer capacity | Free capacity at one layer does not prove allocation succeeds end to end |
| Failure boundary | A 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 |
| Acceptance | Healthy 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