Re: [Networker] Remote admin of Windows drives
2006-07-04 08:28:29
On Jul 4, 2006, at 8:08 AM, Stuart Whitby wrote:
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?
You probably need to look at how each command line terminates, but it
seems to me, this would be much easier if you did it directly on the
Windows server. You can install the cygwin utilities on your Windows
server so you get all the C shell perks that Unix brings to the table.
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
|
|
|