nerdexam
CompTIA

XK0-005 · Question #100

An administrator is tasked with increasing the size of the volume /dev/vg/lv to 20GB. Which of the following BEST illustrates the steps the administrator should take?

The correct answer is D. lvextend -L20G /dev/vg/lv; resize2fs /dev/vg/lv. "To extend the existing data2 LV by 50GB and resize the existing filesystem on it accordingly, you could use the lvextend -L +50GB -r /dev/vg00/data2 command."

System Management

Question

An administrator is tasked with increasing the size of the volume /dev/vg/lv to 20GB. Which of the following BEST illustrates the steps the administrator should take?

Options

  • Avgextend -L20G /dev/vg/lv; resizelv /dev/vg/lv
  • Bparted -L20G /dev/vg/lv; remount /dev/vg/lv
  • Cmkfs -L20G /dev/vg/lv; tune2fs /dev/vg/lv
  • Dlvextend -L20G /dev/vg/lv; resize2fs /dev/vg/lv

How the community answered

(34 responses)
  • A
    3% (1)
  • B
    9% (3)
  • C
    3% (1)
  • D
    85% (29)

Explanation

"To extend the existing data2 LV by 50GB and resize the existing filesystem on it accordingly, you could use the lvextend -L +50GB -r /dev/vg00/data2 command."

Topics

#LVM#Filesystem Management#lvextend#resize2fs

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice