[gpfsug-discuss] Quota via API anyway to avoid negative values?

IBM Spectrum Scale scale at us.ibm.com
Tue Oct 8 14:15:48 BST 2019


Kristy, there is no equivalent to the -e option in the quota API. If your 
application receives negative quota values it is suggested that you use 
the mmlsquota command with the -e option to obtain the most recent quota 
usage information, or run the mmcheckquota command.  Using either the -e 
option to mmlsquota or the mmcheckquota is an IO intensive operation so it 
would be wise not to run the command when the system is heavily loaded. 
Note that using the mmcheckquota command does provide QoS options to 
mitigate the impact of the operation on the cluster.

Regards, The Spectrum Scale (GPFS) team

------------------------------------------------------------------------------------------------------------------
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:   Kristy Kallback-Rose <kkr at lbl.gov>
To:     gpfsug main discussion list <gpfsug-discuss at spectrumscale.org>
Date:   10/04/2019 04:53 PM
Subject:        [EXTERNAL] [gpfsug-discuss] Quota via API anyway to avoid 
negative values?
Sent by:        gpfsug-discuss-bounces at spectrumscale.org



Hi,

There is a flag with mmlsquota to prevent the potential of getting 
negative values back:

-e
Specifies that mmlsquota is to collect updated quota usage data from all 
nodes before displaying results. If -e is not specified, there is the 
potential to display negative usage values as the quota server may process 
a combination of up-to-date and back-level information.


However, we are using the API to collectively show quotas across GPFS and 
non-GPFS filesystems via one user-driven command. We are getting negative 
values using the API. Does anyone know the -e equivalent for the API?

https://www.ibm.com/support/knowledgecenter/en/STXKQY_4.2.2/com.ibm.spectrum.scale.v4r22.doc/bl1adm_gpfs_quotactl.htm

Thanks,
Kristy_______________________________________________
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=hdhTNLoVRkMglSs8c9Ho37FKFZUJrCmrXG5pXqjtFbE&s=wfHn6xg9_2qzVFdBAthevvEHreS934rP1w88f3jSFcs&e= 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20191008/32c048fd/attachment-0002.htm>


More information about the gpfsug-discuss mailing list