I''m trying to find documentation on how to set and work with user and group quotas on ZFS. I know it''s quite new, but googling around I''m just finding references to a ZFS quota and refquota, which are filesystem-wide settings, not per user/group. Also, after reviewing a few bugs, I''m a bit confused about which build has user quota support. I recall that snv_111 has user quota support, but not in rquotad. According to bug 6501037, ZFS user quota support is in snv_114. We''re preparing to roll out OpenSolaris 2009.06 (snv_111b), and we''re also curious about being able to utilize ZFS user quotas, as we''re having problems with NFSv4 on our clients (SLES 10 SP2). We''d like to be able to use NFSv3 for now (one large ZFS filesystem, with user quotas set), until the flaws with our Linux NFS clients can be addressed. -- Greg Mason System Administrator Michigan State University High Performance Computing Center
Greg Mason wrote:> I''m trying to find documentation on how to set and work with user and > group quotas on ZFS. I know it''s quite new, but googling around I''m just > finding references to a ZFS quota and refquota, which are > filesystem-wide settings, not per user/group. > > Also, after reviewing a few bugs, I''m a bit confused about which build > has user quota support. I recall that snv_111 has user quota support, > but not in rquotad. According to bug 6501037, ZFS user quota support is > in snv_114.ZFS user quota support and the corresponding rquotad support did not integrate until build 114 so you would need to first install 2009.06 then switch to the http://pkg.opensolaris.org/dev repository and ''pkg image-update'' -- Darren J Moffat
Greg Mason wrote:> I''m trying to find documentation on how to set and work with user and > group quotas on ZFS. I know it''s quite new, but googling around I''m just > finding references to a ZFS quota and refquota, which are > filesystem-wide settings, not per user/group. >Cindy does an excellent job of keeping the ZFS Admin Guide up to date. http://opensolaris.org/os/community/zfs/docs/zfsadmin.pdf See the section titled "Setting User or Group Quotas on a ZFS File System" -- richard> Also, after reviewing a few bugs, I''m a bit confused about which build > has user quota support. I recall that snv_111 has user quota support, > but not in rquotad. According to bug 6501037, ZFS user quota support is > in snv_114. > > We''re preparing to roll out OpenSolaris 2009.06 (snv_111b), and we''re > also curious about being able to utilize ZFS user quotas, as we''re > having problems with NFSv4 on our clients (SLES 10 SP2). We''d like to be > able to use NFSv3 for now (one large ZFS filesystem, with user quotas > set), until the flaws with our Linux NFS clients can be addressed. > >
Thanks for the link Richard, I guess the next question is, how safe would it be to run snv_114 in production? Running something that would be technically "unsupported" makes a few folks here understandably nervous... -Greg On Thu, 2009-07-09 at 10:13 -0700, Richard Elling wrote:> Greg Mason wrote: > > I''m trying to find documentation on how to set and work with user and > > group quotas on ZFS. I know it''s quite new, but googling around I''m just > > finding references to a ZFS quota and refquota, which are > > filesystem-wide settings, not per user/group. > > > > Cindy does an excellent job of keeping the ZFS Admin Guide up to date. > http://opensolaris.org/os/community/zfs/docs/zfsadmin.pdf > See the section titled "Setting User or Group Quotas on a ZFS File System" > -- richard > > Also, after reviewing a few bugs, I''m a bit confused about which build > > has user quota support. I recall that snv_111 has user quota support, > > but not in rquotad. According to bug 6501037, ZFS user quota support is > > in snv_114. > > > > We''re preparing to roll out OpenSolaris 2009.06 (snv_111b), and we''re > > also curious about being able to utilize ZFS user quotas, as we''re > > having problems with NFSv4 on our clients (SLES 10 SP2). We''d like to be > > able to use NFSv3 for now (one large ZFS filesystem, with user quotas > > set), until the flaws with our Linux NFS clients can be addressed. > > > > >
Greg Mason wrote:> Thanks for the link Richard, > > I guess the next question is, how safe would it be to run snv_114 in > production? Running something that would be technically "unsupported" > makes a few folks here understandably nervous...You mentioned you run Linux clients. Are they all under a support contract ? Do you actually have a support contract for OpenSolaris 2009.06 (if not then personally I''d say zero difference but I''m an OpenSolaris developer and I''m used to living on the latest builds). -- Darren J Moffat