On my server the filesystem includes these partitions:
Filesystem Size Used Avail Use% Mounted on /dev/sda6 4.6G 929M 3.5G 21% / /dev/sda5 76M 20M 53M 27% /boot /dev/sda8 449G 199M 426G 1% /home /dev/sda7 4.6G 4.4G 0 100% /var
I'm storing the web sites and databases under
/var and as you can see it's got full. The
/home folder just has basic user directories and nothing else so I'd like to repartition the server so that
/dev/sda8 is about 5GB, with the rest going to
What's the easiest way to do this via command line (i.e. SSH)?