Hi Kuei-Yu, Should we update the document as the requested below ?
Thanks. 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: Bryan Banister <[email protected]> To: gpfsug main discussion list <[email protected]> Date: 05/22/2018 04:52 AM Subject: Re: [gpfsug-discuss] How to clear explicitly set quotas Sent by: [email protected] Quick update. Thanks to a colleague of mine, John Valdes, there is a way to specify the file system + fileset + user with this form: mmedquota -d -u <filesystem>:<fileset>:<user> It’s just not documented in the man page or shown in the examples. Docs need to be updated! -Bryan From: [email protected] [ mailto:[email protected]] On Behalf Of Bryan Banister Sent: Tuesday, May 15, 2018 11:00 AM To: gpfsug main discussion list <[email protected]> Subject: Re: [gpfsug-discuss] How to clear explicitly set quotas Note: External Email Unfortunately it doesn’t look like there is a way to target a specific quota. So for cluster with many file systems and/or many filesets in each file system, clearing the quota entries affect all quotas in all file systems and all filesets. This means that you have to clear them all and then reapply the explicit quotas that you need to keep. # mmedquota -h Usage: mmedquota -d {-u User ... | -g Group ... | -j Device:Fileset ... } Maybe RFE time, or am I missing some other existing solution? -Bryan From: [email protected] [ mailto:[email protected]] On Behalf Of Bryan Banister Sent: Tuesday, May 15, 2018 10:36 AM To: gpfsug main discussion list <[email protected]> Subject: Re: [gpfsug-discuss] How to clear explicitly set quotas Note: External Email That was it! Thanks! # mmrepquota -v fpi_test02:root --block-size G *** Report for USR GRP quotas on fpi_test02 Block Limits | File Limits Name fileset type GB quota limit in_doubt grace | files quota limit in_doubt grace entryType root root USR 243 0 0 0 none | 248 0 0 0 none default on bbanister root USR 84 0 0 0 none | 21 0 0 0 none e root root GRP 243 0 0 0 none | 248 0 0 0 none default on # mmedquota -d -u bbanister # # mmrepquota -v fpi_test02:root --block-size G *** Report for USR GRP quotas on fpi_test02 Block Limits | File Limits Name fileset type GB quota limit in_doubt grace | files quota limit in_doubt grace entryType root root USR 243 0 0 0 none | 248 0 0 0 none default on bbanister root USR 84 0 0 0 none | 21 0 0 0 none d_fset root root GRP 243 0 0 0 none | 248 0 0 0 none default on Note that " Try disabling and re-enabling default quotas with the -d option for that fileset " didn't fix this issue. Cheers, -Bryan -----Original Message----- From: [email protected] [ mailto:[email protected]] On Behalf Of Peter Serocka Sent: Monday, May 14, 2018 4:52 PM To: gpfsug main discussion list <[email protected]> Subject: Re: [gpfsug-discuss] How to clear explicitly set quotas Note: External Email ------------------------------------------------- check out the -d option for the mmedquota command: "Reestablish default quota limits for a specific user, group, or fileset that had an explicit quota limit set by a previous invocation of the mmedquota command.” --Peter > On 2018 May 14 Mon, at 22:29, Bryan Banister <[email protected]> wrote: > > Hi all, > > I got myself into a situation where I was trying to enable a default user quota on a fileset and remove the existing quotas for all users in that fileset. But I used the `mmsetquota <fs>:<fileset> --user <user> --block 0:0` command and now it says that I have explicitly set this quota. > > Is there a way to remove a user quota entry so that it will adhere to the default user quota that I now have defined? > > Can’t find anything in man pages, thanks! > -Bryan > > > 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. > _______________________________________________ > gpfsug-discuss mailing list > gpfsug-discuss at spectrumscale.org > http://gpfsug.org/mailman/listinfo/gpfsug-discuss _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss 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. 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. 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. _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
