I am not sure what the proper section this issue falls under so I decided this would be a safe bet.
Anyways - my server is having a problem which is due to my poor planning / partitioning. I am to blame here however I want to know if there is a simple solution to fixing this problem or what would you do.
This server running CENTOS 4.4 was unable to update / upgrade do to the simple fact that I have ran completely out of room on /usr & /var. Those are very critical directories to have low on disk space and I am freaking out now.
Here is how the disk looks.
Code:
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 388M 219M 149M 60% /
/dev/sda1 244M 23M 209M 10% /boot
none 506M 0 506M 0% /dev/shm
/dev/sda5 2.0G 36M 1.9G 2% /home
/dev/sda6 1012M 691M 270M 72% /usr
/dev/sda7 487M 392M 70M 85% /var
/dev/sda8 909G 56G 807G 7% /data
I was wondering if I could rob like 20 or 40 GB from /data (/dev/sdb8) and move or add it to /var & /usr?
If anyone knows a simple or logical way of resolving this error, please let me know. My Linux skills are average so if you have complex or detailed suggestions, please bare with me on how to execute them properly.
Thanks!