<div dir="ltr"><div>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)? <br></div><div><br></div><div><br></div><div>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?</div><div><br></div><div>Thanks,<br></div><div>   Keith<br></div><br><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
From: "Oesterlin, Robert" <<a href="mailto:Robert.Oesterlin@nuance.com" target="_blank">Robert.Oesterlin@nuance.com</a>><br>
To: gpfsug main discussion list <<a href="mailto:gpfsug-discuss@spectrumscale.org" target="_blank">gpfsug-discuss@spectrumscale.<wbr>org</a>><br>
Subject: Re: [gpfsug-discuss] Working with per-fileset quotas<br><br>
2) By removing any quota setting, do you mean unlimited quota? Which is just setting it (quota) to zero. (meaning unlimited)<br>
<br>
Bob Oesterlin<br>
Sr Principal Storage Engineer, Nuance<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Fri, 8 Dec 2017 10:41:04 -0500<br>
From: "Truong Vu" <<a href="mailto:truongv@us.ibm.com" target="_blank">truongv@us.ibm.com</a>><br>
To: <a href="mailto:gpfsug-discuss@spectrumscale.org" target="_blank">gpfsug-discuss@spectrumscale.o<wbr>rg</a><br>
Subject: Re: [gpfsug-discuss] Working with per-fileset quotas<br>
Message-ID:<br>
        <<a href="mailto:OF95F138D7.BB03BC26-ON852581F0.00560D00-852581F0.00562863@notes.na.collabserv.com" target="_blank">OF95F138D7.BB03BC26-ON852581F<wbr>0.00560D00-852581F0.00562863@<wbr>notes.na.collabserv.com</a>><br>
<br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
<br>
1) That is correct.  The grace period can't be set for per-fileset<br>
quota.  As you pointed out, you can only change the grace period for<br>
user, group or fileset.<br>
<br>
If you want a particular fileset to have no grace period, you can<br>
set the hard limit to be the same as the soft limit.<br>
<br>
When the grace column shows "none", this means the soft limit has<br>
not been reached.  Once the soft limit is reached, the grace period<br>
is start counting.<br>
<br>
2) To remove explicit quota settings, you need to set the limit to 0.<br>
<br>
<br>
<br>
<br>
From:   <a href="mailto:gpfsug-discuss-request@spectrumscale.org" target="_blank">gpfsug-discuss-request@spectr<wbr>umscale.org</a><br>
To:     <a href="mailto:gpfsug-discuss@spectrumscale.org" target="_blank">gpfsug-discuss@spectrumscale.<wbr>org</a><br>
Date:   12/08/2017 07:00 AM<br>
Subject:        gpfsug-discuss Digest, Vol 71, Issue 19<br>
Sent by:        <a href="mailto:gpfsug-discuss-bounces@spectrumscale.org" target="_blank">gpfsug-discuss-bounces@spectru<wbr>mscale.org</a><br>
<br>
<br>
   1. Working with per-fileset quotas (Keith Ball)<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Thu, 7 Dec 2017 17:48:49 -0500<br>
From: Keith Ball <<a href="mailto:bipcuds@gmail.com" target="_blank">bipcuds@gmail.com</a>><br>
To: <a href="mailto:gpfsug-discuss@spectrumscale.org" target="_blank">gpfsug-discuss@spectrumscale.o<wbr>rg</a><br>
Subject: [gpfsug-discuss] Working with per-fileset quotas<br>
Message-ID:<br>
                 <CAAxuGpHj<br>
+<a href="mailto:4z6cLff69Z25CqfUaTWFjoV9vNGWhHSEUqWgWOZ9w@mail.gmail.com" target="_blank">4z6cLff69Z25CqfUaTWFjoV9vNGWh<wbr>HSEUqWgWOZ9w@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi All,<br>
<br>
In working with per-fileset quotas (not user/group/fileset quotas at the<br>
filesystem level), I have the follwing issues/questions.<br>
<br>
1.) Setting grace periods. I notice that some of the group quotas in a<br>
specific fileset have a grace period (or remaining grace period) of X days,<br>
while others report "none":<br>
<br>
# mmrepquota -g --block-size G hpc-fs:fileset01<br>
                         Block Limits<br>
|                     File Limits<br>
Name       fileset    type             GB      quota      limit<br>
in_doubt    grace |    files   quota    limit in_doubt    grace<br>
groupa      fileset01 GRP            2257          2          2<br>
0   4 days |      143     100      100        0   4 days<br>
root       fileset01 GRP             710          0          0<br>
0     none |    15578       0        0        0     none<br>
groupb   fileset01 GRP            2106        400        400          0   4<br>
days |        1 1048576  1048576        0     none<br>
...<br>
<br>
How can I set a grace period of "none" on group quotas? mmsetquota does not<br>
appear (from the man pages) to provide any way to set grace periods for<br>
per-fileset quotas:<br>
<br>
mmsetquota Device ??grace {user | group | fileset}<br>
           {[??block GracePeriod] [??files GracePeriod]}<br>
<br>
How can I set to "none" or "0days"? (i.e. no grace period given if over<br>
quota). Or, for that matter, set grace periods for any duration at all?<br>
<br>
<br>
2.) How to remove any explicit quota settings for (not just deactivating<br>
default quota settings) at the per-fileset level. The mmdefquotaoff docs<br>
seem to suggest that the ?-d? option will not remove explicit per-fileset<br>
quota settings if they are non-zero (so really, what use is the -d option<br>
then?)<br>
<br>
Many Thanks!<br>
  Keith<br><br>
</blockquote></div><br clear="all"><br>-- <br>Keith D. Ball, PhD<br><div><div>RedLine Performance Solutions, LLC</div><div>web:  <a href="http://www.redlineperf.com/" target="_blank">http://www.redlineperf.com/</a><br><div>email: <a href="mailto:aqualkenbush@redlineperf.com" target="_blank">kball@redlineperf.com</a></div></div></div>cell: <a href="tel:(540)%20557-7851" value="+15405577851" target="_blank">540-557-7851</a></div>