exam questions

Exam XK0-004 All Questions

View all questions & answers for the XK0-004 exam

Exam XK0-004 topic 1 question 5 discussion

Actual exam question from CompTIA's XK0-004
Question #: 5
Topic #: 1
[All XK0-004 Questions]

DRAG DROP -
The lead Linux admin has added a disk, /dev/sdd, to a VM that is running out of disk space. Place the following steps in the correct order from first (1) to last (4) to add the disk to the existing LVM.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
Reference:
https://www.rootusers.com/how-to-increase-the-size-of-a-linux-lvm-by-expanding-the-virtual-machine-disk/

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
[Removed]
Highly Voted 2 years, 8 months ago
1. pvcreate /dev/sdd 2. vgextend vgdata /dev/sdd 3. lvextend -L +10GB /dev/mapper/vgdata-data 4. resize2fs /dev/mapper/vgdata-data Reference: https://opensource.com/business/16/9/linux-users-guide-lvm (make sure you read this short webpage to ensure you fully understand how this all works is my suggestion).
upvoted 5 times
examtopics_htc
2 years, 7 months ago
Excellent response and source
upvoted 3 times
...
...
DiaaEmara
Most Recent 2 years, 5 months ago
If necessary, install a new hard drive. Optional: Create a partition on the hard drive. Create a physical volume (PV) of the complete hard drive or a partition on the hard drive. Assign the new physical volume to an existing volume group (VG) or create a new volume group. Create a new logical volumes (LV) from the space in the volume group. Create a filesystem on the new logical volume. Add appropriate entries to /etc/fstab for mounting the filesystem. Mount the filesystem.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago