[gpfsug-discuss] fix mmrepquota report format during grace periods

Oesterlin, Robert Robert.Oesterlin at nuance.com
Tue Mar 28 15:54:42 BST 2017


Try running it with the “-Y” option, it returns an easily to read output:
mmrepquota -Y dns
mmrepquota::HEADER:version:reserved:reserved:filesystemName:quotaType:id:name:blockUsage:blockQuota:blockLimit:blockInDoubt:blockGrace:filesUsage:filesQuota:filesLimit:filesInDoubt:filesGrace:remarks:quota:defQuota:fid:filesetname:
mmrepquota::0:1:::dns:USR:0:root:0:0:0:0:none:1:0:0:0:none:i:on:off:0:root:
mmrepquota::0:1:::dns:USR:0:root:0:0:0:0:none:1:0:0:0:none:i:on:off:1:users:
mmrepquota::0:1:::dns:GRP:0:root:0:0:0:0:none:1:0:0:0:none:i:on:off:0:root:
mmrepquota::0:1:::dns:GRP:0:root:0:0:0:0:none:1:0:0:0:none:i:on:off:1:users:
mmrepquota::0:1:::dns:FILESET:0:root:0:0:0:0:none:1:0:0:0:none:i:on:off:::
mmrepquota::0:1:::dns:FILESET:1:users:0:4294967296:4294967296:0:none:1:0:0:0:none:e:on:off:::

Bob Oesterlin
Sr Principal Storage Engineer, Nuance

 

On 3/28/17, 9:47 AM, "gpfsug-discuss-bounces at spectrumscale.org on behalf of Jaime Pinto" <gpfsug-discuss-bounces at spectrumscale.org on behalf of pinto at scinet.utoronto.ca> wrote:

    Any chance you guys in the GPFS devel team could patch the mmrepquota  
    code so that during grace periods the report column for "none" would  
    still be replaced with >>>*ONE*<<< word? By that I mean, instead of "2  
    days" for example, just print "2-days" or "2days" or "2_days", and so  
    on.
    
    I have a number of scripts that fail for users when they are over  
    their quotas under grace periods, because the report shifts the  
    remaining information for that user 1 column to the right.
    
    Obviously it would cost me absolutely nothing to patch my scripts to  
    deal with this, however the principle here is that the reports  
    generated by GPFS should be the ones keeping consistence.
    
    Thanks
    Jaime
    
    
    
    
              ************************************
               TELL US ABOUT YOUR SUCCESS STORIES
              https://urldefense.proofpoint.com/v2/url?u=http-3A__www.scinethpc.ca_testimonials&d=DwICAg&c=djjh8EKwHtOepW4Bjau0lKhLlu-DxM1dlgP0rrLsOzY&r=LPDewt1Z4o9eKc86MXmhqX-45Cz1yz1ylYELF9olLKU&m=PnZlzkqTEICwnHCIZvUgTr2CN-RqtzNsKbADKWCeLhA&s=TVGnqMwSWqNI1Vu1BlCcwXiVGsLUO9ZnbqlasVmT2HU&e= 
              ************************************
    ---
    Jaime Pinto
    SciNet HPC Consortium - Compute/Calcul Canada
    www.scinet.utoronto.ca - www.computecanada.ca
    University of Toronto
    661 University Ave. (MaRS), Suite 1140
    Toronto, ON, M5G1M1
    P: 416-978-2755
    C: 416-505-1477
    
    ----------------------------------------------------------------
    This message was sent using IMP at SciNet Consortium, University of Toronto.
    
    _______________________________________________
    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=djjh8EKwHtOepW4Bjau0lKhLlu-DxM1dlgP0rrLsOzY&r=LPDewt1Z4o9eKc86MXmhqX-45Cz1yz1ylYELF9olLKU&m=PnZlzkqTEICwnHCIZvUgTr2CN-RqtzNsKbADKWCeLhA&s=AXRwDMAVkYdwEaSFzejLQzNnS-KXoKj9GauzeEuu2H8&e= 
    



More information about the gpfsug-discuss mailing list