CompTIA Linux+ XK0-006 (V8) Practice Question

You manage a file server where the /data mount point is an ext4 file system located on logical volume /dev/vgdata/lvshare. A new blank SSD has been installed and is visible as /dev/sdb. You must add the entire SSD to the existing volume group vgdata and make all of the newly available space immediately usable by the mounted /data file system, with no reboot or unmount. Which chain of standard LVM commands accomplishes this task in the correct order?

  • pvcreate /dev/sdb && vgcreate vgdata /dev/sdb && lvextend -r -l +100%FREE /dev/vgdata/lvshare

  • vgextend vgdata /dev/sdb && lvextend -L +100%FREE /dev/vgdata/lvshare && xfs_growfs /data

  • pvcreate /dev/sdb && lvextend /dev/vgdata/lvshare +100%FREE && resize2fs /dev/vgdata/lvshare

  • pvcreate /dev/sdb && vgextend vgdata /dev/sdb && lvextend -r -l +100%FREE /dev/vgdata/lvshare

CompTIA Linux+ XK0-006 (V8)
System Management
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot