Sunday, July 10, 2011

How to reduce the size of a LVM2 loggical volume

For example to reduce the size of a logical volume /home to 10 GB, follow the commands listed below.

# umount /home
# resize2fs /dev/VolGroup00/homevol 10G
# lvreduce -L 10G /dev/VolGroup00/homevol
# fsck -f /dev/VolGroup00/homevol
# mount /home

1 comment:

  1. Thanks for providing the programming to reduce the size of a LVM2 logical volume.I will surely rite about this in best place to buy essays online so that majority of the people could get benefits from this program which is very helpful.

    ReplyDelete