Linux LVM
Inspect LVM logical-volume/device mapping
lvs -a -o lv_name,vg_name,lv_attr,lv_size,devices
Operational command for Inspect LVM logical-volume/device mapping. Focus fields: LV/VG name, attributes, size and backing devices.
Use when working the canonical Topic storage--logical-volume-management-lvm-troubleshooting and the matching failure boundary.
inspect pvs/vgs/device-mapper state and kernel logs for the affected VG/LV
Privilege Use an account/context authorized for this observation; do not broaden scope unnecessarily.State impact Read-onlyProduction Unknown
Field glossary
Important fields projected from persisted Command guidance.
LV/VG name, attributes, size and backing devicesImportant persisted output field; use surrounding guidance for interpretation.
Used in these Topics
Each relation carries both placement role and operational semantic: verifies, configures, troubleshoots, collects evidence, changes state or general.
Evidence boundary
What this output can establish — and where you must not over-claim.
This command directly exposes LV/VG name, attributes, size and backing devices for the selected object/context at execution time.
It does not by itself prove root cause, health of an adjacent dependency, or end-to-end workload recovery.
inspect pvs/vgs/device-mapper state and kernel logs for the affected VG/LV
Command guidance
Execution context
Linux LVM
Use when
Use when working the canonical Topic storage--logical-volume-management-lvm-troubleshooting and the matching failure boundary.
Important fields
LV/VG name, attributes, size and backing devices
Common problems
Common mistakes: wrong object, node, VRF/namespace, time window, or treating a management-plane status as workload proof.
Operational impact
Read-only observation; runtime cost still depends on platform and result size.
Runtime cautions
Capture the command, selected scope and timestamp so the result can be correlated with the original test.
Technical context
Known-good: the expected LV is active with intended backing devices and attributes. Suspicious: LV is inactive, partial/degraded or mapped to missing/unexpected PVs. Next discriminating check: inspect pvs/vgs/device-mapper state and kernel logs for the affected VG/LV.
Variants · known-good and broken output
Read the stored sample against its authored expected state and interpretation, then return to the Command evidence boundary for what the observation can and cannot prove.
Illustrative Known-good interpretationKnown-good · Linux LVM
Illustrative state cue only; not captured output: the expected LV is active with intended backing devices and attributeshealthy
Inspect LVM logical-volume/device mapping — Known-good. Inspect LV/VG name, attributes, size and backing devices. Observed cue: the expected LV is active with intended backing devices and attributes. This supports only the state returned by lvs -a -o lv_name,vg_name,lv_attr,lv_size,devices for the selected object and time window. It does not establish root cause or prove the next dependency. Next check: inspect pvs/vgs/device-mapper state and kernel logs for the affected VG/LV. Correlate the result with the same workload/test before declaring recovery.
This command directly exposes LV/VG name, attributes, size and backing devices for the selected object/context at execution time.
Does not prove: It does not by itself prove root cause, health of an adjacent dependency, or end-to-end workload recovery.inspect pvs/vgs/device-mapper state and kernel logs for the affected VG/LV
Illustrative Transitional interpretationTransitional · Linux LVM
Illustrative state cue only; not captured output: The command returns the expected object, but one or more state/counter fields are still moving toward a terminal result.transitional
Inspect LVM logical-volume/device mapping — Transitional. Inspect LV/VG name, attributes, size and backing devices. Observed cue: The command returns the expected object, but one or more state/counter fields are still moving toward a terminal result.. This supports only the state returned by lvs -a -o lv_name,vg_name,lv_attr,lv_size,devices for the selected object and time window. It does not establish root cause or prove the next dependency. Next check: inspect pvs/vgs/device-mapper state and kernel logs for the affected VG/LV. Correlate the result with the same workload/test before declaring recovery.
This command directly exposes LV/VG name, attributes, size and backing devices for the selected object/context at execution time.
Does not prove: It does not by itself prove root cause, health of an adjacent dependency, or end-to-end workload recovery.inspect pvs/vgs/device-mapper state and kernel logs for the affected VG/LV
Illustrative Broken interpretationBroken · Linux LVM
Illustrative state cue only; not captured output: LV is inactive, partial/degraded or mapped to missing/unexpected PVsbroken
Inspect LVM logical-volume/device mapping — Broken. Inspect LV/VG name, attributes, size and backing devices. Observed cue: LV is inactive, partial/degraded or mapped to missing/unexpected PVs. This supports only the state returned by lvs -a -o lv_name,vg_name,lv_attr,lv_size,devices for the selected object and time window. It does not establish root cause or prove the next dependency. Next check: inspect pvs/vgs/device-mapper state and kernel logs for the affected VG/LV. Correlate the result with the same workload/test before declaring recovery.
This command directly exposes LV/VG name, attributes, size and backing devices for the selected object/context at execution time.
Does not prove: It does not by itself prove root cause, health of an adjacent dependency, or end-to-end workload recovery.inspect pvs/vgs/device-mapper state and kernel logs for the affected VG/LV