xfs
[Top] [All Lists]

Re: strange output from df

To: Christian Gottschalch <gottschalch@xxxxxxx>
Subject: Re: strange output from df
From: Seth Mos <knuffie@xxxxxxxxx>
Date: Thu, 5 Jul 2001 07:36:46 +0200 (CEST)
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <200107050126.f651QKV03918@oss.sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
On Wed, 4 Jul 2001, Christian Gottschalch wrote:

> i've run some checks on xfs:
> two x1 do the work over a mounted nfs Volume simultaneously
> creation test: 10000 fiels in 10000 Directorys
> copy these files to another directory
> move all to anotehr Directory
> delete all
> do it again
> Summary Datavolume ~ 40GB
> 
> using an 2.4.5 kernel with xfsprogs-1.2.7.src.tar.gz and xfs patches:
> 
> patch-xfs-1.0.1-only
> patch-2.4.5-bdev-ioctl
> patch-2.4.5-xfs-1.0.1-core
> 
> so far, it works fine, now i stoped the scripts,
> deleted all manually from the working dirs, and now
> i got this output from "df"
> 
> xfs Volume is mounted to /vol/xfs
> filer3:/vol # df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/sda5             502M   81M  421M  16% /
> /dev/sda7             502M  384M  118M  77% /usr
> /dev/sda9             502M   50M  452M  10% /var
> /dev/sda2             102M   38M   64M  37% /boot
> /dev/sda11            5.3G  217M  5.0G   4% /daten
> /dev/sdb2              86G  108M   85G   1% /vol/xfs
> shmfs                 305M     0  304M   0% /dev/shm
> filer3:/vol # cd xfs/ 
> filer3:/vol/xfs > du -sh
> 8.0k    .
> filer3:/vol/xfs >
> 
> same result after a reboot, whats wrong ? 

Nothing is wrong. XFS allocates indoes when needed, once used you don't
get the space back. On the other hand with ext2 you allocate the same
amount of space when you format the partion

Cheer
Seth


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