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.
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.
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.
lvextend -L 200M -r /dev/test0/testvolume1 lvdisplay or lvs to verify
the question asks for MORE 200MB. Correct command should be sudo lvresize /dev/datastore/database --resizefs --size +200M
lvextend -r -L 200M /dev/vo/myvol
lvresize -r -L 200M /dev/test0/testvolume1