[gpfsug-discuss] Working with per-fileset quotas
Truong Vu
truongv at us.ibm.com
Fri Dec 8 15:41:04 GMT 2017
1) That is correct. The grace period can't be set for per-fileset
quota. As you pointed out, you can only change the grace period for
user, group or fileset.
If you want a particular fileset to have no grace period, you can
set the hard limit to be the same as the soft limit.
When the grace column shows "none", this means the soft limit has
not been reached. Once the soft limit is reached, the grace period
is start counting.
2) To remove explicit quota settings, you need to set the limit to 0.
From: gpfsug-discuss-request at spectrumscale.org
To: gpfsug-discuss at spectrumscale.org
Date: 12/08/2017 07:00 AM
Subject: gpfsug-discuss Digest, Vol 71, Issue 19
Sent by: gpfsug-discuss-bounces at spectrumscale.org
Send gpfsug-discuss mailing list submissions to
gpfsug-discuss at spectrumscale.org
To subscribe or unsubscribe via the World Wide Web, visit
https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listinfo_gpfsug-2Ddiscuss&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=HQmkdQWQHoc1Nu6Mg_g8NVugim3OiUUy5n0QgLQcbkM&m=5OySIaqfU0j1miWKKp6aydLjiGbE8z5pDz5JGveRRlQ&s=HKXwjIgPAsNTzNSL3-FrvHAXVyvZdzGYugbZgJ3FvMI&e=
or, via email, send a message with subject or body 'help' to
gpfsug-discuss-request at spectrumscale.org
You can reach the person managing the list at
gpfsug-discuss-owner at spectrumscale.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of gpfsug-discuss digest..."
Today's Topics:
1. Working with per-fileset quotas (Keith Ball)
----------------------------------------------------------------------
Message: 1
Date: Thu, 7 Dec 2017 17:48:49 -0500
From: Keith Ball <bipcuds at gmail.com>
To: gpfsug-discuss at spectrumscale.org
Subject: [gpfsug-discuss] Working with per-fileset quotas
Message-ID:
<CAAxuGpHj
+4z6cLff69Z25CqfUaTWFjoV9vNGWhHSEUqWgWOZ9w at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hi All,
In working with per-fileset quotas (not user/group/fileset quotas at the
filesystem level), I have the follwing issues/questions.
1.) Setting grace periods. I notice that some of the group quotas in a
specific fileset have a grace period (or remaining grace period) of X days,
while others report "none":
# mmrepquota -g --block-size G hpc-fs:fileset01
Block Limits
| File Limits
Name fileset type GB quota limit
in_doubt grace | files quota limit in_doubt grace
groupa fileset01 GRP 2257 2 2
0 4 days | 143 100 100 0 4 days
root fileset01 GRP 710 0 0
0 none | 15578 0 0 0 none
groupb fileset01 GRP 2106 400 400 0 4
days | 1 1048576 1048576 0 none
...
How can I set a grace period of "none" on group quotas? mmsetquota does not
appear (from the man pages) to provide any way to set grace periods for
per-fileset quotas:
mmsetquota Device ??grace {user | group | fileset}
{[??block GracePeriod] [??files GracePeriod]}
How can I set to "none" or "0days"? (i.e. no grace period given if over
quota). Or, for that matter, set grace periods for any duration at all?
2.) How to remove any explicit quota settings for (not just deactivating
default quota settings) at the per-fileset level. The mmdefquotaoff docs
seem to suggest that the ?-d? option will not remove explicit per-fileset
quota settings if they are non-zero (so really, what use is the -d option
then?)
Many Thanks!
Keith
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_pipermail_gpfsug-2Ddiscuss_attachments_20171207_b790fd92_attachment-2D0001.html&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=HQmkdQWQHoc1Nu6Mg_g8NVugim3OiUUy5n0QgLQcbkM&m=5OySIaqfU0j1miWKKp6aydLjiGbE8z5pDz5JGveRRlQ&s=-DNcYGwFlUrOQZsZ9yQAYBdVv46u1xxeA4wJ2-VxQ_A&e=
>
------------------------------
_______________________________________________
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=HQmkdQWQHoc1Nu6Mg_g8NVugim3OiUUy5n0QgLQcbkM&m=5OySIaqfU0j1miWKKp6aydLjiGbE8z5pDz5JGveRRlQ&s=HKXwjIgPAsNTzNSL3-FrvHAXVyvZdzGYugbZgJ3FvMI&e=
End of gpfsug-discuss Digest, Vol 71, Issue 19
**********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20171208/790f55b2/attachment-0002.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/20171208/790f55b2/attachment-0002.gif>
More information about the gpfsug-discuss
mailing list