Exam EX200 All QuestionsBrowse all questions from this exam
Question 51

SIMULATION -

One Logical Volume named /dev/test0/testvolume1 is created. The initial Size of that disk is 100MB now you required more 200MB. Increase the size of Logical

Volume, size should be increase on online.

    Correct Answer:

    To increase the size of a logical volume by 200MB while the file system is online, the lvextend command is used. The appropriate command to increase the logical volume by 200MB would be 'lvextend -L+200M /dev/test0/testvolume1'. Additionally, the '-r' option can be used to resize the filesystem together with the logical volume, making it 'lvextend -L+200M -r /dev/test0/testvolume1'. This command ensures that the logical volume is extended by 200MB and the file system size is adjusted accordingly without requiring manual intervention.

Discussion
mattd81

lvextend -L 200M -r /dev/test0/testvolume1 lvdisplay or lvs to verify

ly01

the question asks for MORE 200MB. Correct command should be sudo lvresize /dev/datastore/database --resizefs --size +200M

rajat3204

lvextend -r -L 200M /dev/vo/myvol

Kicod

lvresize -r -L 200M /dev/test0/testvolume1