System Management

The volume group vg_data spans /dev/sdb and /dev/sdc. Logical volume lv_db currently uses only /dev/sdb. An administrator must add 20 GiB to lv_db and allocate the new extents from /dev/sdc. Which command BEST meets this requirement?

Show the answer

Correct answerD. lvextend -L +20G /dev/vg_data/lv_db /dev/sdc

The logical volume path comes first, and a physical volume listed after it restricts where the new extents are allocated. A +20G size adds to the current size. Without the plus sign, 20G sets the total size, which fails if lv_db is already larger than 20 GiB.