Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
du and df not making sense
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
cristi1979
Tux's lil' helper
Tux's lil' helper


Joined: 10 Nov 2003
Posts: 149

PostPosted: Tue Jan 20, 2004 1:39 am    Post subject: du and df not making sense Reply with quote

This is my output for du -sh /home:
>>bash-2.05b# du -sh /home
>>82M /home

But df /home shows:
>>bash-2.05b# df /home
>>Filesystem 1K-blocks Used Available Use% Mounted on
>>/dev/hdb6 980308 599340 331172 65% /home

I dont thnik i have to many files in home, but i want to know how I can change the nr. of inodes, maybe this is the problem...
And i don't want to reformat.
Back to top
View user's profile Send private message
cristi1979
Tux's lil' helper
Tux's lil' helper


Joined: 10 Nov 2003
Posts: 149

PostPosted: Tue Jan 20, 2004 1:42 am    Post subject: Reply with quote

nevermind...
man mkfs:
...
Be warned that is not possible to expand the number of inodes on a filesystem after it is created, so be careful deciding the correct value for this parameter.

:(
life sucks...
But my problem remains: why du and df are different?
Back to top
View user's profile Send private message
cristi1979
Tux's lil' helper
Tux's lil' helper


Joined: 10 Nov 2003
Posts: 149

PostPosted: Tue Jan 20, 2004 1:46 am    Post subject: Reply with quote

i moved everything from home, but:

>>bash-2.05b# du -sh /home/
>>4.0K /home
>>bash-2.05b# df /home/
>>Filesystem 1K-blocks Used Available Use% Mounted on
>>/dev/hdb6 980308 524236 406276 57% /home
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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