ext Filesystems and the Missing 5%

1 minute read

First why all the fuss about 5%? Because 5% of 2TB = 100GB.

When formatting a partition under Linux 5% of the capacity is automatically reserved for use by the system in case you run out of space and the operating system needs to write to log files, or preform privileged tasks. However if you’re creating this new partition as your home partition or you just want an additional data drive it doesn’t make sense to discard 5% of the space before you start using it, however there is an option to reclaim that space.

$ sudo tune2fs -m 0 /dev/sdb1 # <-- your partition may vary!

-m Sets the percentage to be used by the system, so you can set it to whatever you want.

I usually end up forgetting this command and have to look it up so this blog is as much a reminder to myself as anything else.

Leave a Comment