Tree Quota error message suggestion
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. 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".
Cheers
L��a Durch�nek
[[HTML alternate version deleted]]
Quoted 9 lines · Ladislav Durch?nek
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.
Quoted 3 lines
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.
Signature · 1 line
Nathan