Hmm, maybe you have some reserved blocks which are not showing up in df?
I have not checked this though...

 

________________________________

From: [email protected]
[mailto:[email protected]] On Behalf Of Nick Lunt
Sent: Thursday, November 04, 2010 12:57 PM
To: Red Hat Enterprise Linux 5 (Tikanga) discussion mailing-list
Subject: [rhelv5-list] df is inaccurate

 

Hi folks

every now and then I seem to get a flurry of users asking me "why is
'df' inaccurate?".

I've never really understood why though, so anyone know ?

Eg:

$ df -klP /

Filesystem                1024-blocks      Used      Available
Capacity Mounted on

/dev/mapper/VG00-LVol00   4031680          2204200   1622680      58%
/

$ 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'.

4031680 - 2204200

1827480

So either df is wrong, I'm blind, or bc can't do take aways ;)

Anyone know why df is wildly inaccurate ?

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

Reply via email to