Skip to main content
The 2024 Developer Survey results are live! See the results

New answers tagged

0 votes

Linux disk space running full

/var is taking 8.7G. Check out /var/logs. You can use such tools as baobab to quickly grasp what is taking too much space. My guess is that systemd writes logs too often. Try the following: sudo ...
Peter S.'s user avatar
3 votes

Linux disk space running full

I think the most obvious issue for why we can only see 18GB used in du of 28GB used in df is in the du image. If you look carefully at the top, you will see the bottom half of the start of something ...
David G.'s user avatar
  • 151
3 votes

Linux disk space running full

Sometime, it`s some files was deleted, but the process still open the file, run this command maybe find out the process lsof | grep deleted And then kill it kill -9 $pid This is detailed ...
庞发恒's user avatar
2 votes

Linux disk space running full

You appear to have lost 10G. You might try forcing a fsck on the disk. Many modern distributions disable it completely on journaled filesystems, but I personally have seen too much corruption even ...
David G.'s user avatar
  • 151
4 votes

Linux disk space running full

Step 1, see what du can find in the active filesystem: du -xm / | sort -n | tail -40 Run du on the problem filesystem (/), Use -x to limit the exam to that filesystem Use -m to make sorting simpler (...
BowlOfRed's user avatar
  • 256
3 votes

Linux disk space running full

Whenever this happens to me, I do a manual recursion something like: du -hs /* > /du.out Then when it is apparent that the bloat is from (let's say:) /var, I repeat the process: du -hs /var/* > ...
ericx's user avatar
  • 476
5 votes
Accepted

Linux disk space running full

It would have been helpful if you had provided the actual commands which gave these results (appears to be df & du). It looks as if there is 18G used in /. That's bad. You should NEVER add files ...
symcbean's user avatar
  • 23.1k
12 votes

Linux disk space running full

Use something like ncdu to visualize your disk space usage. There’s other similar tools as well, but this one runs w/out UI, and runs great! https://dev.yorhel.nl/ncdu
BaronSamedi1958's user avatar
1 vote
Accepted

Can I remove /var/lib/docker/aufs?

The aufs driver was deprecated by Docker. If you run docker info, you should see overlay2 listed as the storage driver. Assuming you see overlay2 in docker info, unless you know there's data in there ...
BMitch's user avatar
  • 6,429

Top 50 recent answers are included