filessystem full

New to Debian (Or Linux in general)? Ask your questions here!

filessystem full

Postby ltoso » 2019-02-02 23:19

Hi,
I have an office file server based on Debian and today when I login it was giving lot of errors when I checked that filesystem is full
Now this server has three hard disks
one for system files and other two for file storage,
the ones for file storage have lot of space available but one that has system files doesn't have any space
I tried to run the following command to know the top directories by disk usage

du -ah / | sort -r -n | head -n 5
but the filesystem doesn't even have enough space to run this command, as it comes back saying not enough space in /tmp

now the hard disk that has system files has 148 GB of space which is now showing as full
Please help
ltoso
 
Posts: 7
Joined: 2010-03-24 04:39

Re: filessystem full

Postby Bulkley » 2019-02-03 00:00

I may be way off base here but for a stab in the dark: Regular use of Apt can fill up its storage. To clear it do
Code: Select all
apt-get clean
Bulkley
 
Posts: 5826
Joined: 2006-02-11 18:35

Re: filessystem full

Postby GarryRicketson » 2019-02-03 01:29

It might not matter much in this case, but still it would be nice to clarify this:
I have an office file server based on Debian

There are many distros "based on" Debian, but they are not the same as Debian, what exactly is the OS, distro ?
Code: Select all
uname -a
Will give more details , if you don't know.
And show us some real output, I think the output of 'df' might be usefull, can you run that ?
User avatar
GarryRicketson
 
Posts: 5877
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: filessystem full

Postby ltoso » 2019-02-03 01:56

Thanx for so prompt reply guys, I found the solution,
Actually what happened that the two data hard disks were running an Rysnc on cron every hour and the last time I rebooted the machine the 2nd hard disk didn't mount (still need to check why)

But then all the data on 1st data disk got rsync to the mount folder on the system disc which got it filled.
ltoso
 
Posts: 7
Joined: 2010-03-24 04:39


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 14 guests

fashionable