Skip to contentSkip to conversation

Tree Quota error message suggestion

DISCUSSION Ladislav Durchánek 2 participants 2 messages Jul 29, 2006 – Jul 31, 2006

lore
Share & tools
lore
#0 lore raw

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]]

#1 lore raw
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