Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
122
rated 0 times [  122] [ 0]  / answers: 1 / hits: 48737  / 2 Years ago, thu, february 24, 2022, 10:06:48

As the output of df -h shows here, something is eating up 5GB of free space. So, it's not available to use.



I'm also noticing sometimes that the hard disk gets filled up to 100% sometimes. So, I had to restart the machine or delete some unncessary files. Only noticed these in /home partition. Don't know whether these two are related, but appreciate if anyone can put some insight into this.



$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda8 100G 92G 2.7G 98% /home

More From » disk-usage

 Answers
5

By default, ext2/3/4 filesystems reserve 5% of the space to be useable only by root. This is to avoid a normal user completely filling the disk which would then cause system components to fail whenever they next needed to write to the disk.



You can see the number of reserved blocks (and lots of other information about the filesystem) by doing:



sudo tune2fs -l /dev/sda8


For a /home partition, it is probably safe to set the reserved fraction to zero:



sudo tune2fs -m 0 /dev/sda8


Which should make an additional ~5GB available.


[#32929] Thursday, February 24, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
oileweaty

Total Points: 337
Total Questions: 108
Total Answers: 105

Location: Western Sahara
Member since Mon, May 3, 2021
3 Years ago
oileweaty questions
Thu, Jul 1, 21, 01:57, 3 Years ago
Wed, Nov 24, 21, 11:48, 2 Years ago
Sat, May 14, 22, 00:50, 2 Years ago
;