Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

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 (?) , you can switch to a simple comment.
Switch to a voting comment New
kamilzeynal7
Highly Voted 3 years, 2 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 2 years 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 2 years, 2 months ago
lvresize -r -L 290M /dev/vo/lvshare lsblk mount -a
upvoted 5 times
...
thulasi
3 years, 1 month 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 ...