Thanks Eric,

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).

Thanks

Simon

From: Eric Agar <[email protected]<mailto:[email protected]>> on behalf of 
"[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Monday, 6 November 2017 at 19:51
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>, 
Simon Thompson <[email protected]<mailto:[email protected]>>
Cc: IBM Spectrum Scale <[email protected]<mailto:[email protected]>>
Subject: Re: [gpfsug-discuss] Callbacks / softQuotaExceeded

Simon,

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:

- filesetLimitExceeded %inodeUsage  and softQuotaExceeded  %filesUsage
- filesetLimitExceeded %inodeQuota  and softQuotaExceeded  %filesQuota
- filesetLimitExceeded %inodeLimit  and softQuotaExceeded  %filesLimit
- filesetLimitExceeded %filesetSize and softQuotaExceeded  %blockUsage
- filesetLimitExceeded %softLimit   and softQuotaExceeded  %blockQuota
- filesetLimitExceeded %hardLimit   and softQuotaExceeded  %blockLimit

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.

Regards, The Spectrum Scale (GPFS) team
Eric Agar

------------------------------------------------------------------------------------------------------------------
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 
https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0000-0000-0000-000000000479.

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.

The forum is informally monitored as time permits and should not be used for 
priority messages to the Spectrum Scale (GPFS) team.



From:        "Simon Thompson (IT Research Support)" 
<[email protected]<mailto:[email protected]>>
To:        
"[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date:        11/06/2017 09:17 AM
Subject:        [gpfsug-discuss] Callbacks / softQuotaExceeded
Sent by:        
[email protected]<mailto:[email protected]>
________________________________



We were looking at adding some callbacks to notify us when file-sets go
over their inode limit by implementing it as a soft inode quota.

In the docs:
https://www.ibm.com/support/knowledgecenter/en/STXKQY_4.2.3/com.ibm.spectru
m.scale.v4r23.doc/bl1adm_mmaddcallback.htm#mmaddcallback__Table1


There is an event filesetLimitExceeded, which has parameters: %inodeUsage
%inodeQuota, however the docs say that we should instead use
softQuotaExceeded as filesetLimitExceeded "It exists only for
compatibility (and may be deleted in a future version); therefore, using
softQuotaExceeded is recommended instead"

However.

softQuotaExceeded seems to have no %inodeQuota of %inodeUsage parameters.
Is this a doc error or is there genuinely no way to get the
inodeQuota/Usage with softQuotaExceeded? The same applies to passing
%quotaEventType.


Any suggestions?

Simon

_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
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=



_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss

Reply via email to