unix

How do I resize or expand LVM partitions on my Linux server?

To resize or expand an LVM partition on a Linux server, you can perform the following steps:

1. umount /mount-point
2. e2fsck -f /dev/VolGroup00/LogVol01
3. resize2fs /dev/VolGroup00/LogVol01 50G
4. lvreduce -L-10G /dev/VolGroup00/LogVol01
5. mount /mount-point

To grow the / partition you can perform these 2 steps:

1. lvextend -L+10G /dev/VolGroup00/LogVol00
2. resize2fs /dev/VolGroup00/LogVol00

Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

To Top