Re: [webmin-l] virtualmin external quota command
"Jamie Cameron" <[email protected]>
| Newsgroups | gmane.comp.web.webmin.general |
|---|---|
| Message-ID | <[email protected]> |
User quotas are only stored in aquota.user, sorry ... so there's no way to re-set them all from the UI or CLI. On 12/Apr/2017 05:13 Mátyás Csere <[email protected]> wrote .. (I know the domain quotas are listed in virtualmin/domain/domain-id, but what about the user quotas, are they stored anywhere else besides aquota.user?) Is there a way to re-set all quotas eithre from GUI or the CLI? (I am thinking about something like the currently available Limits and validation > Fix permissions) If not, should I just parse repquota on the old fs and feed that to the new one? 2017-04-11 0:17 GMT+02:00 Jamie Cameron <[email protected]>: On 10/Apr/2017 02:47 Mátyás Csere <[email protected]> wrote .. > Hello! > > I am toying with the idea of switching to ZFS from ext4 on our Virtualmin > server. > It's in plain sight, that ZFS uses it's own commands for managing quota, so > I will ha ve to implement a wrapper script for it. > > I see that for example 'config_quota_set_user_command' (but the same goes > for the other quota commands too) requires 3 paramteres: username, so ft > quota, hard quota in 1kB blocks. > What is not clear to me, on what filesystem (mount point) is this executed? > Is there a 4th option passed, or its ment to be interpreted for all the > filesystems I want to manage quota settings on? The filesystem is never passed as a parameter for these commands - Virtualmin just assumes that the command knows which filesystem users have their quotas on. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot- Forwarded by the Webmin mailing list at [email protected] To remove yourself from this list, go to http://lists.sourceforge.net/lists/listinfo/webadmin-list ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot - Forwarded by the Webmin mailing list at [email protected] To remove yourself from this list, go to http://lists.sourceforge.net/lists/listinfo/webadmin-list