[gpfsug-discuss] Callbacks / softQuotaExceeded
IBM Spectrum Scale
scale at us.ibm.com
Mon Nov 6 19:51:40 GMT 2017
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)" <S.J.Thompson at bham.ac.uk>
To: "gpfsug-discuss at spectrumscale.org"
<gpfsug-discuss at spectrumscale.org>
Date: 11/06/2017 09:17 AM
Subject: [gpfsug-discuss] Callbacks / softQuotaExceeded
Sent by: gpfsug-discuss-bounces at spectrumscale.org
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=
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20171106/fb2653a5/attachment.htm>
More information about the gpfsug-discuss
mailing list