Initialize the empty partition /dev/sdb1 as an LVM physical volume.
The target device has already been verified.
Which command is appropriate?
pvcreate DEVICE writes LVM metadata to initialize a physical volume. It can overwrite existing signatures or data, so target confirmation is essential.
Detailed explanation
lspciCorrect. pvcreate /dev/sdb1 initializes the partition as a PV.
lsmodIncorrect. vgcreate needs a VG name and initialized PVs.
lsusbIncorrect. lvcreate allocates an LV from a VG.
insmodIncorrect. pvs only queries existing PVs.
Try it yourself
An example you can run in a temporary verification environment.
lsusb | sed -n '1,6p'Expected result
Bus NNN Device NNN: ID vendor:product description形式Key points
- pvcreate initializes a PV
- It changes device metadata
- Confirm the exact target
Notes
- Environment: usbutils lsusb / 読み取り操作
- 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
USB enumeration is separate from PCI enumeration and module listing.
Check the side effect
Repeat the query after connecting a disposable USB device.