<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Hi Simon,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">It will only trigger the callback on the currently appointed File System Manager, so you need to make sure your callback scripts are installed on all nodes that
 can occupy this role.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">HTH,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">-Bryan<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> gpfsug-discuss-bounces@spectrumscale.org [mailto:gpfsug-discuss-bounces@spectrumscale.org]
<b>On Behalf Of </b>Simon Thompson (IT Research Support)<br>
<b>Sent:</b> Monday, November 06, 2017 3:00 PM<br>
<b>To:</b> scale@us.ibm.com; gpfsug main discussion list <gpfsug-discuss@spectrumscale.org><br>
<b>Subject:</b> Re: [gpfsug-discuss] Callbacks / softQuotaExceeded<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><em><span style="font-size:8.5pt;font-family:"Verdana",sans-serif;color:#333333">Note: External Email</span></em><span style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:black"><o:p></o:p></span></p>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:black">
<hr size="2" width="100%" align="center">
</span></div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:black">Thanks Eric,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:black">One other question, when it says it must run on a manager node, I'm assuming that means a manager node in a storage cluster (we multi-cluster clients clusters in).<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:black">Thanks<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:black">Simon<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">From:
</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">Eric Agar <<a href="mailto:agar@us.ibm.com">agar@us.ibm.com</a>> on behalf of "<a href="mailto:scale@us.ibm.com">scale@us.ibm.com</a>" <<a href="mailto:scale@us.ibm.com">scale@us.ibm.com</a>><br>
<b>Date: </b>Monday, 6 November 2017 at 19:51<br>
<b>To: </b>"<a href="mailto:gpfsug-discuss@spectrumscale.org">gpfsug-discuss@spectrumscale.org</a>" <<a href="mailto:gpfsug-discuss@spectrumscale.org">gpfsug-discuss@spectrumscale.org</a>>, Simon Thompson <<a href="mailto:S.J.Thompson@bham.ac.uk">S.J.Thompson@bham.ac.uk</a>><br>
<b>Cc: </b>IBM Spectrum Scale <<a href="mailto:scale@us.ibm.com">scale@us.ibm.com</a>><br>
<b>Subject: </b>Re: [gpfsug-discuss] Callbacks / softQuotaExceeded<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">Simon,</span><span style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:black">
<br>
<br>
</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">Based on my reading of the code, when a softQuotaExceeded event callback is invoked with %quotaType having the value "FILESET", the following arguments correspond with each other
 for filesetLimitExceeded and softQuotaExceeded:</span><span style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:black"><br>
<br>
</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">- filesetLimitExceeded %inodeUsage  and softQuotaExceeded  %filesUsage</span><span style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:black"><br>
</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">- filesetLimitExceeded %inodeQuota  and softQuotaExceeded  %filesQuota</span><span style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:black"><br>
</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">- filesetLimitExceeded %inodeLimit  and softQuotaExceeded  %filesLimit</span><span style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:black"><br>
</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">- filesetLimitExceeded %filesetSize and softQuotaExceeded  %blockUsage</span><span style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:black"><br>
</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">- filesetLimitExceeded %softLimit   and softQuotaExceeded  %blockQuota</span><span style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:black"><br>
</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">- filesetLimitExceeded %hardLimit   and softQuotaExceeded  %blockLimit</span><span style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:black"><br>
<br>
</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">So, terms have changed to make them a little friendlier and to generalize them.  An inode is a file.  Limits related to inodes and to blocks are being reported.</span><span style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:black"><br>
<br>
</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">Regards, The Spectrum Scale (GPFS) team</span><span style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:black">
<br>
</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">Eric Agar<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
</span><span style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:black"><a href="https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0000-0000-0000-000000000479"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0000-0000-0000-000000000479</span></a></span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">.
<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.</span><span style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:black"><br>
<br>
<br>
<br>
</span><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#5F5F5F">From:        </span><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black">"Simon Thompson (IT Research Support)" <<a href="mailto:S.J.Thompson@bham.ac.uk">S.J.Thompson@bham.ac.uk</a>></span><span style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:black"><br>
</span><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#5F5F5F">To:        </span><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black">"<a href="mailto:gpfsug-discuss@spectrumscale.org">gpfsug-discuss@spectrumscale.org</a>"
 <<a href="mailto:gpfsug-discuss@spectrumscale.org">gpfsug-discuss@spectrumscale.org</a>></span><span style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:black"><br>
</span><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#5F5F5F">Date:        </span><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black">11/06/2017 09:17 AM</span><span style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:black"><br>
</span><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#5F5F5F">Subject:        </span><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black">[gpfsug-discuss] Callbacks / softQuotaExceeded</span><span style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:black"><br>
</span><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#5F5F5F">Sent by:        </span><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black"><a href="mailto:gpfsug-discuss-bounces@spectrumscale.org">gpfsug-discuss-bounces@spectrumscale.org</a></span><span style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:black"><o:p></o:p></span></p>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:black">
<hr size="2" width="100%" noshade="" style="color:#A0A0A0" align="center">
</span></div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:black"><br>
<br>
<br>
</span><tt><span style="font-size:10.0pt;color:black">We were looking at adding some callbacks to notify us when file-sets go</span></tt><span style="font-size:10.0pt;font-family:"Courier New";color:black"><br>
<tt>over their inode limit by implementing it as a soft inode quota.</tt><br>
<br>
<tt>In the docs:</tt><br>
</span><span style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:black"><a href="https://www.ibm.com/support/knowledgecenter/en/STXKQY_4.2.3/com.ibm.spectru"><tt><span style="font-size:10.0pt">https://www.ibm.com/support/knowledgecenter/en/STXKQY_4.2.3/com.ibm.spectru</span></tt></a></span><span style="font-size:10.0pt;font-family:"Courier New";color:black"><br>
<tt>m.scale.v4r23.doc/bl1adm_mmaddcallback.htm#mmaddcallback__Table1</tt><br>
<br>
<br>
<tt>There is an event filesetLimitExceeded, which has parameters: %inodeUsage</tt><br>
<tt>%inodeQuota, however the docs say that we should instead use</tt><br>
<tt>softQuotaExceeded as filesetLimitExceeded "It exists only for</tt><br>
<tt>compatibility (and may be deleted in a future version); therefore, using</tt><br>
<tt>softQuotaExceeded is recommended instead"</tt><br>
<br>
<tt>However.</tt><br>
<br>
<tt>softQuotaExceeded seems to have no %inodeQuota of %inodeUsage parameters.</tt><br>
<tt>Is this a doc error or is there genuinely no way to get the</tt><br>
<tt>inodeQuota/Usage with softQuotaExceeded? The same applies to passing</tt><br>
<tt>%quotaEventType.</tt><br>
<br>
<br>
<tt>Any suggestions?</tt><br>
<br>
<tt>Simon</tt><br>
<br>
<tt>_______________________________________________</tt><br>
<tt>gpfsug-discuss mailing list</tt><br>
<tt>gpfsug-discuss at spectrumscale.org</tt><br>
</span><span style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:black"><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listinfo_gpfsug-2Ddiscuss&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=IbxtjdkPAM2Sbon4Lbbi4w&m=7fytZP7U6ExP93umOcOUIXEUXD2KWdWEsrEqMtxOB0I&s=BiROZ43JuhZRhqOOpqTvHvl7bTqjPFxIrCxqIWAWa7U&e="><tt><span style="font-size:10.0pt">https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listinfo_gpfsug-2Ddiscuss&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=IbxtjdkPAM2Sbon4Lbbi4w&m=7fytZP7U6ExP93umOcOUIXEUXD2KWdWEsrEqMtxOB0I&s=BiROZ43JuhZRhqOOpqTvHvl7bTqjPFxIrCxqIWAWa7U&e=</span></tt></a></span><span style="font-size:10.0pt;font-family:"Courier New";color:black"><br>
<br>
<br>
</span><span style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:black"><o:p></o:p></span></p>
</div>
</div>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><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.<br>
</font>
</body>
</html>