[gpfsug-discuss] mmlsquota output

Robert Horton robert.horton at icr.ac.uk
Mon Mar 25 09:52:18 GMT 2019


I don't know the answer to your actual question, but have you thought
about using the REST-API rather than parsing the command outputs? I can
send over the Python stuff we're using if you mail me off list.

Rob

On Mon, 2019-03-25 at 09:38 +0000, Peter Childs wrote:
> Can someone tell me I'm not reading this wrong.
> 
> This is using Spectrum Scale 5.0.2-1
> 
> It looks like the output from mmlsquota is not what it says 
> 
> In the man page it says,
> 
> mmlsquota [-u User | -g Group] [-v | -q] [-e] [-C ClusterName]
>           [-Y] [--block-size {BlockSize | auto}] [Device[:Fileset]
> ...]
> 
> however
> 
> mmlsquota -u username fs:fileset
> 
> Return the output for every fileset, not just the "fileset" I've
> asked
> for, this is same output as 
> 
> mmlsquota -u username fs
> 
> Where I've not said the fileset.
> 
> I can work around this, but I'm just checking this is not actually a
> bug, that ought to be fixed.
> 
> Long story is that I'm working on rewriting our quota report util
> that
> used be a long bash/awk script into a more easy to understand python
> script, and I want to get the user quota info for just one fileset. 
> 
> Thanks in advance.
> 
> 
-- 
Robert Horton | Research Data Storage Lead
The Institute of Cancer Research | 237 Fulham Road | London | SW3 6JB
T +44 (0)20 7153 5350 | E robert.horton at icr.ac.uk | W www.icr.ac.uk |
Twitter @ICR_London
Facebook: www.facebook.com/theinstituteofcancerresearch

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.

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.


More information about the gpfsug-discuss mailing list