Thanks to Jim Musso, [image: https://mail.google.com/mail/u/0/images/cleardot.gif]Anthony D'Atri, [image: https://mail.google.com/mail/u/0/images/cleardot.gif]Tom Zurita, Scott Lawson So basically the /home/its/john01 must be a ZFS file system to be able to set the quota. The quota cannot set for directory. Gotta do soothing like this: zfs create bantestpool/delegated_vmbantest_zone/home/john01 zfs set mountpoint=/home/john01 zfs set quota=20g Thanks again folks! Vera On Wed, Apr 27, 2011 at 2:32 PM, Vera Montaro <veramontaro@gmail.com> wrote: > *# zfs list* > > bantestpool/delegated_vmbantest_zone/home 1.02G 179G > 1.02G /home > > > > *# zfs get quota bantestpool/delegated_vmbantest_zone/home * > > NAME PROPERTY VALUE SOURCE > > bantestpool/delegated_vmbantest_zone/home quota 180G local > > > > Under /home I have sub-directory: its and users directory john01: > /home/its/john01 > > > > The disk quota for /home is 180G. > > > > I would like to set the quota for user john01 to 20G. > > > > I tried this syntax and it failed: > > *# zfs set quota=20g bantestpool/delegated_vmbantest_zone/home/its/john01* > > cannot open 'bantestpool/delegated_vmbantest_zone/home/its/bentest': > dataset does not exist > > > > How do I set the quota for user john01 under directory /home/its/john01 > to 20G. > > Need help please. Thanks. > > > Vera _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Wed Apr 27 17:49:24 2011
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:18 EST