xfs
[Top] [All Lists]

xfs_growfs -m

To: linux-xfs@xxxxxxxxxxx
Subject: xfs_growfs -m
From: ASANO Masahiro <masano@xxxxxxxxxxxxxx>
Date: Wed, 07 Nov 2001 21:13:20 +0900 (JST)
Sender: owner-linux-xfs@xxxxxxxxxxx
May I reduce the maximum percentage of inodes with "xfs_growfs -m" ?

`df' showed an negative value:

$ df -i /mnt/masano1
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/sda7              13216    9472    3744   72% /mnt/masano1
# xfs_growfs -m 5 /mnt/masano1  
   ...
inode max percent changed from 25 to 5
$ df -i /mnt/masano1
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/sda7              13216    9472    3744   72% /mnt/masano1
# xfs_growfs -m 3 /mnt/masano1
   ...
inode max percent changed from 5 to 3
$ df -i /mnt/masano1
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/sda7              13216    9472    3744   72% /mnt/masano1
# xfs_growfs -m 2 /mnt/masano1
   ...
inode max percent changed from 3 to 2
$ df -i /mnt/masano1
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/sda7              10912    9472    1440   87% /mnt/masano1
# xfs_growfs -m 1 /mnt/masano1
   ...
inode max percent changed from 2 to 1
$ df -i /mnt/masano1
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/sda7               5456 -18446744069414593792 4294963280  101% /mnt/masano1


And if I had allocated a large number of inodes and removed them previously,
I could allocate inodes over the maximum percentage after reducing it.
I wonder why.

Any comments and suggestions are welcome.

Environment: Red Hat 7.1 (fileutils-4.0.36-4) + XFS (CVS tree 2001-11-06)

Cheers
--
masano


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