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

Re: space usage misreported?




On 12 Dec 2001 at 2:02, ben wrote:

> On Tuesday 11 December 2001 11:26 pm, Adrian Bolzan wrote:
> [snip]
> > When using 'df -h' we receive the following:
> >
> > Filesystem            Size  Used Avail Use% Mounted on
> > /dev/sda1             1.4G  757M  577M  57% /
> > /dev/sda5             1.8G  1.7G  104M  95% /var
> > /dev/sda6             610M  8.7M  570M   2% /usr/local
> >
> > but 'du -hs /var' gives:
> > 88M     /var
> >
> > where did the other 1.6GB go?
> >
> 
> you mean 16M, right?

I don't think so.  
/dev/sda5 (/var) = 1.8G total
Used (from df) = 1.7G

du reports /var = 88M (approx. 0.1G)

Hence Used space not reported = 1.7G -0.1 G = 1.69G (but I rounded 
inaccurately down to 1.6G).

is my maths not correct?

cheers,

adrian

___________________________________________
Dr Adrian Bolzan
Systems Administrator
The Australian Outback Travel Group
Level 8, 420 St. Kilda Road
Melbourne, Victoria 3004, AUSTRALIA
Tel: +61 3 98677233
Fax: +61 3 98677244

Winner - 1999 Australian Export Awards
Winner - 1999 Governor of Victoria Export Awards
===========================================



Reply to: