ZFS quota/reservation

2 posts / 0 new
Last post
#1 Sat, 03/13/2010 - 06:23

ZFS quota/reservation

Hi Jamie,

The change log for Version 3.40 (2 May 2007) lists this point:

Added Module Config options for external quota commands to use, instead of the standard Unix commands. This allows a different quota system (such as ZFS or on an NFS server) to be used instead.

I'm very interested in making ZFS quota (file system quota and user/group quota for zfs) configurable via webmin/virtualmin:

http://docs.sun.com/app/docs/doc/817-2271/gazvb?a=view http://docs.sun.com/app/docs/doc/819-5461/gigaz?a=view

Currently we create a zfs file system for each virtual server and set the quota and reservation properties. Could you please explain how to do that via webmin? I don't know how to replace the commands like

repquota -v edquota quotaon

etc with ZFS equivalents?

thanks, Martijn

Sat, 03/13/2010 - 16:45

I know some large Virtualmin users (like Joyent) make use of this feature to set ZFS quotas, but they have their own wrapper scripts to perform most of the work. I think they do it by creating a ZFS volume for each domain and user, but am not sure exactly how.

At the moment, there is no direct ZFS support in Virtualmin.


Topic locked