exam questions

Exam EX200 All Questions

View all questions & answers for the EX200 exam

Exam EX200 topic 1 question 26 discussion

Actual exam question from RedHat's EX200
Question #: 26
Topic #: 1
[All EX200 Questions]

SIMULATION -
Adjust the size of the Logical Volume.
Adjust the size of the vo Logical Volume, its file system size should be 290M. Make sure that the content of this system is complete.
Note: the partition size is rarely accurate to the same size as required, so in the range 270M to 320M is acceptable.

Show Suggested Answer Hide Answer
Suggested Answer: See explanation below.
Addition -
df -hT
lvextend -L +100M /dev/vg0/vo

Lvscan -
xfs_growfs /home/ //home is the mounted directory of the LVM, this step just need to do in the practice environment, and test EXT4 does not need this step. resize2fs /dev/vg0/vo// use this command to update in examination. df -hT

OR -

Subtraction -
e2fsck -f/dev/vg0/vo
umount /home
resize2fs /dev/vg0/vo // the final required partition capacity is 100M lvreduce -l 100M /dev/vg0/vo mount /dev/vg0/vo/home df -hT

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
kamilzeynal7
Highly Voted 1 year, 5 months ago
rhel8 umount /dev/mapper/my_vol2-lvshare /mnt/data lvreduce -r -L 290M /dev/my_vol2/lvshare
upvoted 8 times
...
kenkct
Highly Voted 4 months, 2 weeks ago
sudo su df -hT (list the volume) umount [logical volume] (unmount the logical volume) lvresize -r -L 290M [logical Volume] (-r to resize, -L to specify the size) mount -a (remount the volume) df -hT (to verify the volume)
upvoted 6 times
...
cb52
Most Recent 6 months, 2 weeks ago
lvresize -r -L 290M /dev/vo/lvshare lsblk mount -a
upvoted 5 times
...
thulasi
1 year, 4 months ago
On what filesystem
upvoted 4 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