The partitions that contains the ext3 and ext4 filesystems reserve the 5% of the total size of the filesystm by default. The idea here is even when you run out of disk space, the root user should still be able to log in and system services should still run. Without this option, the root user could be not able to acces and “clean up” since the system may become unstable, trying to log to in a filesytem full at 100%, for example. The other reason is to help the general optimization with less fragmentation of the filesystem.
This policy may have been appropriate in the 90s when hard disk capacities were relatively low but now one can get easily a 1TB hard drive. So 5% of that is about 50GB and those system services need only a couple of hundred megabytes.
So my suggestion is to move this value to 1% for the /home filesystem and lower also the value for the others filesystems, on a desktop systems perhaps you can have 1% on every file system without many problems.
To do this just connect as root into a terminal and give the command:
tune2fs -m 1 /dev/sdXX
Where /dev/sdXX it’s the partition you want to tune, you can see which are your partitions with the command
To verify the correctness of the command or the current state you can use the command:
sudo tune2fs -l /dev/sdXX
And check the value of “reserved blocks”.
- Linux Security: How to hide processes from other users
- Productivity boosting with open source applications
- 8 Simple To Follow Tips To Secure Your Apache Web Server
- The Humble “Open Source” Bundle
- Linux Games: FTL Advanced Edition expansion
Find me on Google+