Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

This question already has an answer here:

I wanted to try out the new GPT system, and used it to partition my new HDD, with the partitions themselves using ext4. For some reason, about 1-2% of the space in each partition is already shown as used, both in df and gparted. Currently the only content of the partitions is the lost+found folder which occupies all of 16K.

Is there a reason for this? Can this be fixed? Or is this just the space used by the file table (or equivalent)?

Edit: Is this more related ext4 than GPT? I found this just now, ext4: How to account for the filesystem space?

share|improve this question

marked as duplicate by Gilles, Karthik T, Renan, uther, jasonwryan Feb 21 '13 at 3:42

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Perhaps tune2fs is what you're looking for, especially the -m flag. –  schaiba Feb 20 '13 at 13:51
or of unix.stackexchange.com/questions/13547/… –  Gilles Feb 21 '13 at 0:38

1 Answer 1

up vote 2 down vote accepted

1-5% is reserved for root and as overhead for the filesystem. It is NORMAL. This is done is to leave root that 1-5% so if the users on the machine fill the disk up, critical system processes and the root user still have a small chunk to play with. As jordanm pointed out, the reserved space is also used to reduce filesystem fragmentation.

You can use tune2fs -m 1.0 /dev/sda2 to lower the default 5% to 1%. Please note that it is not recommended to use -m 0 but still can be done.

share|improve this answer
I think you are mixing up things. The reserved space is proper disk space reserved to the UID 0, whereas the file system structures are meta-data and not normally shown. –  0xC0000022L Feb 20 '13 at 14:30
Was in the process of editing my answer, thanks though. –  h3rrmiller Feb 20 '13 at 14:32
The reserved space is also used to reduce fragmentation. –  jordanm Feb 20 '13 at 14:33
Thanks, that makes sense –  Karthik T Feb 21 '13 at 1:15

Not the answer you're looking for? Browse other questions tagged or ask your own question.