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]>
[mailto:[email protected]] On Behalf Of Peter Serocka
Sent: Monday, May 14, 2018 4:52 PM
To: gpfsug main discussion list
<[email protected]<mailto:[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]<mailto:[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.
_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss