Hi All,

I appreciate the time several of you have taken to respond to my inquiry.  
However, unless I’m missing something - and my apologies if I am - none so far 
appear to allow me to obtain the list of junction paths as a non-root user.  
Yes, mmlsquota shows all the filesets.  But from there I need to then be able 
to find out where that fileset is mounted in the directory tree so that I can 
see who the owner and group of that directory are.  Only if the user running 
the script is either the owner or a member of the group do I want to display 
the fileset quota for that fileset to the user.

Thanks again…

Kevin

On Jan 11, 2019, at 10:24 AM, Jeffrey R. Lang 
<[email protected]<mailto:[email protected]>> wrote:

What we do is the use “mmlsquota -Y <device>” which will list out all the 
filesets in an easily parseable format.   And the command can be run by the 
user.


From: 
[email protected]<mailto:[email protected]>
 
<[email protected]<mailto:[email protected]>>
 On Behalf Of Peter Childs
Sent: Friday, January 11, 2019 6:50 AM
To: [email protected]<mailto:[email protected]>
Subject: Re: [gpfsug-discuss] Get list of filesets _without_ running 
mmlsfileset?

◆ This message was sent from a non-UWYO address. Please exercise caution when 
clicking links or opening attachments from external sources.

We have a similar issue, I'm wondering if getting mmlsfileset to work as a user 
is a reasonable "request for enhancement" I suspect it would need better 
wording.


We too have a rather complex script to report on quota's that I suspect does a 
similar job. It works by having all the filesets mounted in known locations and 
names matching mount point names. It then works out which ones are needed by 
looking at the group ownership, Its very slow and a little cumbersome. Not 
least because it was written ages ago in a mix of bash, sed, awk and find.








On Tue, 2019-01-08 at 22:12 +0000, Buterbaugh, Kevin L wrote:
Hi All,

Happy New Year to all!  Personally, I’ll gladly and gratefully settle for 2019 
not being a dumpster fire like 2018 was (those who attended my talk at the user 
group meeting at SC18 know what I’m referring to), but I certainly wish all of 
you the best!

Is there a way to get a list of the filesets in a filesystem without running 
mmlsfileset?  I was kind of expecting to find them in one of the config files 
somewhere under /var/mmfs but haven’t found them yet in the searching I’ve done.

The reason I’m asking is that we have a Python script that users can run that 
needs to get a list of all the filesets in a filesystem.  There are obviously 
multiple issues with that, so the workaround we’re using for now is to have a 
cron job which runs mmlsfileset once a day and dumps it out to a text file, 
which the script then reads.  That’s sub-optimal for any day on which a fileset 
gets created or deleted, so I’m looking for a better way … one which doesn’t 
require root privileges and preferably doesn’t involve running a GPFS command 
at all.

Thanks in advance.

Kevin

P.S.  I am still working on metadata and iSCSI testing and will report back on 
that when complete.
P.P.S.  We ended up adding our new NSDs comprised of (not really) 12 TB disks 
to the capacity pool and things are working fine.

—
Kevin Buterbaugh - Senior System Administrator
Vanderbilt University - Advanced Computing Center for Research and Education
[email protected]<mailto:[email protected]> - 
(615)875-9633



_______________________________________________

gpfsug-discuss mailing list

gpfsug-discuss at spectrumscale.org<http://spectrumscale.org/>

http://gpfsug.org/mailman/listinfo/gpfsug-discuss<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fmailman%2Flistinfo%2Fgpfsug-discuss&data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7Cee10c1e22a474fedceb408d678318231%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C1%7C636828551398045995&sdata=m0nd3Ln0qalNEUCGQmj%2B2ZEQXYCTPzKiYJcSmFXkGZQ%3D&reserved=0>



--

Peter Childs
ITS Research Storage
Queen Mary, University of London

_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org<http://spectrumscale.org/>
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fmailman%2Flistinfo%2Fgpfsug-discuss&amp;data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7Cee10c1e22a474fedceb408d678318231%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C1%7C636828551398056004&amp;sdata=F56RKhMef0zYjAj2dKFu3bAuq7xQvFoulYhwDnfN1Ms%3D&amp;reserved=0

_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss

Reply via email to