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
|