* Quota confusion
@ 2010-10-01 4:09 Richard Scobie
2010-10-02 10:35 ` Dave Chinner
0 siblings, 1 reply; 4+ messages in thread
From: Richard Scobie @ 2010-10-01 4:09 UTC (permalink / raw)
To: xfs
I am setting up project quota at 95% of the storage capacity. df shows:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/dm-0 13672271872 11816602148 1855669724 87% /mnt/storage1
so I set it:
limit -p bhard=12988658278k 1
but when I do an xfs_quota "quota -p 1":
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.
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.
Any help appreciated.
Regards,
Richard
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Quota confusion
2010-10-01 4:09 Quota confusion Richard Scobie
@ 2010-10-02 10:35 ` Dave Chinner
2010-10-02 18:58 ` Richard Scobie
2010-10-09 0:48 ` Richard Scobie
0 siblings, 2 replies; 4+ messages in thread
From: Dave Chinner @ 2010-10-02 10:35 UTC (permalink / raw)
To: Richard Scobie; +Cc: xfs
On Fri, Oct 01, 2010 at 05:09:45PM +1300, Richard Scobie wrote:
> I am setting up project quota at 95% of the storage capacity. df shows:
>
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/dm-0 13672271872 11816602148 1855669724 87% /mnt/storage1
>
> so I set it:
>
> limit -p bhard=12988658278k 1
>
> but when I do an xfs_quota "quota -p 1":
>
> 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.
> 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?
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Quota confusion
2010-10-02 10:35 ` Dave Chinner
@ 2010-10-02 18:58 ` Richard Scobie
2010-10-09 0:48 ` Richard Scobie
1 sibling, 0 replies; 4+ messages in thread
From: Richard Scobie @ 2010-10-02 18:58 UTC (permalink / raw)
To: Dave Chinner; +Cc: xfs
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
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Quota confusion
2010-10-02 10:35 ` Dave Chinner
2010-10-02 18:58 ` Richard Scobie
@ 2010-10-09 0:48 ` Richard Scobie
1 sibling, 0 replies; 4+ messages in thread
From: Richard Scobie @ 2010-10-09 0:48 UTC (permalink / raw)
To: Dave Chinner; +Cc: xfs
Hi Dave,
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
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-10-09 0:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-01 4:09 Quota confusion Richard Scobie
2010-10-02 10:35 ` Dave Chinner
2010-10-02 18:58 ` Richard Scobie
2010-10-09 0:48 ` Richard Scobie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox