[gpfsug-discuss] How to clear explicitly set quotas

Kuei-Yu Wang-Knop kywang at us.ibm.com
Mon May 14 23:12:48 BST 2018


Try  disabling and re-enabling default quotas withthe  -d option for that
fileset.

mmdefquotaon command

Activates default quota limit usage.

Synopsis

mmdefquotaon [‐u] [‐g] [‐j] [‐v] [‐d] {Device [Device... ] | ‐a}

or

mmdefquotaon [‐u] [‐g] [‐v] [‐d] {Device:Fileset ... | ‐a}

...
‐d
         Assigns default quota limits to existing users, groups,
         or filesets when the mmdefedquota command is
         issued.

         When ‐‐perfileset‐quota is not in effect for the
         file system, this option will only affect existing
         users, groups, or filesets with no established quota
         limits.

         When ‐‐perfileset‐quota is in effect for the file
         system, this option will affect existing users, groups,
         or filesets with no established quota limits, and it
         will also change existing users or groups that refer to
         default quotas at the file system level into users or
         groups that refer to fileset‐level default quota. For
         more information about default quota priorities, see the
         following IBM Spectrum Scale: Administration and
         Programming Reference topic: Default quotas.

         If this option is not chosen, existing quota entries
         remain in effect and are not governed by the default
         quota rules.



Kuei-Yu Wang-Knop
IBM Scalable I/O development




From:	Bryan Banister <bbanister at jumptrading.com>
To:	"gpfsug main discussion list
            (gpfsug-discuss at spectrumscale.org)"
            <gpfsug-discuss at spectrumscale.org>
Date:	05/14/2018 04:29 PM
Subject:	[gpfsug-discuss] How to clear explicitly set quotas
Sent by:	gpfsug-discuss-bounces at spectrumscale.org



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







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20180514/796bc4e2/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20180514/796bc4e2/attachment.gif>


More information about the gpfsug-discuss mailing list