I meant more specifically, remove any indication that quotas have been set, for anyone (or everyone). That way, I could have a script to clean out old quota definitions, then set both default and explicit quotas, without any old settings lurking around. Is there a way to get rid of (e.g. zero out) all existing explicit PER-FILESET quota definitions, and start over (without having to look at mmrepquota and zero them out one by one)?
So I see your point about soft=lard limit => no grace period. I guess what's odd is that I see any indication that the grace period is not "none"; what grace period would be assigned to a per-fileset quota if I cannot even view or set it? Thanks, Keith From: "Oesterlin, Robert" <[email protected]> > To: gpfsug main discussion list <[email protected]> > Subject: Re: [gpfsug-discuss] Working with per-fileset quotas > > 2) By removing any quota setting, do you mean unlimited quota? Which is > just setting it (quota) to zero. (meaning unlimited) > > Bob Oesterlin > Sr Principal Storage Engineer, Nuance > > > ------------------------------ > > Message: 2 > Date: Fri, 8 Dec 2017 10:41:04 -0500 > From: "Truong Vu" <[email protected]> > To: [email protected] > Subject: Re: [gpfsug-discuss] Working with per-fileset quotas > Message-ID: > <OF95F138D7.BB03BC26-ON852581F0.00560D00-852581F0.00562863@ > notes.na.collabserv.com> > > Content-Type: text/plain; charset="us-ascii" > > > 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: [email protected] > To: [email protected] > Date: 12/08/2017 07:00 AM > Subject: gpfsug-discuss Digest, Vol 71, Issue 19 > Sent by: [email protected] > > > 1. Working with per-fileset quotas (Keith Ball) > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 7 Dec 2017 17:48:49 -0500 > From: Keith Ball <[email protected]> > To: [email protected] > Subject: [gpfsug-discuss] Working with per-fileset quotas > Message-ID: > <CAAxuGpHj > [email protected]> > 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 > > -- Keith D. Ball, PhD RedLine Performance Solutions, LLC web: http://www.redlineperf.com/ email: [email protected] <[email protected]> cell: 540-557-7851 <(540)%20557-7851>
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
