nerdexam
CompTIA

XK0-004 · 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

(56 responses)
  • A
    7% (4)
  • B
    13% (7)
  • C
    4% (2)
  • D
    77% (43)

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#lvextend#resize2fs#volume resizing

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice