Answers

Question and Answer:

  Home  Red Hat Certification

⟩ Do you know 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.

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.

 129 views

More Questions for you: