Hi Marc (All),

Yes, I can easily determine where filesets are linked here … it is, as you 
said, in just one or two paths.  The script as it stands now has been doing 
that for several years and only needs a couple of relatively minor tweaks to be 
even more useful to _us_ by whittling down a couple of edge cases relating to 
fileset creation / deletion.

However … there was a request to share the script with the broader community … 
something I’m willing to do if I can get it in a state where it would be useful 
to others with little or no modification.  Anybody who’s been on this list for 
any length of time knows how much help I’ve received from the community over 
the years.  I truly appreciate that and would like to give back, even in a 
minor way, if possible.

But in order to do that the script can’t be full of local assumptions … that’s 
it in a nutshell … that’s why I want to programmatically determine the junction 
path at run time as a non-root user.

I’ll also mention here that early on in this thread Simon Thompson suggested 
looking into the REST API.  Sure enough, you can get the information that way … 
but, AFAICT, that would require the script to contain a username / password 
combination that would allow anyone with access to the script to then use that 
authentication information to access other information within GPFS that we 
probably don’t want them to have access to.  If I’m mistaken about that, then 
please feel free to enlighten me.

Thanks again…

Kevin

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

On Jan 15, 2019, at 8:46 AM, Marc A Kaplan 
<[email protected]<mailto:[email protected]>> wrote:

Personally, I agree that there ought to be a way in the product.

In the meawhile, you no doubt already have some ways to tell your users where 
to find their filesets as pathnames.
Otherwise, how are they accessing their files?

And to keep things somewhat sane, I'd bet filesets are all linked to one or 
small number of well known paths in the filesystem.
Like  /AGpfsFilesystem/filesets/...  Plus you could add symlinks and/or as has 
been suggested post info extracted from mmlsfileset and/or mmlsquota.

So as a practical matter, is this an urgent problem...?  Why?  How?
_______________________________________________
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%7Cbd2c28fdb60041f3434e08d67af83b11%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636831603904557717&amp;sdata=A74TTq%2FQvyhEMHaolklbiMAEnaGVuHNiyhVYfn4wRek%3D&amp;reserved=0

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

Reply via email to