System Management
A cloud provider enlarges the virtual disk /dev/nvme0n1. Partition 3 is the last partition on the disk, and the administrator wants the partition itself extended to fill the new space. Which command does this?
Show the answer
Correct answerD. growpart /dev/nvme0n1 3
growpart takes the disk device and the partition number as separate arguments, so growpart /dev/nvme0n1 3 extends the partition. Passing the partition node (nvme0n1p3) as a single argument is invalid syntax. resize2fs grows a filesystem, not a partition.