Any chance you can give us a reproducible way (from mkfs) to demonstrate
the problem?
You could be seeing some effects of preallocated space being freed (esp.
as the fs fills up), other than that I'm not certain yet.
-Eric
On Thu, 2004-01-08 at 14:49, Jarrod Johnson wrote:
> 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.
--
Eric Sandeen [C]XFS for Linux http://oss.sgi.com/projects/xfs
sandeen@xxxxxxx SGI, Inc. 651-683-3102
|