Re: [gpfsug-discuss] Working with per-fileset quotas
1) That is correct. The grace period can't be set for per-fileset quota. As you pointed out, you can only change the grace period for user, group or fileset. If you want a particular fileset to have no grace period, you can set the hard limit to be the same as the soft limit. When the grace column shows "none", this means the soft limit has not been reached. Once the soft limit is reached, the grace period is start counting. 2) To remove explicit quota settings, you need to set the limit to 0. From: gpfsug-discuss-request@spectrumscale.org To: gpfsug-discuss@spectrumscale.org Date: 12/08/2017 07:00 AM Subject: gpfsug-discuss Digest, Vol 71, Issue 19 Sent by: gpfsug-discuss-bounces@spectrumscale.org Send gpfsug-discuss mailing list submissions to gpfsug-discuss@spectrumscale.org To subscribe or unsubscribe via the World Wide Web, visit https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listi... or, via email, send a message with subject or body 'help' to gpfsug-discuss-request@spectrumscale.org You can reach the person managing the list at gpfsug-discuss-owner@spectrumscale.org When replying, please edit your Subject line so it is more specific than "Re: Contents of gpfsug-discuss digest..." Today's Topics: 1. Working with per-fileset quotas (Keith Ball) ---------------------------------------------------------------------- Message: 1 Date: Thu, 7 Dec 2017 17:48:49 -0500 From: Keith Ball <bipcuds@gmail.com> To: gpfsug-discuss@spectrumscale.org Subject: [gpfsug-discuss] Working with per-fileset quotas Message-ID: <CAAxuGpHj +4z6cLff69Z25CqfUaTWFjoV9vNGWhHSEUqWgWOZ9w@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Hi All, In working with per-fileset quotas (not user/group/fileset quotas at the filesystem level), I have the follwing issues/questions. 1.) Setting grace periods. I notice that some of the group quotas in a specific fileset have a grace period (or remaining grace period) of X days, while others report "none": # mmrepquota -g --block-size G hpc-fs:fileset01 Block Limits | File Limits Name fileset type GB quota limit in_doubt grace | files quota limit in_doubt grace groupa fileset01 GRP 2257 2 2 0 4 days | 143 100 100 0 4 days root fileset01 GRP 710 0 0 0 none | 15578 0 0 0 none groupb fileset01 GRP 2106 400 400 0 4 days | 1 1048576 1048576 0 none ... How can I set a grace period of "none" on group quotas? mmsetquota does not appear (from the man pages) to provide any way to set grace periods for per-fileset quotas: mmsetquota Device ??grace {user | group | fileset} {[??block GracePeriod] [??files GracePeriod]} How can I set to "none" or "0days"? (i.e. no grace period given if over quota). Or, for that matter, set grace periods for any duration at all? 2.) How to remove any explicit quota settings for (not just deactivating default quota settings) at the per-fileset level. The mmdefquotaoff docs seem to suggest that the ?-d? option will not remove explicit per-fileset quota settings if they are non-zero (so really, what use is the -d option then?) Many Thanks! Keith
participants (1)
-
Truong Vu
