David Magda wrote:
On Jun 29, 2007, at 20:51, Stephen Le wrote:

I'm investigating the feasibility of migrating from UFS to ZFS for a mail-store supporting 20K users. I need separate quotas for all of my users, which forces me to create separate ZFS file systems for each user.

Does each and every user have a different quota, or does each user have (say) a 200 MB limit? Or perhaps there are groups of users (under grad, staff, grad, faculty)?

Excellent question.  The problem with using file system quotas for
a service such as mail store is that you have very little control
over implementation of policies.  The only thing the mail service
knows is that a write a mailbox fails.  This doesn't give the mail
service much option to do something else with the message.  By
contrast, a mail service which implements quotas, such as the Sun
Java Messaging Server, implements quotas with various policies for
handling the full-quota case.
        http://docs.sun.com/app/docs/doc/819-4428/6n6j4267q?a=view

Here you can implement user-friendly policies such as send the user
a message warning them that they are approaching their quota limit.

I think you will find that managing quotas for services is better
when implemented by the service, rather than the file system.
 -- richard

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to