xfs
[Top] [All Lists]

Growing block size??

To: linux-xfs@xxxxxxxxxxx
Subject: Growing block size??
From: fermin@xxxxxxxxxx (Fermin Molina)
Date: Tue, 22 May 2001 14:07:35 +0200 (MET DST)
Sender: owner-linux-xfs@xxxxxxxxxxx
Hi,

I've been experimenting a strange behaviour of XFS+NFS in my system. I
don't know if this is normal.

Server machine: NFS with homes shared (/users). Filesystem is XFS.
Quota is assigned for each user.

Client machine: mount that shared directory (/users). Also has NIS for
UID,GID mapping.

On the client machine and as a normal user, I gunzip+untar a .tgz with
many subdirectories and small files (as a kernel .tgz).

The quota grows very fast when I'm "tar zxvf" the file.
Then, on the server I get:

# ls -l testsuite.in

-rw-r--r--      1  user1        users   182853  Feb 25 19:06  testsuite.in

# du -k testsuite.in

256     testsuite.in


It's like block size were increased to 128 Kb. In some files, for a file
of 10 Kb, du -k reports 64. Instead, in other files, I can deduce they
only use 4 Kb (the normal block size for a XFS filesystem, I think).

I know that command "du -k" sometimes reports erroneous information, but
the problem is that this is reflected in the user quota, and the user
runs out of quota...

I've been using a XFS kernel 2.4.4, cvs from early May.

Is this behaviour normal?

Thanx.

/Fermin

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