Version 1 (modified by 14 years ago) ( diff ) | ,
---|
Increase file system size on Linux server
Filesystems residing in the logical volume manager can easily be grown, as long as there is free space in the volume group.
- Log in to the machine which has the data
- Run
sudo vgdisplay -C
to check that there is free space in the volume group
- Run
sudo lvextend -L +nnnG /dev/vg1/volume_name
to grow the logical volume
- Run
sudo resize2fs /dev/vg1/volume_name
to grow the filesystem in order to make the additional space available.
To list volumes and their sizes within a volume group use sudo lvdisplay -C vg1
Note:
See TracWiki
for help on using the wiki.