[OpenAFS-devel] Weird problem - df increments/decrements usage for "/"

Kangesh Gunaseelan kangesh@real.com
Fri, 20 Apr 2001 17:28:38 -0700


--=====================_974366555==_.ALT
Content-Type: text/plain; charset="us-ascii"



Hi,

We have a weird problem that we are noticing on an AFS server installed on a
RH7.0 (kernel 2.2.16-22) where the total disk space reported by "/" increases
or decreases depending on whether a file is copied on to AFS volume partition
"/vicepb".  Below, I show what df reports when I copy and remove a file under a
volume called "testibm3" created on partition "/vicepb".  Both "/" and
"/vicepb" usage increases or decreases depending on whether I copy or remove.  
This problem does not occur on an AFS server that is installed on RH6.2.   
Has anybody seen this behavior on RH7.0?
Is this related to any misconfiguration or is this a known behavior?  
Any insight will be very helpful. Thanks.

----------------------------------------------------------------------------
-----------------
[root@ibm3 testibm3]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda1             888M  580M  262M  69% /
/dev/hda5              18G  293M   16G   2% /home
/dev/hdd1              18G   28k   17G   1% /vicepa
/dev/hdd5              18G   84k   17G   1% /vicepb
/dev/hdd6              18G   20k   17G   1% /vicepc
AFS                   8.6G     0  8.5G   0% /afs
[root@ibm3 testibm3]# cp /home/test/openafsbin.tar .
[root@ibm3 testibm3]# ls
openafsbin.tar
[root@ibm3 testibm3]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda1             888M  605M  238M  72% /
/dev/hda5              18G  293M   16G   2% /home
/dev/hdd1              18G   28k   17G   1% /vicepa
/dev/hdd5              18G   24M   17G   1% /vicepb
/dev/hdd6              18G   20k   17G   1% /vicepc
AFS                   8.6G     0  8.5G   0% /afs
[root@ibm3 testibm3]# cp /home/test/openafsbin.tar openafsbin.tar.bk
[root@ibm3 testibm3]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda1             888M  630M  213M  75% /
/dev/hda5              18G  293M   16G   2% /home
/dev/hdd1              18G   28k   17G   1% /vicepa
/dev/hdd5              18G   47M   17G   1% /vicepb
/dev/hdd6              18G   20k   17G   1% /vicepc
AFS                   8.6G     0  8.5G   0% /afs
[root@ibm3 testibm3]# rm openafsbin.tar.bk
rm: remove `openafsbin.tar.bk'? y
[root@ibm3 testibm3]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda1             888M  605M  238M  72% /
/dev/hda5              18G  293M   16G   2% /home
/dev/hdd1              18G   28k   17G   1% /vicepa
/dev/hdd5              18G   24M   17G   1% /vicepb
/dev/hdd6              18G   20k   17G   1% /vicepc
AFS                   8.6G     0  8.5G   0% /afs
----------------------------------------------------------------------------
-----------------

Thanks,
Kangesh


--=====================_974366555==_.ALT
Content-Type: text/html; charset="us-ascii"

<html>
<br>
<br>
Hi,<br>
<br>
We have a weird problem that we are noticing on an AFS server installed
on a RH7.0 (kernel 2.2.16-22) where the total disk space reported by
&quot;/&quot; increases or decreases depending on whether a file is
copied on to AFS volume partition &quot;/vicepb&quot;.&nbsp; Below, I
show what df reports when I copy and remove a file under a volume called
&quot;testibm3&quot; created on partition &quot;/vicepb&quot;.&nbsp; Both
&quot;/&quot; and &quot;/vicepb&quot; usage increases or decreases
depending on whether I copy or remove.&nbsp;&nbsp; This problem does not
occur on an AFS server that is installed on RH6.2.&nbsp;&nbsp; <br>
Has anybody seen this behavior on RH7.0?<br>
Is this related to any misconfiguration or is this a known
behavior?&nbsp; <br>
Any insight will be very helpful. Thanks.<br>
<br>
---------------------------------------------------------------------------------------------<br>
[root@ibm3 testibm3]# df -h<br>
Filesystem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Size&nbsp; Used Avail Use% Mounted on<br>
<b>/dev/hda1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
888M&nbsp; 580M&nbsp; 262M&nbsp; 69% /<br>
</b>/dev/hda5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
18G&nbsp; 293M&nbsp;&nbsp; 16G&nbsp;&nbsp; 2% /home<br>
/dev/hdd1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
18G&nbsp;&nbsp; 28k&nbsp;&nbsp; 17G&nbsp;&nbsp; 1% /vicepa<br>
<b>/dev/hdd5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
18G&nbsp;&nbsp; 84k&nbsp;&nbsp; 17G&nbsp;&nbsp; 1% /vicepb<br>
</b>/dev/hdd6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
18G&nbsp;&nbsp; 20k&nbsp;&nbsp; 17G&nbsp;&nbsp; 1% /vicepc<br>
AFS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
8.6G&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp; 8.5G&nbsp;&nbsp; 0% /afs<br>
[root@ibm3 testibm3]# <b>cp /home/test/openafsbin.tar .<br>
</b>[root@ibm3 testibm3]# ls<br>
openafsbin.tar<br>
[root@ibm3 testibm3]# df -h<br>
Filesystem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Size&nbsp; Used Avail Use% Mounted on<br>
<b>/dev/hda1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
888M&nbsp; 605M&nbsp; 238M&nbsp; 72% /<br>
</b>/dev/hda5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
18G&nbsp; 293M&nbsp;&nbsp; 16G&nbsp;&nbsp; 2% /home<br>
/dev/hdd1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
18G&nbsp;&nbsp; 28k&nbsp;&nbsp; 17G&nbsp;&nbsp; 1% /vicepa<br>
<b>/dev/hdd5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
18G&nbsp;&nbsp; 24M&nbsp;&nbsp; 17G&nbsp;&nbsp; 1% /vicepb<br>
</b>/dev/hdd6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
18G&nbsp;&nbsp; 20k&nbsp;&nbsp; 17G&nbsp;&nbsp; 1% /vicepc<br>
AFS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
8.6G&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp; 8.5G&nbsp;&nbsp; 0% /afs<br>
[root@ibm3 testibm3]# <b>cp /home/test/openafsbin.tar
openafsbin.tar.bk<br>
</b>[root@ibm3 testibm3]# df -h<br>
Filesystem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Size&nbsp; Used Avail Use% Mounted on<br>
<b>/dev/hda1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
888M&nbsp; 630M&nbsp; 213M&nbsp; 75% /<br>
</b>/dev/hda5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
18G&nbsp; 293M&nbsp;&nbsp; 16G&nbsp;&nbsp; 2% /home<br>
/dev/hdd1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
18G&nbsp;&nbsp; 28k&nbsp;&nbsp; 17G&nbsp;&nbsp; 1% /vicepa<br>
<b>/dev/hdd5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
18G&nbsp;&nbsp; 47M&nbsp;&nbsp; 17G&nbsp;&nbsp; 1% /vicepb<br>
</b>/dev/hdd6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
18G&nbsp;&nbsp; 20k&nbsp;&nbsp; 17G&nbsp;&nbsp; 1% /vicepc<br>
AFS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
8.6G&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp; 8.5G&nbsp;&nbsp; 0% /afs<br>
[root@ibm3 testibm3]# <b>rm openafsbin.tar.bk<br>
</b>rm: remove `openafsbin.tar.bk'? y<br>
[root@ibm3 testibm3]# df -h<br>
Filesystem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Size&nbsp; Used Avail Use% Mounted on<br>
<b>/dev/hda1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
888M&nbsp; 605M&nbsp; 238M&nbsp; 72% /<br>
</b>/dev/hda5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
18G&nbsp; 293M&nbsp;&nbsp; 16G&nbsp;&nbsp; 2% /home<br>
/dev/hdd1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
18G&nbsp;&nbsp; 28k&nbsp;&nbsp; 17G&nbsp;&nbsp; 1% /vicepa<br>
<b>/dev/hdd5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
18G&nbsp;&nbsp; 24M&nbsp;&nbsp; 17G&nbsp;&nbsp; 1% /vicepb<br>
</b>/dev/hdd6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
18G&nbsp;&nbsp; 20k&nbsp;&nbsp; 17G&nbsp;&nbsp; 1% /vicepc<br>
AFS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
8.6G&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp; 8.5G&nbsp;&nbsp; 0% /afs<br>
---------------------------------------------------------------------------------------------<br>
<br>
Thanks,<br>
Kangesh<br>
<br>
</html>

--=====================_974366555==_.ALT--