1) One way you can set the grace period to none by setting the soft and hard quotas to the same value.

 

2) By removing any quota setting, do you mean unlimited quota? Which is just setting it (quota) to zero. (meaning unlimited)

 

Bob Oesterlin

Sr Principal Storage Engineer, Nuance

 

From: <gpfsug-discuss-bounces@spectrumscale.org> on behalf of Keith Ball <bipcuds@gmail.com>
Reply-To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org>
Date: Thursday, December 7, 2017 at 4:49 PM
To: "gpfsug-discuss@spectrumscale.org" <gpfsug-discuss@spectrumscale.org>
Subject: [EXTERNAL] [gpfsug-discuss] Working with per-fileset quotas

 

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?)