Extend ext3

This is how to extend a file system mounted on LVM:

Extend the logical volume:

# lvextend -L +1G /dev/VG01/LV01

This will ADD an additional "1G" (one gig) to the "LV01" logical volume. After the LV has been extended, you have to extend the filesystem out over the new space. That can be done as follows:

# resize2fs /dev/mapper/VG01-LV01
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License