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.)
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)
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!
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
...
...
Log in to ExamTopics
Sign in:
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.
Stunomatic
Highly Voted 2 years agoBrabus
2 years agoToDiscussRedHat
Most Recent 2 weeks, 2 days agogaven186
7 months agoamericaman80
7 months, 1 week agoertgrty
1 year, 3 months agotechzideas
1 year, 10 months agoDewitts68
1 year, 6 months agoACM13
1 year, 4 months ago