[gpfsug-discuss] translating /dev device into nsd name

Eric Horst erich at uw.edu
Sat Dec 17 04:55:00 GMT 2016


Perhaps this:

 mmlsnsd -m

-Eric


On Fri, Dec 16, 2016 at 8:24 PM, Aaron Knister <aaron.s.knister at nasa.gov>
wrote:

> Hi Everyone,
>
> I'm curious about the most straightforward and fastest way to identify
> what NSD a given /dev device is. The best I can come up with is
> "tspreparedisk -D device_name" which gives me something like:
>
> tspreparedisk:0:0A6535145840E2A6:/dev/dm-134::::::0:
>
> that I can then parse and map the nsd id to the nsd name. I hesitate
> calling ts* commands directly and I admit it's perhaps an irrational fear,
> but I associate the -D flag with "delete" in my head and am afraid that
> some day -D may be just that and *poof* there go my NSD descriptors.
>
> Is there a cleaner way?
>
> -Aaron
>
> --
> Aaron Knister
> NASA Center for Climate Simulation (Code 606.2)
> Goddard Space Flight Center
> (301) 286-2776
> _______________________________________________
> gpfsug-discuss mailing list
> gpfsug-discuss at spectrumscale.org
> http://gpfsug.org/mailman/listinfo/gpfsug-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20161216/502d5eb5/attachment.htm>


More information about the gpfsug-discuss mailing list