CORRECT TEXT

Posted by: Pdfprep Category: EX200 Tags: , ,

CORRECT TEXT

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.

Answer: see explanation below.

Explanation

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

Leave a Reply

Your email address will not be published.