System Management

A technician reuses a retired disk partition, /dev/sdd1, that previously held an ext4 filesystem whose data is no longer needed. Running pvcreate /dev/sdd1 stops with a prompt saying an ext4 signature was detected and asking whether to wipe it. What should the technician do to initialize the partition as a physical volume?

Show the answer

Correct answerC. Answer y so pvcreate wipes the old signature and writes the LVM label

Because the old data is not needed, confirming the wipe lets pvcreate clear the ext4 signature and write the LVM label. Answering n aborts the initialization, and LVM never converts a filesystem in place. Shrinking the filesystem or running pvscan does not remove the signature.