Page 1 of 1

Root drive full - what next?

Posted: Thu Mar 22, 2018 4:23 pm
by Ianb
Hello

After running Amahi 6 for a number of years, the machine died. I built a new server and installed Amahi 10 on Fedora 25, deciding to use Greyhole rather than RAID.

I moved the landing zone for some of the shares to one of the large storage drives, but didn't get around to moving them all. Lo and behold SWMBO decided to put large quantities of data into one of the other shares, and now I have an unresponsive machine.

The dashboard displays the "The dashboard has encountered an exception" page, and logging in using PuTTy, df -h gives:

# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 1.9G 0 1.9G 0% /dev
tmpfs 1.9G 0 1.9G 0% /dev/shm
tmpfs 1.9G 57M 1.9G 3% /run
tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
/dev/sdc3 34G 34G 20K 100% /
/dev/sdc1 976M 88M 822M 10% /boot
tmpfs 1.9G 48K 1.9G 1% /tmp
/dev/sda1 2.7T 933G 1.7T 36% /var/hda/files/drives/WD2
/dev/sdc5 17G 49M 17G 1% /home
/dev/sdb1 2.7T 1.4T 1.3T 52% /var/hda/files/drives/WD1
none 4.0M 0 4.0M 0% /var/spool/greyhole/mem
tmpfs 383M 0 383M 0% /run/user/1000

The root drive is totally full.

The question is how do I find what has filled it and remove it? I am a totally inexperienced Linux user.

Any help or suggestions gratefully received.

Regards

Ian

Re: Root drive full - what next?

Posted: Sun Mar 25, 2018 8:23 am
by bigfoot65
The question is how do I find what has filled it and remove it?
You will have to access the HDA via command line and remove files.

If you can SSH into the box, you can then go to shares with large files and remove them.

There is plethora of tutorials on the internet on command line usage and removing files.