This post is more than 5 years old
39 Posts
0
1614
soft-grace syntax
Hello,
Can someone tell me the CLI syntax to specify 9999 days for the --soft-grace option of the isi quota quotas command? I've tried
isi quota quotas modify --path --type directory --soft-grace 9999, but it doesn't modify the duration.
The CLI guide lists this, but I have to clue how to interpret it:
Specify in the following format.
in the following format:
- -
as one of the following values.
Y — Specifies years
M — Specifies months
W — Specifies weeks
D — Specifies days
h — Specifies hours
s — Specifies seconds
Regards,
Sue Flood
dynamox
1 Rookie
1 Rookie
•
20.4K Posts
0
September 25th, 2014 13:00
isi quota quotas create --container=yes --enforced yes --hard-threshold=100G --include-snapshots=no --soft-threshold=90G --soft-grace=9999D --type=directory --path /ifs/data/n2isilonpoc/ts/documents
SueF1
39 Posts
0
September 25th, 2014 12:00
I get the following error:
Unknown time unit d
Sue Flood
SueF1
39 Posts
0
September 25th, 2014 12:00
Tried that and it appeared to work (no error returned), but it did not make the modification. That directory still has a grace period of 7 days (1W).
Sue Flood
dynamox
1 Rookie
1 Rookie
•
20.4K Posts
0
September 25th, 2014 12:00
try 27Y4M3W3D instead of 9999D
SueF1
39 Posts
0
September 25th, 2014 12:00
Here is the whole output:
isi quota quotas modify --path /ifs/NFS/EDR111 --soft-grace=9999d
Unknown time unit d
Sue Flood
Technology Consultant, FDA Account
US Public Sector
HP Enterprise Services
sue.flood@hp.com
T +1 704 549 5490
M +1 704 634 9866
Hewlett-Packard Company
Suite 200W
10101 Claude Freeman Dr.
Charlotte, NC 28262
USA
dynamox
1 Rookie
1 Rookie
•
20.4K Posts
1
September 25th, 2014 12:00
--soft-grace=9999D
dynamox
1 Rookie
1 Rookie
•
20.4K Posts
0
September 25th, 2014 13:00
change modify instead of create
SueF1
39 Posts
0
September 25th, 2014 14:00
isi quota quotas modify --container=yes --enforced yes --hard-threshold=1.4648T --include-snapshots=no --soft-threshold=1.3916T --soft-grace=9999d --type=directory --path /ifs/NFS/CHDC/INTRANET/PRE/DCTM/492/EDR114
Unknown time unit d
What am I doing wrong?
Sue Flood
peglarr
99 Posts
1
September 25th, 2014 14:00
SUE,
it is is right there in the guide...
use D (upper case D), not lower case. Lower case fails with the error you see. Upper case works.
try it...
cheers
Rob
Anonymous User
170 Posts
0
September 26th, 2014 06:00
The fact that it's case-sensitive really is annoying...
Additionally, if you're looking to set a soft-grace to 9999 days, that's probably not what you want anyway. Look at the advisory threshold which can send out the email alerts but never prevent a write. There is no grace period associated with the advisory thresholds.
SueF1
39 Posts
0
September 29th, 2014 10:00
Are all of these parameters are necessary just to modify the soft grace period?
Thanks,
Sue
dynamox
1 Rookie
1 Rookie
•
20.4K Posts
1
September 29th, 2014 11:00
looks like this is the minimum that it expects to actually change the value for soft grace
isi quota quotas modify --soft-grace=111D --type=directory --soft-threshold=90G --path /ifs/data/n2isilonpoc/ts/documents
SueF1
39 Posts
0
September 29th, 2014 12:00
That's better! Thanks for all the input, it has been very helpful!
Regards,
Sue
dynamox
1 Rookie
1 Rookie
•
20.4K Posts
0
September 30th, 2014 07:00
Sue,
i don't know what version of OneFS you are using but i saw this note in the release notes (fixed bug section) for 7.1.1.1 released yesterday.