[SunHELP] "df -k" & "du -ds /" difference
bakis
sunhelp at sunhelp.org
Mon Apr 2 03:35:48 CDT 2001
This is a multi-part message in MIME format.
------=_NextPart_000_0148_01C0BB69.108C6350
Content-Type: text/plain;
charset="iso-8859-9"
Content-Transfer-Encoding: quoted-printable
Hi all=20
Today we have faced a starange thing. There is a controversy between "df =
-k" and "du -ds /"=20
When we look the "/" usage by=20
"df -k" it is below
# df -k=20
Filesystem kbytes used avail capacity Mounted on=20
/dev/md/dsk/d0 4860130 4512480 299049 94% /=20
but we use "du -ds /" it give following=20
# du -ds /=20
2535030=20
There is a great difference btw 4512480 and 2535030. We couldn't =
understand the reason for this.
Do you have any idea?
Thanks=20
------=_NextPart_000_0148_01C0BB69.108C6350
Content-Type: text/html;
charset="iso-8859-9"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-9">
<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi all </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Today we have faced a starange thing. =
There is a=20
controversy between "df -k" and "du -ds /" </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>When</FONT> <FONT face=3DArial =
size=3D2>we look=20
the "/" usage by </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>"df -k" it is below</FONT></DIV>
<DIV><FONT size=3D2>
<P># df -k </P>
<P>Filesystem kbytes used avail capacity Mounted on </P>
<P>/dev/md/dsk/d0 4860130 4512480 299049 94% / </P>
<P>but we use <FONT face=3DArial>"du -ds /" it give following=20
</FONT></P><FONT size=3D2>
<P># du -ds / </P>
<P>2535030 </P>
<P><FONT face=3DArial>There is a great difference btw </FONT><FONT =
face=3D"Times New Roman">4512480 and 2535030. We couldn't understand the =
reason=20
for this.</FONT></P>
<P>Do you have any idea?</P>
<P>Thanks </P>
<P><FONT =
face=3DArial></FONT> </P></FONT></FONT></DIV></BODY></HTML>
------=_NextPart_000_0148_01C0BB69.108C6350--
More information about the SunHELP
mailing list