Combine multiple disks and create logical volumes for separate uses.
Identify the relationship from the lower layer to the upper layer.
Which order is correct?
LVM turns disks or partitions into PVs, combines PVs into a VG, and allocates LVs from the VG's free space.
Detailed explanation
LV → VG → PVIncorrect. This reverses the LVM hierarchy.
Incorrect. This reverses the LVM hierarchy.
PV → VG → LVCorrect. The order is physical volume, volume group, logical volume.
Correct. The order is physical volume, volume group, logical volume.
VG → PV → LVIncorrect. A VG is built from PVs, not the other way around.
Incorrect. A VG is built from PVs, not the other way around.
PV → LV → VGIncorrect. An LV is allocated from a VG and does not precede it.
Incorrect. An LV is allocated from a VG and does not precede it.
Try it yourself
An example you can run in a temporary verification environment.
printf '%s
' 'PV -> VG -> LV -> filesystem -> mount point'Expected result
PV -> VG -> LV -> filesystem -> mount pointKey points
- PV is the lower physical layer
- VG is the capacity pool
- LV is a virtual block device
Notes
- Environment: Linux / LVM2概念
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.