<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div><br>
</div>
<div>Its a little difficult that the different quota commands for Spectrum Scale are all different in there syntax and can only be used by the "right" people.
</div>
<div><br>
</div>
<div>As far as I can see mmedquota is the only quota command that uses this "full colon" syntax and it would be better if its syntax matched that for mmsetquota and mmlsquota. or that the reset to default quota was added to mmsetquota and mmedquota was left
 for editing quotas visually in an editor.</div>
<div><br>
</div>
<div>Regards</div>
<div><br>
</div>
<div>Peter Childs</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>On Tue, 2018-05-22 at 16:01 +0800, IBM Spectrum Scale wrote:</div>
<blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex">
<p><font size="2">Hi Kuei-Yu,</font><br>
<br>
<font size="2">Should we update the document as the requested below ?</font><br>
<br>
<font size="2">Thanks.</font><br>
<br>
<font size="2">Regards, The Spectrum Scale (GPFS) team<br>
<br>
------------------------------------------------------------------------------------------------------------------<br>
If you feel that your question can benefit other users of Spectrum Scale (GPFS), then please post it to the public IBM developerWroks Forum at
<a href="https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0000-0000-0000-000000000479">
https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0000-0000-0000-000000000479</a>.
<br>
<br>
If your query concerns a potential software error in Spectrum Scale (GPFS) and you have an IBM software maintenance contract please contact 1-800-237-5511 in the United States or your local IBM Service Center in other countries.
<br>
<br>
The forum is informally monitored as time permits and should not be used for priority messages to the Spectrum Scale (GPFS) team.</font><br>
<br>
<img width="16" height="16" src="cid:a41a3f216240371fc42075c4fd045fcbba209c4f.camel@qmul.ac.uk" border="0" alt="Inactive hide details for Bryan Banister ---05/22/2018 04:52:15 AM---Quick update.  Thanks to a colleague of mine, John Valdes," data-inlinedata-name="graycol.gif"><font size="2" color="#424282">Bryan
 Banister ---05/22/2018 04:52:15 AM---Quick update. Thanks to a colleague of mine, John Valdes, there is a way to specify the file system</font><br>
<br>
<font size="2" color="#5F5F5F">From: </font><font size="2">Bryan Banister <bbanister@jumptrading.com></font><br>
<font size="2" color="#5F5F5F">To: </font><font size="2">gpfsug main discussion list <gpfsug-discuss@spectrumscale.org></font><br>
<font size="2" color="#5F5F5F">Date: </font><font size="2">05/22/2018 04:52 AM</font><br>
<font size="2" color="#5F5F5F">Subject: </font><font size="2">Re: [gpfsug-discuss] How to clear explicitly set quotas</font><br>
<font size="2" color="#5F5F5F">Sent by: </font><font size="2">gpfsug-discuss-bounces@spectrumscale.org</font><br>
</p>
<br>
<br>
<br>
<font color="#1F497D" face="Calibri">Quick update. Thanks to a colleague of mine, John Valdes, there is a way to specify the file system + fileset + user with this form:</font><br>
<font color="#1F497D" face="Calibri"></font><br>
<font size="2" color="#1F497D" face="Courier New">mmedquota -d -u <filesystem>:<fileset>:<user>
</font><br>
<font color="#1F497D" face="Calibri"></font><br>
<font color="#1F497D" face="Calibri">It’s just not documented in the man page or shown in the examples. Docs need to be updated!</font><br>
<font color="#1F497D" face="Calibri">-Bryan</font><br>
<font color="#1F497D" face="Calibri"></font><br>
<b><font face="Calibri">From:</font></b><font face="Calibri"> gpfsug-discuss-bounces@spectrumscale.org [</font><font face="Calibri"><a href="mailto:gpfsug-discuss-bounces@spectrumscale.org">mailto:gpfsug-discuss-bounces@spectrumscale.org</a></font><font face="Calibri">]
</font><b><font face="Calibri">On Behalf Of </font></b><font face="Calibri">Bryan Banister</font><b><font face="Calibri"><br>
Sent:</font></b><font face="Calibri"> Tuesday, May 15, 2018 11:00 AM</font><b><font face="Calibri"><br>
To:</font></b><font face="Calibri"> gpfsug main discussion list <gpfsug-discuss@spectrumscale.org></font><b><font face="Calibri"><br>
Subject:</font></b><font face="Calibri"> Re: [gpfsug-discuss] How to clear explicitly set quotas</font><br>
<font face="Calibri"></font><br>
<i><font size="2" color="#333333" face="Verdana">Note: External Email</font></i>
<div align="center">
<hr width="100%" size="2" align="center">
</div>
<font color="#1F497D" face="Calibri">Unfortunately it doesn’t look like there is a way to target a specific quota. So for cluster with many file systems and/or many filesets in each file system, clearing the quota entries affect all quotas in all file systems
 and all filesets. This means that you have to clear them all and then reapply the explicit quotas that you need to keep.</font><br>
<font color="#1F497D" face="Calibri"></font><br>
<font size="2" color="#1F497D" face="Courier New"># mmedquota -h</font><br>
<font size="2" color="#1F497D" face="Courier New">Usage: mmedquota -d {-u User ... | -g Group ... | -j Device:Fileset ... }
</font><br>
<font color="#1F497D" face="Calibri"></font><br>
<font color="#1F497D" face="Calibri">Maybe RFE time, or am I missing some other existing solution?</font><br>
<font color="#1F497D" face="Calibri">-Bryan</font><br>
<font color="#1F497D" face="Calibri"></font><br>
<b><font face="Calibri">From:</font></b><font face="Calibri"> </font><a href="mailto:gpfsug-discuss-bounces@spectrumscale.org"><u><font color="#0563C1" face="Calibri">gpfsug-discuss-bounces@spectrumscale.org</font></u></a><font face="Calibri"> [</font><a href="mailto:gpfsug-discuss-bounces@spectrumscale.org"><u><font color="#0563C1" face="Calibri">mailto:gpfsug-discuss-bounces@spectrumscale.org</font></u></a><font face="Calibri">]
</font><b><font face="Calibri">On Behalf Of </font></b><font face="Calibri">Bryan Banister</font><b><font face="Calibri"><br>
Sent:</font></b><font face="Calibri"> Tuesday, May 15, 2018 10:36 AM</font><b><font face="Calibri"><br>
To:</font></b><font face="Calibri"> gpfsug main discussion list <</font><a href="mailto:gpfsug-discuss@spectrumscale.org"><u><font color="#0563C1" face="Calibri">gpfsug-discuss@spectrumscale.org</font></u></a><font face="Calibri">></font><b><font face="Calibri"><br>
Subject:</font></b><font face="Calibri"> Re: [gpfsug-discuss] How to clear explicitly set quotas</font><br>
<font face="Calibri"></font><br>
<i><font size="2" color="#333333" face="Verdana">Note: External Email</font></i>
<div align="center">
<hr width="100%" size="2" align="center">
</div>
<font face="Calibri">That was it! Thanks!</font><br>
<font face="Calibri"></font><br>
<font size="2" face="Courier New"># mmrepquota -v fpi_test02:root --block-size G</font><br>
<font size="2" face="Courier New">*** Report for USR GRP quotas on fpi_test02</font><br>
<font size="2" face="Courier New">Block Limits | File Limits</font><br>
<font size="2" face="Courier New">Name fileset type GB quota limit in_doubt grace | files quota limit in_doubt grace entryType</font><br>
<font size="2" face="Courier New">root root USR 243 0 0 0 none | 248 0 0 0 none default on</font><br>
<font size="2" face="Courier New">bbanister root USR 84 0 0 0 none | 21 0 0 0 none e</font><br>
<font size="2" face="Courier New">root root GRP 243 0 0 0 none | 248 0 0 0 none default on</font><br>
<font size="2" face="Courier New"># mmedquota -d -u bbanister</font><br>
<font size="2" face="Courier New">#</font><br>
<font size="2" face="Courier New"># mmrepquota -v fpi_test02:root --block-size G</font><br>
<font size="2" face="Courier New">*** Report for USR GRP quotas on fpi_test02</font><br>
<font size="2" face="Courier New">Block Limits | File Limits</font><br>
<font size="2" face="Courier New">Name fileset type GB quota limit in_doubt grace | files quota limit in_doubt grace entryType</font><br>
<font size="2" face="Courier New">root root USR 243 0 0 0 none | 248 0 0 0 none default on</font><br>
<font size="2" face="Courier New">bbanister root USR 84 0 0 0 none | 21 0 0 0 none d_fset</font><br>
<font size="2" face="Courier New">root root GRP 243 0 0 0 none | 248 0 0 0 none default on</font><br>
<font face="Calibri"></font><br>
<font face="Calibri">Note that " Try disabling and re-enabling default quotas with the -d option for that fileset " didn't fix this issue.</font><br>
<font face="Calibri"></font><br>
<font face="Calibri">Cheers,</font><br>
<font face="Calibri">-Bryan</font><br>
<font face="Calibri"></font><br>
<font face="Calibri">-----Original Message-----<br>
From: </font><a href="mailto:gpfsug-discuss-bounces@spectrumscale.org"><u><font color="#0563C1" face="Calibri">gpfsug-discuss-bounces@spectrumscale.org</font></u></a><font face="Calibri"> [</font><a href="mailto:gpfsug-discuss-bounces@spectrumscale.org"><u><font color="#0563C1" face="Calibri">mailto:gpfsug-discuss-bounces@spectrumscale.org</font></u></a><font face="Calibri">]
 On Behalf Of Peter Serocka<br>
Sent: Monday, May 14, 2018 4:52 PM<br>
To: gpfsug main discussion list <</font><a href="mailto:gpfsug-discuss@spectrumscale.org"><u><font color="#0563C1" face="Calibri">gpfsug-discuss@spectrumscale.org</font></u></a><font face="Calibri">><br>
Subject: Re: [gpfsug-discuss] How to clear explicitly set quotas</font><br>
<font face="Calibri"></font><br>
<font face="Calibri">Note: External Email</font><br>
<font face="Calibri">-------------------------------------------------</font><br>
<font face="Calibri"></font><br>
<font face="Calibri">check out the -d option for the mmedquota command:</font><br>
<font face="Calibri"></font><br>
<font face="Calibri">"Reestablish default quota limits for a specific user, group, or fileset that had an explicit quota limit set by a previous invocation of the mmedquota command.”</font><br>
<font face="Calibri"></font><br>
<font face="Calibri">--Peter</font><br>
<font face="Calibri"></font><br>
<font face="Calibri"></font><br>
<font face="Calibri">> On 2018 May 14 Mon, at 22:29, Bryan Banister <</font><a href="mailto:bbanister@jumptrading.com"><font color="#0563C1" face="Calibri">bbanister@jumptrading.com</font></a><font face="Calibri">> wrote:</font><br>
<font face="Calibri">> </font><br>
<font face="Calibri">> Hi all,</font><br>
<font face="Calibri">> </font><br>
<font face="Calibri">> I got myself into a situation where I was trying to enable a default user quota on a fileset and remove the existing quotas for all users in that fileset. But I used the `mmsetquota <fs>:<fileset> --user <user> --block 0:0` command and
 now it says that I have explicitly set this quota.</font><br>
<font face="Calibri">> </font><br>
<font face="Calibri">> Is there a way to remove a user quota entry so that it will adhere to the default user quota that I now have defined?</font><br>
<font face="Calibri">> </font><br>
<font face="Calibri">> Can’t find anything in man pages, thanks!</font><br>
<font face="Calibri">> -Bryan</font><br>
<font face="Calibri">> </font><br>
<font face="Calibri">> </font><br>
<font face="Calibri">> Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination
 or copying of this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees
 as to the completeness or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction
 of a financial product.</font><br>
<font face="Calibri">> _______________________________________________</font><br>
<font face="Calibri">> gpfsug-discuss mailing list</font><br>
<font face="Calibri">> gpfsug-discuss at spectrumscale.org</font><br>
<font face="Calibri">> </font><a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss"><font color="#0563C1" face="Calibri">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</font></a><br>
<font face="Calibri"></font><br>
<font face="Calibri">_______________________________________________</font><br>
<font face="Calibri">gpfsug-discuss mailing list</font><br>
<font face="Calibri">gpfsug-discuss at spectrumscale.org</font><br>
<a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss"><font color="#0563C1" face="Calibri">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</font></a><br>
<font face="Times New Roman"></font>
<div align="center">
<hr width="100%" size="2" align="center">
</div>
<font size="1" color="#808080" face="Arial"><br>
Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this
 email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness
 or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial
 product.</font><br>
<font face="Times New Roman"></font>
<div align="center">
<hr width="100%" size="2" align="center">
</div>
<font size="1" color="#808080" face="Arial"><br>
Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this
 email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness
 or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial
 product.</font>
<p><br>
</p>
<font size="2" color="#808080" face="Arial"><br>
Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this
 email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness
 or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial
 product.</font><tt><font size="2">_______________________________________________<br>
gpfsug-discuss mailing list<br>
gpfsug-discuss at spectrumscale.org<br>
</font></tt><tt><font size="2"><a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a></font></tt><tt><font size="2"><br>
</font></tt>
<p><br>
</p>
<pre>_______________________________________________</pre>
<pre>gpfsug-discuss mailing list</pre>
<pre>gpfsug-discuss at spectrumscale.org</pre>
<pre><a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a></pre>
<pre><br></pre>
</blockquote>
<div><span>
<pre>-- <br></pre>
<div style="width: 71ch;">Peter Childs</div>
<div style="width: 71ch;">ITS Research Storage</div>
<div style="width: 71ch;">Queen Mary, University of London</div>
<div style="width: 71ch;"><br>
</div>
</span></div>
</body>
</html>