xfs
[Top] [All Lists]

Strange df output

To: linux-xfs@xxxxxxxxxxx
Subject: Strange df output
From: Jarrod Johnson <jbj-ksylph@xxxxxxxxxxxxxxxx>
Date: Thu, 8 Jan 2004 15:49:40 -0500
Sender: linux-xfs-bounce@xxxxxxxxxxx
I'm running xfs on a software raid5 array, the kernel version is:
SGI XFS snapshot-2.4.23-2003-12-01_00:33_UTC with ACLs, no debug enabled

And here is a taste of what I'm seeing:
df -k .:
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/md0             360138240 356276448   3861792  99% /storage
dd if=/dev/zero of=tst bs=1000000 count=300
df -k .: 
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/md0             360138240 356327136   3811104  99% /storage
rm -f tst:
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/md0             360138240 355983080   4155160  99% /storage

So I had some space free, making a 300,000,000 byte file only consumed about 
5,000k, and then deleting it freed up more space than I had to start with?

This is consistantly occuring.  A week or so back, it inexplicably went from 
~2GB free to full instantaneously.  I didn't believe the person was keeping 
good track of it and just filled it up, so I did this a few times and if this 
is happening, I now believe that what the person said is true.

Why is the free space not decreasing on creation of new files, yet increasing 
on deletion?

Please CC me as I'm not subscribed.


<Prev in Thread] Current Thread [Next in Thread>