| 1 | == Increase file system size on Linux server == |
| 2 | |
| 3 | Filesystems residing in the logical volume manager can easily be grown, as long as there is free space in the volume group. |
| 4 | |
| 5 | 1. Log in to the machine which has the data |
| 6 | 1. Run ```sudo vgdisplay -C``` to check that there is free space in the volume group |
| 7 | 1. Run ```sudo lvextend -L +nnnG /dev/vg1/volume_name``` to grow the logical volume |
| 8 | 1. Run ```sudo resize2fs /dev/vg1/volume_name``` to grow the filesystem in order to make the additional space available. |
| 9 | |
| 10 | To list volumes and their sizes within a volume group use ```sudo lvdisplay -C vg1``` |