<font size=3 face="sans-serif">My understanding is that with the upcoming
4.2.3 release the -Y option will be documented for many commands, but perhaps
not all.</font><br><br><br><font size=3 face="sans-serif">Fred<br>__________________________________________________<br>Fred Stock | IBM Pittsburgh Lab | 720-430-8821<br>stockf@us.ibm.com</font><br><br><br><br><font size=1 color=#5f5f5f face="sans-serif">From:      
 </font><font size=1 face="sans-serif">"Buterbaugh, Kevin
L" <Kevin.Buterbaugh@Vanderbilt.Edu></font><br><font size=1 color=#5f5f5f face="sans-serif">To:      
 </font><font size=1 face="sans-serif">gpfsug main discussion
list <gpfsug-discuss@spectrumscale.org></font><br><font size=1 color=#5f5f5f face="sans-serif">Date:      
 </font><font size=1 face="sans-serif">03/28/2017 11:35 AM</font><br><font size=1 color=#5f5f5f face="sans-serif">Subject:    
   </font><font size=1 face="sans-serif">Re: [gpfsug-discuss]
fix mmrepquota report format during grace periods</font><br><font size=1 color=#5f5f5f face="sans-serif">Sent by:    
   </font><font size=1 face="sans-serif">gpfsug-discuss-bounces@spectrumscale.org</font><br><hr noshade><br><br><br><tt><font size=2>All,<br><br>Could someone(s) from the GPFS team please:<br><br>1) see that the appropriate documentation gets updated (manuals, “-h”
option to commands, the man pages for the commands, etc.)?<br>2) let us know what version of GPFS introduced the undocumented “-Y”
option for mmrepquota and mmlsquota?<br><br>I’ve got numerous quota related scripts and I’m just curious to go back
and figure out how much time I’ve wasted because I didn’t know about
it.<br><br>These “unknown unknowns” bite us again…  ;-)<br><br>Kevin<br><br>> On Mar 28, 2017, at 10:11 AM, Simon Thompson (Research Computing -
IT Services) <S.J.Thompson@bham.ac.uk> wrote:<br>> <br>> I thought this was because the -Y flag was going into new commands
and<br>> being added to older commands during later releases.<br>> <br>> So it might be that it was added, but the docs not updated.<br>> <br>> Simon<br>> <br>> On 28/03/2017, 16:04, "gpfsug-discuss-bounces@spectrumscale.org
on behalf<br>> of Buterbaugh, Kevin L" <gpfsug-discuss-bounces@spectrumscale.org
on<br>> behalf of Kevin.Buterbaugh@Vanderbilt.Edu> wrote:<br>> <br>>> Ugh!  Of course, I¹m wrong Š mmlsquota does support the
³-Y² option Š<br>>> it¹s just not documented.  Why not????<br>>> <br>>> Kevin<br>>> <br>>>> On Mar 28, 2017, at 10:00 AM, Buterbaugh, Kevin L<br>>>> <Kevin.Buterbaugh@Vanderbilt.Edu> wrote:<br>>>> <br>>>> Hi Bob, Jaime, and GPFS team,<br>>>> <br>>>> That¹s great for mmrepquota, but mmlsquota does not have a
similar<br>>>> option AFAICT.  <br>>>> <br>>>> That has really caused me grief Š for example, I¹ve got a
Perl script<br>>>> that takes mmlsquota output for a user and does two things:
 1) converts<br>>>> it into something easier for them to parse, and 2) doesn¹t
display<br>>>> anything for the several dozen filesets they don¹t have access
to.  That<br>>>> Perl script is ~300 lines and probably about a third of that
is dealing<br>>>> with the grace period spacing issueŠ<br>>>> <br>>>> Kevin<br>>>> <br>>>>> On Mar 28, 2017, at 9:54 AM, Oesterlin, Robert<br>>>>> <Robert.Oesterlin@nuance.com> wrote:<br>>>>> <br>>>>> Try running it with the ³-Y² option, it returns an easily
to read<br>>>>> output:<br>>>>> mmrepquota -Y dns<br>>>>> <br>>>>> mmrepquota::HEADER:version:reserved:reserved:filesystemName:quotaType:id<br>>>>> :name:blockUsage:blockQuota:blockLimit:blockInDoubt:blockGrace:filesUsag<br>>>>> e:filesQuota:filesLimit:filesInDoubt:filesGrace:remarks:quota:defQuota:f<br>>>>> id:filesetname:<br>>>>> <br>>>>> mmrepquota::0:1:::dns:USR:0:root:0:0:0:0:none:1:0:0:0:none:i:on:off:0:ro<br>>>>> ot:<br>>>>> <br>>>>> mmrepquota::0:1:::dns:USR:0:root:0:0:0:0:none:1:0:0:0:none:i:on:off:1:us<br>>>>> ers:<br>>>>> <br>>>>> mmrepquota::0:1:::dns:GRP:0:root:0:0:0:0:none:1:0:0:0:none:i:on:off:0:ro<br>>>>> ot:<br>>>>> <br>>>>> mmrepquota::0:1:::dns:GRP:0:root:0:0:0:0:none:1:0:0:0:none:i:on:off:1:us<br>>>>> ers:<br>>>>> <br>>>>> mmrepquota::0:1:::dns:FILESET:0:root:0:0:0:0:none:1:0:0:0:none:i:on:off:<br>>>>> ::<br>>>>> <br>>>>> mmrepquota::0:1:::dns:FILESET:1:users:0:4294967296:4294967296:0:none:1:0<br>>>>> :0:0:none:e:on:off:::<br>>>>> <br>>>>> Bob Oesterlin<br>>>>> Sr Principal Storage Engineer, Nuance<br>>>>> <br>>>>> <br>>>>> <br>>>>> On 3/28/17, 9:47 AM, "gpfsug-discuss-bounces@spectrumscale.org
on<br>>>>> behalf of Jaime Pinto" <gpfsug-discuss-bounces@spectrumscale.org
on<br>>>>> behalf of pinto@scinet.utoronto.ca> wrote:<br>>>>> <br>>>>>  Any chance you guys in the GPFS devel team could
patch the<br>>>>> mmrepquota  <br>>>>>  code so that during grace periods the report column
for "none" would<br>>>>> <br>>>>>  still be replaced with >>>*ONE*<<<
word? By that I mean, instead of<br>>>>> "2  <br>>>>>  days" for example, just print "2-days"
or "2days" or "2_days", and<br>>>>> so  <br>>>>>  on.<br>>>>> <br>>>>>  I have a number of scripts that fail for users when
they are over<br>>>>>  their quotas under grace periods, because the report
shifts the<br>>>>>  remaining information for that user 1 column to
the right.<br>>>>> <br>>>>>  Obviously it would cost me absolutely nothing to
patch my scripts to<br>>>>> <br>>>>>  deal with this, however the principle here is that
the reports<br>>>>>  generated by GPFS should be the ones keeping consistence.<br>>>>> <br>>>>>  Thanks<br>>>>>  Jaime<br>>>>> <br>>>>> <br>>>>> <br>>>>> <br>>>>>            ************************************<br>>>>>             TELL US ABOUT
YOUR SUCCESS STORIES<br>>>>> <br>>>>> </font></tt><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.scinethpc.ca_tes"><tt><font size=2>https://urldefense.proofpoint.com/v2/url?u=http-3A__www.scinethpc.ca_tes</font></tt></a><tt><font size=2><br>>>>> timonials&d=DwICAg&c=djjh8EKwHtOepW4Bjau0lKhLlu-DxM1dlgP0rrLsOzY&r=LPDew<br>>>>> t1Z4o9eKc86MXmhqX-45Cz1yz1ylYELF9olLKU&m=PnZlzkqTEICwnHCIZvUgTr2CN-RqtzN<br>>>>> sKbADKWCeLhA&s=TVGnqMwSWqNI1Vu1BlCcwXiVGsLUO9ZnbqlasVmT2HU&e=<br>>>>>            ************************************<br>>>>>  ---<br>>>>>  Jaime Pinto<br>>>>>  SciNet HPC Consortium - Compute/Calcul Canada<br>>>>>  </font></tt><a href=www.scinet.utoronto.ca><tt><font size=2>www.scinet.utoronto.ca</font></tt></a><tt><font size=2>- </font></tt><a href=www.computecanada.ca><tt><font size=2>www.computecanada.ca</font></tt></a><tt><font size=2><br>>>>>  University of Toronto<br>>>>>  661 University Ave. (MaRS), Suite 1140<br>>>>>  Toronto, ON, M5G1M1<br>>>>>  P: 416-978-2755<br>>>>>  C: 416-505-1477<br>>>>> <br>>>>>  ----------------------------------------------------------------<br>>>>>  This message was sent using IMP at SciNet Consortium,
University of<br>>>>> Toronto.<br>>>>> <br>>>>>  _______________________________________________<br>>>>>  gpfsug-discuss mailing list<br>>>>>  gpfsug-discuss at spectrumscale.org<br>>>>> <br>>>>> </font></tt><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_l"><tt><font size=2>https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_l</font></tt></a><tt><font size=2><br>>>>> istinfo_gpfsug-2Ddiscuss&d=DwICAg&c=djjh8EKwHtOepW4Bjau0lKhLlu-DxM1dlgP0<br>>>>> rrLsOzY&r=LPDewt1Z4o9eKc86MXmhqX-45Cz1yz1ylYELF9olLKU&m=PnZlzkqTEICwnHCI<br>>>>> ZvUgTr2CN-RqtzNsKbADKWCeLhA&s=AXRwDMAVkYdwEaSFzejLQzNnS-KXoKj9GauzeEuu2H<br>>>>> 8&e= <br>>>>> <br>>>>> <br>>>>> _______________________________________________<br>>>>> gpfsug-discuss mailing list<br>>>>> gpfsug-discuss at spectrumscale.org<br>>>>> </font></tt><a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss"><tt><font size=2>http://gpfsug.org/mailman/listinfo/gpfsug-discuss</font></tt></a><tt><font size=2><br>>>> <br>>>> _______________________________________________<br>>>> gpfsug-discuss mailing list<br>>>> gpfsug-discuss at spectrumscale.org<br>>>> </font></tt><a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss"><tt><font size=2>http://gpfsug.org/mailman/listinfo/gpfsug-discuss</font></tt></a><tt><font size=2><br>>> <br>>> _______________________________________________<br>>> gpfsug-discuss mailing list<br>>> gpfsug-discuss at spectrumscale.org<br>>> </font></tt><a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss"><tt><font size=2>http://gpfsug.org/mailman/listinfo/gpfsug-discuss</font></tt></a><tt><font size=2><br>> <br>> _______________________________________________<br>> gpfsug-discuss mailing list<br>> gpfsug-discuss at spectrumscale.org<br>> </font></tt><a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss"><tt><font size=2>http://gpfsug.org/mailman/listinfo/gpfsug-discuss</font></tt></a><tt><font size=2><br><br>_______________________________________________<br>gpfsug-discuss mailing list<br>gpfsug-discuss at spectrumscale.org<br></font></tt><a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss"><tt><font size=2>http://gpfsug.org/mailman/listinfo/gpfsug-discuss</font></tt></a><tt><font size=2><br></font></tt><br><br><BR>