OpenSolaris

Printable Version Enter a New Search
Bug ID 6501037
Synopsis want user/group quotas on ZFS
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:zfs
Keywords quota | zfs
Responsible Engineer Matthew Ahrens
Reported Against s10 , 5.10 , snv_127 , s10u4_fcs , s10u7_fcs , solaris_10
Duplicate Of
Introduced In
Commit to Fix snv_114
Fixed In snv_114
Release Fixed solaris_nevada(snv_114) , solaris_10u8(s10u8_03) (Bug ID:2178531)
Related Bugs 6557894 , 6792002 , 6824968 , 6826992 , 6830613 , 6841580 , 6862984 , 6897978 , 6902902
Submit Date 5-December-2006
Last Update Date 6-May-2009
Description
ZFS needs to support user and group quotas. This is essential to build solutions for large ISP or if ZFS is planned to use in NFS-Clusters for a large number of users . What about a "hybrid"-version of a filesystem quota + user(+ group) quotas in that filesystem ?

Recently we had to give up on a project where it was required to server by NFS 1.000.000 user with each having a quota. Using the filesystem based quotas of ZFS is not an option here, because this would lead to create 1.000.000 filesystems (and export them via nfs + snapshot them).

Just to mount 1.000.000 filesystems takes a lot of memory and time.

It would take a long time to share this all filesystems (please see CR 6386942: shareall(1M) takes a long time if there lot of fs to be shared).
Perhaps if we do 6557894 (per-user space accounting), 
then we could easily implement some very sloppy user 
quotas (eg, where they may go over their quota for a 
few seconds before we stop them).
Work Around
N/A
Comments
N/A