Q: 20
A Linux administrator needs to expand a volume group using a new disk. Which of the following
options presents the correct sequence of commands to accomplish the task?
Options
Discussion
D tbh, that's the right sequence for expanding an existing VG with a new disk.
Yeah, D’s got the steps in the correct order. fdisk to carve out the partition, pvcreate to make it LVM-ready, then vgextend to actually add it in. Makes sense for expanding an existing volume group. Pretty sure that’s what they want here but open if someone uses a different workflow.
D , since you have to create the partition (fdisk), initialize it for LVM (pvcreate), and then add it to the VG (vgextend). The others mix up steps or use wrong commands.
Yeah, I'd pick D here. fdisk, then pvcreate, finally vgextend makes sense to me.
D imo. fdisk sets the partition, then pvcreate for LVM, finally vgextend to add it to the group. The order in D lines up with what you'd actually do, but if anyone's done this different let me know.
Its D. Looks like the right order: first set up the partition with fdisk, make it an LVM physical volume with pvcreate, then extend the existing VG using vgextend. Took me a minute because I mixed up vgcreate and vgextend before. Someone confirm if I got this straight?
Be respectful. No spam.