Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Disk usage not 0% after partitioning and mkfsing
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
stieizc
n00b
n00b


Joined: 03 Oct 2012
Posts: 29
Location: China, Earth

PostPosted: Wed Oct 24, 2012 4:47 am    Post subject: Disk usage not 0% after partitioning and mkfsing Reply with quote

df says that my newly partitioned /dev/sda7 has already benn used 6G .
I'm confused. I'm just on the stage "Prepare your disk".
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1945
Location: Zurich, Switzerland

PostPosted: Wed Oct 24, 2012 6:40 am    Post subject: Reply with quote

I assume you formatted it with ext3 or ext4. in that case the those 6G are the journal.

The other reason for not showing the full free space, is the reserve disk space with is by default 5%. but this is only visible indirectly, and the used, free and total space numbers do not add up.

V.
_________________
read the portage output!
If my answer is too concise, ask for an explanation.
Back to top
View user's profile Send private message
stieizc
n00b
n00b


Joined: 03 Oct 2012
Posts: 29
Location: China, Earth

PostPosted: Wed Oct 24, 2012 6:43 am    Post subject: Reply with quote

Thank you! It is ext.
Wow, so many journals
Back to top
View user's profile Send private message
aCOSwt
Bodhisattva
Bodhisattva


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Wed Oct 24, 2012 7:06 am    Post subject: Reply with quote

The dumpe2fs -h utility can tell you the space reserved for misc things.
As Veldrin already wrote, space for the journal and the space reserved for admin are the two most important.
But you also get space for inodes, superblocks, badblocks etc...

Of course all these are tunable. And you surely want to tune this if you are using SSDs and want to make more with your money. (See mke2fs)
_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum