I'll start my saying that although I've used Ubuntu for a number of years I've rarely taken the time to explore Linux under the hood. I've been content to rely on GUI tools for most of my needs, only resorting to a terminal when a suitable GUI tool could not be found.
A few weeks back I did a default install of the Zentyal (ebox) distro and set up an email server for a school. Unfortunately, the default file system configuration allocated only three partitions:
- / - 6GB
- swap - 4GB
- /home - 96GB
After being in operation for only a few weeks the root parition has filled and has taken the server to its knees. So I need to find a way to either resize or free up space in the root partition.
I've been able to figure out that the space hog is
/var, the file system was setup using lvm and that both
/home are in the same volume group. I've attempted booting from a live cd so I could shrink
/home and enlarge
/. I'm more comfortable with GUI tools so I used system-config-lvm. The odd thing is that from the live cd it showed the
/home partition (or volume or whatever its called) as not having a file system at all. When I log in normally I can see that it is in fact using ext4.
This server is running as a vmware guest so I made a snapshot and went ahead and tried to resize. Everything appeared to resize without error however, after rebooting I was informed that
/home could no longer be mounted. The only account that needs the
/home folder is the server administrator (me) but apparently Zentyal must use it for something because I couldn't access Zentyal's web interface and the server wasn't receiving any emails.
So I reverted to the snapshot I had taken and here I sit. No closer to solving this problem than I was before.
Any help would be appreciated.