xfs
[Top] [All Lists]

Re: Quota confusion

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: Quota confusion
From: Richard Scobie <richard@xxxxxxxxxxx>
Date: Sun, 03 Oct 2010 07:58:28 +1300
Cc: xfs@xxxxxxxxxxx
In-reply-to: <20101002103505.GD4681@dastard>
References: <4CA55F09.2010609@xxxxxxxxxxx> <20101002103505.GD4681@dastard>
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1.13) Gecko/20080313 SeaMonkey/1.1.9
Dave Chinner wrote:

Disk quotas for Project shares (1)
Filesystem              Blocks      Quota      Limit  Warn/Time
Mounted on
/dev/dm-0           11816148292          0 12988658280   00
[--------] /mnt/storage1

the number of blocks is less than the limit.

Ok, that looks normal.

Ah. I was interpreting as total blocks, not blocks used.

Also, an xfs_quota df:

Filesystem           1K-blocks       Used  Available  Use% Pathname
/dev/dm-0           13672271872 11816602148 1855669724   87% /mnt/storage1
/dev/dm-0           13672271872 23632296584 1855669724  173%
/mnt/storage1/share

I do not understand the lower "Used" figure.

Hmmm - looks like a directory quota output for a specific directory
(/mnt/storage1/share), and for some reason the used field is roughly
double the correct value. Can you post your project quota config
files?

/etc/projects 1:/mnt/storage1/share
/etc/projid shares:1

kernel 2.6.35.4 xfsprogs 3.0.4

Regards,

Richard

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