Networker

Re: [Networker] File type device availability?

2010-07-28 18:52:21
Subject: Re: [Networker] File type device availability?
From: George Sinclair <George.Sinclair AT NOAA DOT GOV>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Wed, 28 Jul 2010 18:50:39 -0400
Mathew Harvest wrote:
Hey George,

You can find out via an nsradmin query, the volume name will be blank if the 
device is unmounted.

----- the device is unmounted

nsradmin> show volume name
nsradmin> print type:nsr device;media type:adv_file;name:/global/datac/legato
                 volume name: ;

----- the device is mounted

nsradmin> print type:nsr device;media type:adv_file;name:/global/datac/legato
                 volume name: b2d.dc105ucsmsv01.c;


Eureka! That's it! Thanks.

George



Mat.


-----Original Message-----
From: EMC NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] On 
Behalf Of George Sinclair
Sent: Thursday, 29 July 2010 4:19 AM
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: [Networker] File type device availability?

How in a script can you determine if a file type device volume is mounted and available?

I notice that 'location' doesn't report these volumes from mminfo. Likewise, 'near' doesn't apply. How would the script know that it's mounted before it tries to access it?

George



--
George Sinclair
Voice: (301) 713-3284 x210
- The preceding message is personal and does not reflect any official or unofficial position of the United States Department of Commerce -
- Any opinions expressed in this message are NOT those of the US Govt. -

To sign off this list, send email to listserv AT listserv.temple DOT edu and type 
"signoff networker" in the body of the email. Please write to networker-request 
AT listserv.temple DOT edu if you have any problems with this list. You can access the 
archives at http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

<Prev in Thread] Current Thread [Next in Thread>