System Management
A virtual machine uses the whole disk /dev/sdb as a physical volume in vg_data. The hypervisor administrator has grown the virtual disk from 50 GiB to 100 GiB and the guest kernel already reports the new size. vgs still shows no additional free space in vg_data. Which command makes the new capacity available to the volume group?
Show the answer
Correct answerC. pvresize /dev/sdb
pvresize updates the PV metadata to the device's new size, which adds free extents to vg_data. vgextend fails because /dev/sdb is already a member of the volume group. lvextend cannot use space the volume group does not yet have, and pvscan only refreshes the list of PVs.