exam questions

Exam EX200 All Questions

View all questions & answers for the EX200 exam

Exam EX200 topic 1 question 14 discussion

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

SIMULATION -
Change the logical volume capacity named vo from 190M to 300M. and the size of the floating range should set between 280 and 320. (This logical volume has been mounted in advance.)

Show Suggested Answer Hide Answer
Suggested Answer: See explanation below.
# vgdisplay
(Check the capacity of vg, if the capacity is not enough, need to create pv , vgextend , lvextend)
# lvdisplay (Check lv)
# lvextend -L +110M /dev/vg2/lv2
# resize2fs /dev/vg2/lv2
mount -a
(Verify)
-------------------------------------------------------------------------------
(Decrease lvm)
# umount /media
# fsck -f /dev/vg2/lv2
# resize2fs -f /dev/vg2/lv2 100M
# lvreduce -L 100M /dev/vg2/lv2
# mount -a
# lvdisplay (Verify)

OR -
# e2fsck -f /dev/vg1/lvm02
# resize2fs -f /dev/vg1/lvm02
# mount /dev/vg1/lvm01 /mnt
# lvreduce -L 1G -n /dev/vg1/lvm02
# lvdisplay (Verify)

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
Stunomatic
Highly Voted 2 years ago
lvextend -r -L +110M /dev/vg2/lv2 use -r to resize FS
upvoted 9 times
Brabus
2 years ago
that is correct: You can use the -r option of the lvextend command to extend the logical volume and resize the underlying file system with a single command!
upvoted 2 times
...
...
ToDiscussRedHat
Most Recent 2 weeks, 2 days ago
What to do with the size of the floating range should set between 280 and 320 part?
upvoted 1 times
...
gaven186
7 months ago
which of these commands fulfill floating range 280-320?
upvoted 3 times
...
americaman80
7 months, 1 week ago
these same examples can be practiced for free using 3 Rocky 9 VMs in Virtualbox.
upvoted 2 times
...
ertgrty
1 year, 3 months ago
check details of lv #lvdisplay #lvextend -L 230MB /dev/(vg)/vo #resizes2fs , if using xfs (xfs_growfs)
upvoted 1 times
...
techzideas
1 year, 10 months ago
Could anyone share the way we should get on to Exam-Topics server to practice these questions ? Thanks...
upvoted 1 times
Dewitts68
1 year, 6 months ago
Install fedora on your machine and try them out there :) There is no test server that will check these answers for you
upvoted 1 times
...
ACM13
1 year, 4 months ago
Download Red Hat for developers and create a test server in your machine using UTM, you can add virtual disk, even register for a developer subscription and use yum
upvoted 1 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 ...