You are not logged in.
Hello dear Arch users!
Got some strange behavior here: after upgrade there is no space on /dev/sda1 mounted as /. I've deleted the files for over 150MB but df -h still says: available space - 0.
I guess I've got some wrong update path. Help please.
Last edited by marko90 (2013-02-18 20:30:10)
Offline
No - this is actually "normal". The system (i.e. root) reserves 10% of the disk space for filesystem optimization. (The 10% can be changed.) This space is not available to you as a regular user, so df reports what is available to you at the time. This is actually a nice feature - if the system goes over the regular space allocation, at least it doesn't hose everything, at least right away.
So an illustration:
100 GB disk, so after you format it with default parameters, 90 GB will be available. The system can put, for example, 95 GB of stuff on it, but df reports against the 90 GB allocation, so until you get below 90 GB, df will report 100% full.
Edit: seems that 5% is standard now. I'm showing my age ...
Last edited by mike_r (2013-02-18 17:22:34)
Linux User #353 - SLS -> Slackware -> Red Hat -> Mandrake -> Fedora -> Arch
Offline
ncdu is a nice tool to spot space hoggers. My guess is the pacman cache ![]()
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline
And you are definitely right - I've cleared the pacman cach and got 1.4G of free space reported by df.
Thanks a lot!
Offline
Might be a good idea to keep at least the last version but one on your system in case of breakages - there are a number of solutions in the AUR for this recurring problem or you could write something which suits your setup. Whatever, could you mark this as solved?
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline