<div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:12pt" ><div dir="ltr" >It seems like a defect so I suggest you submit a help case for it.  If you are parsing the output you should consider using the -Y option since that should simplify any parsing.  I do not know if the mmrepquota command would be helpful to you but it is worth taking a look.</div>
<div dir="ltr" ><div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:10.5pt" ><div dir="ltr" ><br><span style="font-size:1.143em;" >Fred<br>__________________________________________________<br>Fred Stock | IBM Pittsburgh Lab | 720-430-8821<br>stockf@us.ibm.com</span></div></div></div>
<div dir="ltr" > </div>
<div dir="ltr" > </div>
<blockquote data-history-content-modified="1" dir="ltr" style="border-left:solid #aaaaaa 2px; margin-left:5px; padding-left:5px; direction:ltr; margin-right:0px" >----- Original message -----<br>From: Robert Horton <robert.horton@icr.ac.uk><br>Sent by: gpfsug-discuss-bounces@spectrumscale.org<br>To: "gpfsug-discuss@spectrumscale.org" <gpfsug-discuss@spectrumscale.org><br>Cc:<br>Subject: Re: [gpfsug-discuss] mmlsquota output<br>Date: Mon, Mar 25, 2019 6:06 AM<br> 
<div><font size="2" face="Default Monospace,Courier New,Courier,monospace" >I don't know the answer to your actual question, but have you thought<br>about using the REST-API rather than parsing the command outputs? I can<br>send over the Python stuff we're using if you mail me off list.<br><br>Rob<br><br>On Mon, 2019-03-25 at 09:38 +0000, Peter Childs wrote:<br>> Can someone tell me I'm not reading this wrong.<br>><br>> This is using Spectrum Scale 5.0.2-1<br>><br>> It looks like the output from mmlsquota is not what it says<br>><br>> In the man page it says,<br>><br>> mmlsquota [-u User | -g Group] [-v | -q] [-e] [-C ClusterName]<br>>           [-Y] [--block-size {BlockSize | auto}] [Device[:Fileset]<br>> ...]<br>><br>> however<br>><br>> mmlsquota -u username fs:fileset<br>><br>> Return the output for every fileset, not just the "fileset" I've<br>> asked<br>> for, this is same output as<br>><br>> mmlsquota -u username fs<br>><br>> Where I've not said the fileset.<br>><br>> I can work around this, but I'm just checking this is not actually a<br>> bug, that ought to be fixed.<br>><br>> Long story is that I'm working on rewriting our quota report util<br>> that<br>> used be a long bash/awk script into a more easy to understand python<br>> script, and I want to get the user quota info for just one fileset.<br>><br>> Thanks in advance.<br>><br>><br>--<br>Robert Horton | Research Data Storage Lead<br>The Institute of Cancer Research | 237 Fulham Road | London | SW3 6JB<br>T +44 (0)20 7153 5350 | E robert.horton@icr.ac.uk | W www.icr.ac.uk |<br>Twitter @ICR_London<br>Facebook: www.facebook.com/theinstituteofcancerresearch<br><br>The Institute of Cancer Research: Royal Cancer Hospital, a charitable Company Limited by Guarantee, Registered in England under Company No. 534147 with its Registered Office at 123 Old Brompton Road, London SW7 3RP.<br><br>This e-mail message is confidential and for use by the addressee only.  If the message is received by anyone other than the addressee, please return the message to the sender by replying to it and then delete the message from your computer and network.<br>_______________________________________________<br>gpfsug-discuss mailing list<br>gpfsug-discuss at spectrumscale.org<br><a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss" target="_blank">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a></font><br> </div></blockquote>
<div dir="ltr" > </div></div><BR>