xfs
[Top] [All Lists]

Re: Tree Quota error message suggestion

To: Ladislav Durch?nek <durchanek@xxxxxxxxx>
Subject: Re: Tree Quota error message suggestion
From: Nathan Scott <nathans@xxxxxxx>
Date: Mon, 31 Jul 2006 10:35:50 +1000
Cc: xfs@xxxxxxxxxxx
In-reply-to: <018a01c6b327$25bc6d40$0201a8c0@reykjavik>; from durchanek@xxxxxxxxx on Sat, Jul 29, 2006 at 05:53:34PM +0200
References: <018a01c6b327$25bc6d40$0201a8c0@reykjavik>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
On Sat, Jul 29, 2006 at 05:53:34PM +0200, Ladislav Durch?nek wrote:
> Hi everybody,
> First at all I have to say that XFS is great. Especially its built-in quota
> support is really nice thing. I found tree quotas extremely useful for
> hosting servers where uploaded files are created with other owner than
> customer is.
> 
> But there is a one thing which could be done better I think: When I define
> tree quota and user tries to exceed id, error message returned is "No space
> left on device" which is not true - there is a plenty of space on device.

Thats by design - project quotas are basically trying to emulate
multiple little "virtual" filesystems within one large "actual"
filesystem.  So, they return ENOSPC on fullness and EXDEV when a
cross-device (project) link is attempted.

> Only when quota is totally full, next message is "Disk quota exceeded". I
> think it should be better if first message will be also "Disk quota
> exceeded".

Hmm, you should never see EDQUOT for project quota... are you sure
about that?  (are you using uquota too?)  Do you have a reproducible
test case to demonstrate this EDQUOT-on-pquota problem?

cheers.

-- 
Nathan


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