Networker

Re: [Networker] Remote admin of Windows drives

2006-07-04 08:18:46
Subject: Re: [Networker] Remote admin of Windows drives
From: "Krishnan, Ramamurthy" <Ramamurthy.Krishnan AT KPMG.CO DOT UK>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Tue, 4 Jul 2006 13:17:58 +0100
Try assigning the tape name to a variable and execute the command..
Something like

# td='\\\.\Tape0'
# nsrmm -s <server> -f "$td"

HTH

Rgds, Ram.

-----Original Message-----
From: Legato NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU]
On Behalf Of Stuart Whitby
Sent: 04 July 2006 13:09
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: [Networker] Remote admin of Windows drives

Frustrating.
 
I'm trying to write a script which will run on one of our Unix servers
to recycle tapes on a Windows NetWorker Server.  However, I can't pass
the \\.\Tape0 across correctly.
 
At present, the closest I can get is to do something along the lines of:
  nsrmm -s <server> -f \\\\\\\\.\\\\Tape0 to try to pass the correct
device name.  If I echo that string on the Solaris server from which
I'll be running this script it comes back as \\.\Tape0, but it doesn't
seem to get picked up by the remote system that way.  Naturally, the
remote server stores this name as \\\\.\\Tape0, but even the appropriate
\\\\\\\\.\\\\Tape0 or maybe
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\.\\\\\\\\\\\\\\\\Tape0 doesn't allow me
to address this drive.
 
\\\\\\\\\\\\\\\\\\\\\\\\Any clues?
 
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\Cheers,
 
\\\\\\\\\\\\\\\\Stuart.

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 wit 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



This email has been sent from KPMG LLP, a UK limited liability partnership, or 
from one of the companies within its control (which include KPMG Audit Plc , 
KPMG United Kingdom Plc and KPMG UK Limited). The information in this email is 
confidential and may be legally privileged. It is intended solely for the 
addressee.  Access to this email by anyone else is unauthorised.  If you are 
not the intended recipient, any disclosure, copying, distribution or any action 
taken or omitted to be taken in reliance on it, is prohibited and may be 
unlawful.  When addressed to our clients any opinions or advice contained in 
this email are subject to the terms and conditions expressed in the governing 
KPMG client engagement letter.

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
wit 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>