Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f5OEbeb02059 for linux-xfs-outgoing; Sun, 24 Jun 2001 07:37:40 -0700 Received: from pneumatic-tube.sgi.com (pneumatic-tube.sgi.com [204.94.214.22]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f5OEbdV02054 for ; Sun, 24 Jun 2001 07:37:39 -0700 Received: from zeus-fddi.americas.sgi.com (zeus-fddi.americas.sgi.com [128.162.8.103]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id HAA04091 for ; Sun, 24 Jun 2001 07:34:47 -0700 (PDT) mail_from (lord@sgi.com) Received: from daisy-e185.americas.sgi.com (daisy.americas.sgi.com [128.162.185.214]) by zeus-fddi.americas.sgi.com (8.9.3/americas-smart-nospam1.1) with ESMTP id JAA2224123; Sun, 24 Jun 2001 09:36:21 -0500 (CDT) Received: from jen.americas.sgi.com (IDENT:root@jen.americas.sgi.com [128.162.187.49]) by daisy-e185.americas.sgi.com (SGI-8.9.3/SGI-server-1.7) with ESMTP id JAA94597; Sun, 24 Jun 2001 09:36:21 -0500 (CDT) Received: from jen.americas.sgi.com by jen.americas.sgi.com (8.11.2/SGI-client-1.7) via ESMTP id f5OEctO11543; Sun, 24 Jun 2001 09:38:55 -0500 Message-Id: <200106241438.f5OEctO11543@jen.americas.sgi.com> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: oe.hansen@gamma.telenordia.se cc: Seth Mos , linux-xfs@oss.sgi.com Subject: Re: Filesystem sizes In-Reply-To: Message from "Orn E. Hansen" of "Sun, 24 Jun 2001 16:32:48 +0200." <01062416324802.01212@citadel.oehansen.pp.se> Content-Transfer-Encoding: 8bit Date: Sun, 24 Jun 2001 09:38:55 -0500 From: Steve Lord Sender: owner-linux-xfs@oss.sgi.com Precedence: bulk > sunnudagur 24. jznm 2001 16:08, ~z skrifapir: > > > > What size does du report when using it on that dir. > > > > Cheers > > Seth > > The files inside the directories, have the same sizes in both cases... I took > > a peek at some of the directories. An example, is a file inside the > graphics9help/en/paint9_linux/default directory, which is 3150 bytes in size, > > occupying 5k in ext2, but occupying 64k in xfs. The > graphics9help/en/paint9_linux/filter80 contains 62 files, occupies 198k in > ext2. But occupies 3972k (62*64=3968) in xfs. > How did you copy the files into XFS, are you using NFS? and which kernel version are you using? I just did some quick checks and I am not seeing similar behavior. It appears that space preallocated into files on your system is not getting freed when the file closes. XFS presumes you are going to keep writing to a file, so tends to overallocate, but the extra space is supposed to be removed at close time. Also, if you unmount the filesystem, and remount it does the size increase persist? Thanks Steve