[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: File system overhead



 
Mike

The explanation for Debian is the file system reserves some space (5% by
default) for root's use in case the partition gets filled. If your
partitions were formatted using mkfs then you can man mkfs and look at the
-m option. It will give a very brief explanation of what is happening

Tony Heal
Pace Systems Group, Inc.
800-624-5999
theal@pace2020.com

-----Original Message-----
From: Mike McCarty [mailto:mike.mccarty@sbcglobal.net] 
Sent: Friday, January 20, 2006 12:16 PM
To: debian-user@lists.debian.org
Subject: Re: File system overhead

Lubos Vrbka wrote:
>>  If you look at the output of df -h you will see that the size of the
>> partition is 219GB there is only 168MB in this partition yet there is 
>> only
>> 208GB left. This is a new server and that partition has only had things
>> added to it, nothing has ever been removed.
>>
>> By my calculations there should be 218.8GB left, so if not the rest 
>> must be
>> filesystem overhead. 5 percent seems to be a bit much, but as long as 
>> I can
>> explain it I may be able to live with this. That is why I want a link 
>> to a
>> site that could explain the overhead of the ext3 filesystem.
> 
> did you execute the df command as root? if not, it might report less 
> free space. there is a reserved space (5% is default for ext2/3, iirc, 
> however you can set it up differently) that is available only for 
> root... and since you report 5% in your case...
> 
> regards,
> 


IMPORTANT NOTE: I DON'T RUN DEBIAN!
(My girlfriend runs Debian, so I hang out here to be
able to help support her machine. I run Fedora Core 2.)

I have *less* available as root than as ordinary user...

$ df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda5              7633264   5717832   1527684  79% /
/dev/hda3                99075     24602     69358  27% /boot
none                    124044         0    124044   0% /dev/shm
$ su -
Password:
# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda5              7633264   5717836   1527680  79% /
/dev/hda3                99075     24602     69358  27% /boot
none                    124044         0    124044   0% /dev/shm

But certainly not anything like 5%. And my numbers also
don't quite add up.

Mike
-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!


-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org



Reply to: