Exam EX200 All QuestionsBrowse all questions from this exam
Question 14

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.)

    Correct Answer:

    To change the logical volume capacity named 'vo' from 190M to 300M and ensure the size is within the specified range of 280M to 320M, follow these steps: First, check the current volume group capacity with 'vgdisplay' to ensure there is enough space available. If additional space is required, create a new physical volume (pvcreate), extend the volume group (vgextend), and then proceed to extend the logical volume. Check the logical volume details using 'lvdisplay'. Use the command 'lvextend -L +110M /dev/vg2/lv2' to extend the logical volume. Once that is done, resize the filesystem using 'resize2fs /dev/vg2/lv2'. Verify the changes by remounting the filesystem and using 'mount -a'. It's crucial to check that the logical volume size falls within the 280M to 320M range.

Discussion
Stunomatic

lvextend -r -L +110M /dev/vg2/lv2 use -r to resize FS

Brabus

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!

gaven186

which of these commands fulfill floating range 280-320?

americaman80

these same examples can be practiced for free using 3 Rocky 9 VMs in Virtualbox.

ertgrty

check details of lv #lvdisplay #lvextend -L 230MB /dev/(vg)/vo #resizes2fs , if using xfs (xfs_growfs)

techzideas

Could anyone share the way we should get on to Exam-Topics server to practice these questions ? Thanks...

Dewitts68

Install fedora on your machine and try them out there :) There is no test server that will check these answers for you

ACM13

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