Allocate 20 GiB from a VG, create ext4, and mount it at /var/log.
Which LVM layer should receive the filesystem?
An LV appears as a normal virtual block device and is the usual target for mkfs, mount, or swap setup.
Detailed explanation
lsusbIncorrect. A physical extent is an internal allocation unit, not normally a direct mkfs target.
lspciIncorrect. The VG is a capacity pool rather than the specific block device for one filesystem.
lsmodIncorrect. A PV is the lower layer supplying the pool.
rmmodCorrect. The LV is the block device on which ext4 is created.
Try it yourself
An example you can run in a temporary verification environment.
lspci -nn | sed -n '1,6p'Expected result
PCIアドレス、デバイスクラス、名称、[vendor:device] IDKey points
- LV is allocated from a VG
- It is a block device
- It can receive a filesystem
Notes
- Environment: pciutils lspci / 読み取り操作
- Prefer read-only inspection or a disposable system when testing hardware commands.
- Device visibility and module behavior depend on the host and virtualization environment.
Foundation review
Place the operation
Bus-specific tools expose different hardware inventories.
Check the side effect
Use -nn when numeric IDs are needed for driver investigation.