<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.10.3">
</HEAD>
<BODY>
So, I'm mirroring Dapper and Edgy on a local drive.  I'm mid-way through the procedure and I want to see how it's going.  I go to the root of the repository -- the only thing on this disk -- and I get this report from du:<BR>
<BR>
22G     pool/main<BR>
2.8G    pool/multiverse<BR>
591M    pool/restricted<BR>
9.2G    pool/universe<BR>
35G     total<BR>
<BR>
Being who I am, I also run df and get this:<BR>
<BR>
Filesystem             Size   Used  Avail Use% Mounted on<BR>
/dev/sda1               79G    38G    38G  50% /media/Repository80GB<BR>
<BR>
Now I cannot for the life of me make the numbers add up.  Absolutely the only thing on the disk is this (partial) mirror.  Yet "du" reports that only 35GB is used up while df reports that 38GB is used up.  Now perhaps I can see slack space making up the difference (although almost 10% slack space is pretty odd for such large files).  But the numbers inside df's report themselves don't add up.  79GB size minus 38GB used doesn't add up to 38GB available in any arithmetic form I'm used to using.  Indeed there seems to be <B>another</B> 3GB gone missing there.<BR>
<BR>
In case there's some kind of "quota only for root" thing going on (I know I can do this in other operating systems so I assume that even UNIXen can do it), I su -i and try again.  Same numbers all around.<BR>
<BR>
So why do "du" and "df" report different amounts used?  And why do the numbers reported by "df" not add up?  (And why does System Monitor->Devices report for that drive a size of 73.4GB instead of 79 but reports the same amount used as "df"?)  Is this a case of the man with two watches never knowing what time it is?<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
-- <BR>
<B>Michael T. Richter</B><BR>
<I><FONT SIZE="2">Email:</FONT></I><FONT SIZE="2"> ttmrichter@gmail.com, mtr1966@hotpop.com</FONT><BR>
<I><FONT SIZE="2">MSN:</FONT></I><FONT SIZE="2"> ttmrichter@hotmail.com, mtr1966@hotmail.com; </FONT><I><FONT SIZE="2">YIM:</FONT></I><FONT SIZE="2"> michael_richter_1966; </FONT><I><FONT SIZE="2">AIM:</FONT></I><FONT SIZE="2"> YanJiahua1966; </FONT><I><FONT SIZE="2">ICQ:</FONT></I><FONT SIZE="2"> 241960658; </FONT><I><FONT SIZE="2">Jabber:</FONT></I><FONT SIZE="2"> mtr1966@jabber.cn</FONT><BR>
<BR>
<I><FONT SIZE="1">"My paramount object in this struggle is to save the Union, and is not either to save or to destroy slavery."</FONT></I><FONT SIZE="1"> </FONT><B><FONT SIZE="1">--Abraham Lincoln</FONT></B>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>