Quota via API anyway to avoid negative values?
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... <https://www.ibm.com/support/knowledgecenter/en/STXKQY_4.2.2/com.ibm.spectrum...> Thanks, Kristy
Hi Kristi, I just want to mention that we have a ticket right now at IBM because of negative quota values. In our case even the '-e' does not work: [root@justnsd01a ~]# mmlsquota -j hpsadm -e largedata Block Limits | File Limits Filesystem type KB quota limit in_doubt grace | files quota limit in_doubt grace Remarks largedata FILESET -45853247616 536870912000 590558003200 0 none | 6 3000000 3300000 0 none The solution offered by support is to run a 'mmcheckquota'. we are still in discussion. Stephan On 10/4/19 10:53 PM, Kristy Kallback-Rose wrote:
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...
Thanks, Kristy
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
-- Stephan Graf Juelich Supercomputing Centre Institute for Advanced Simulation Forschungszentrum Juelich GmbH 52425 Juelich, Germany Phone: +49-2461-61-6578 Fax: +49-2461-61-6656 E-mail: st.graf@fz-juelich.de WWW: http://www.fz-juelich.de/jsc/
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-0... . 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@lbl.gov> To: gpfsug main discussion list <gpfsug-discuss@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@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... Thanks, Kristy_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listi...
participants (3)
-
IBM Spectrum Scale -
Kristy Kallback-Rose -
Stephan Graf
