Re: [webmin-l] virtualmin external quota command
Mátyás Csere <[email protected]>
| Newsgroups | gmane.comp.web.webmin.general |
|---|---|
| Message-ID | <CADJm-_3_1e400QkqNjiVtstUmR4xjr2aCE_QO1=hD77qSY1+0g@mail.gmail.com> |
(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 have 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, soft > > 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 webadmin-list@lists. > sourceforge.net > 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