Resize hard drive partition to make more space for /var

Posted by user3357381 on Ask Ubuntu See other posts from Ask Ubuntu or by user3357381
Published on 2014-06-09T02:08:17Z Indexed on 2014/06/09 3:42 UTC
Read the original article Hit count: 218

Filed under:
|

I am running out of space in the /var partition. I have plenty of space in my /home partition. How do I shrink the /home partition to make more space for the /var partition?

I have read some blogs that say to use the GParted Live CD. As a new user, I'm not quite sure if this is the ideal route. What is the best way to create more space for /var ?

Output of df -h :

Filesystem      Size  Used Avail Use% Mounted on
/dev/sda2        19G  7.1G   11G  41% /
none            4.0K     0  4.0K   0% /sys/fs/cgroup
udev            7.9G  8.0K  7.9G   1% /dev
tmpfs           1.6G  1.5M  1.6G   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            7.9G  624K  7.9G   1% /run/shm
none            100M   60K  100M   1% /run/user
/dev/sda4       454M   75M  352M  18% /boot
/dev/sda5       2.3G  2.1G   36M  99% /var
/dev/sda3       178G  1.3G  168G   1% /home
/dev/sda6       2.8G  5.8M  2.6G   1% /tmp
/dev/sdb1       3.7T  401G  3.3T  11% /hdd

© Ask Ubuntu or respective owner

Related posts about partitioning

Related posts about gparted