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:


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

etc with ZFS equivalents?


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.