> -----Original Message----- > From: [email protected] [mailto:rhelv5-list- > [email protected]] On Behalf Of Colin Coe > Sent: 04 November 2010 12:34 > To: Red Hat Enterprise Linux 5 (Tikanga) discussion mailing-list > Subject: Re: [rhelv5-list] df is inaccurate > > That should have been dumpe2fs /dev/blah | grep .... > > On Thu, Nov 4, 2010 at 8:33 PM, Colin Coe <[email protected]> wrote: > > df is not inaccurate. It is reporting what the kernel/filesystem tells > it. > > > > dumpe2fs | grep "Reserverd block count" > > > > By default, 5% of the filesystem is reserved for root. > > > > CC > >
Thanks for the responses, however .... # df -klP /var Filesystem 1024-blocks Used Available Capacity Mounted on /dev/mapper/VolGroup00-LogVol03 18095332 5268424 11896424 31% /var # bc bc 1.06 Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc. This is free software with ABSOLUTELY NO WARRANTY. For details type `warranty'. 18095332 - 5268424 12826908 12826908 - 11896424 930484 So df is 930484KB out. Right lets see if that's due to reserved blocks: # dumpe2fs /dev/mapper/VolGroup00-LogVol03 | grep -e "Reserved block count" -e "Block size" dumpe2fs 1.39 (29-May-2006) Reserved block count: 232621 Block size: 4096 232621 blocks at 4KB each = 952815616KB, or 908GB!! Obviously I'm miscalculating here, what am I doing wrong ? Cheers Nick . __________ Information from ESET NOD32 Antivirus, version of virus signature database 5590 (20101104) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com _______________________________________________ rhelv5-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv5-list
