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 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 (?) , you can switch to a simple comment.
Switch to a voting comment New
Stunomatic
Highly Voted 1 year, 4 months ago
lvextend -r -L +110M /dev/vg2/lv2 use -r to resize FS
upvoted 8 times
Brabus
1 year, 4 months 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
...
...
ertgrty
Most Recent 8 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, 2 months ago
Could anyone share the way we should get on to Exam-Topics server to practice these questions ? Thanks...
upvoted 1 times
Dewitts68
11 months, 1 week 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
8 months, 4 weeks 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 ...