Networker

Re: [Networker] File type device availability?

2010-07-28 17:46:15
Subject: Re: [Networker] File type device availability?
From: Mathew Harvest <Mathew.HARVEST AT COMMUNITIES.QLD.GOV DOT AU>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Thu, 29 Jul 2010 07:43:37 +1000
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;



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
Tomorrow's Queensland: strong, green, smart, healthy and fair -
www.towardQ2.qld.gov.au


********************************* DISCLAIMER
********************************* 

The information contained in the above e-mail message or messages
(which includes any attachments) is confidential and may be legally
privileged. It is intended only for the use of the person or entity
to which it is addressed. If you are not the addressee any form of
disclosure, copying, modification, distribution or any action taken
or omitted in reliance on the information is unauthorised. Opinions
contained in the message(s) do not necessarily reflect the opinions
of the Queensland Government and its authorities. If you received
this communication in error, please notify the sender immediately
and delete it from your computer system network. 

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>