PrepAway - Latest Free Exam Questions & Answers

Make successfully that the size of Logical Volume 245MB without losing any data.

CORRECT TEXT
One Logical Volume is created named as myvol under vo volume group and is mounted. The
Initial Size of that Logical Volume is 124MB. Make successfully that the size of Logical Volume
245MB without losing any data. The size of logical volume 240MB to 255MB will be acceptable.

PrepAway - Latest Free Exam Questions & Answers

Answer:

Explanation:
1. First check the size of Logical Volume: lvdisplay /dev/vo/myvol
2. Increase the Size of Logical Volume: lvextend -L+121M /dev/vo/myvol
3. Make Available the size on online: resize2fs /dev/vo/myvol
4. Verify the Size of Logical Volume: lvdisplay /dev/vo/myvol
5. Verify that the size comes in online or not: df -h
We can extend the size of logical Volume using the lvextend command. As well as to decrease the
size of Logical Volume, use the lvresize command. In LVM v2 we can extend the size of Logical
Volume without unmount as well as we can bring the actual size of Logical Volume on online using
ext2online command.


Leave a Reply