Networker

Re: [Networker] Need help loading/unloading tapes using SCSI commands -- correction on previous post

2004-02-06 16:32:07
Subject: Re: [Networker] Need help loading/unloading tapes using SCSI commands -- correction on previous post
From: George Sinclair <George.Sinclair AT NOAA DOT GOV>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Fri, 6 Feb 2004 16:32:41 -0500
In my previous posting I meant to say that the output, when the driver
dissappears, looks like this:

NetWorker: SYSTEM error: could not determine SCSI ID/LUN for device
'/dev/sg0' (No such device)
[email protected]:SEAGATE ULTRIUM06242-XXX1522|Tape, /dev/nst0
[email protected]:SEAGATE ULTRIUM06242-XXX1522|Tape, /dev/nst1
[email protected]:SEAGATE ULTRIUM06242-XXX1522|Tape, /dev/nst2
[email protected]:SEAGATE ULTRIUM06242-XXX1522|Tape, /dev/nst3

George

George Sinclair wrote:
>
> I guess the problem with using nsrjb is that it might not respond if
> there's already a hung nsrjb process running, and that can happen, so
> I'd like to be able to communicate directly with the picker without
> using nsrjb -- some way to get around the hung nsrjb process without
> rebooting the host. Trying to kill it does not always work.
>
> We've had problems with the sg driver entry for the picker just
> disappering on the Storagetek, and Legato needs this to be able to
> comminicate with the Adaptec driver. So, for example, instead of inquire
> reporting normal output like:
>
> [email protected]:STK     L80             0212|Autochanger
> (Jukebox),/dev/sg0
> [email protected]:SEAGATE ULTRIUM06242-XXX1522|Tape, /dev/nst0
> [email protected]:SEAGATE ULTRIUM06242-XXX1522|Tape, /dev/nst1
> [email protected]:SEAGATE ULTRIUM06242-XXX1522|Tape, /dev/nst2
> [email protected]:SEAGATE ULTRIUM06242-XXX1522|Tape, /dev/nst3
>
> you'll instead get something this:
>
> NetWorker: SYSTEM error: could not determine SCSI ID/LUN for device
> '/dev/sg0' (No such device)
> [email protected]:STK     L80             0212|Autochanger
> (Jukebox),/dev/sg0
> [email protected]:SEAGATE ULTRIUM06242-XXX1522|Tape, /dev/nst0
> [email protected]:SEAGATE ULTRIUM06242-XXX1522|Tape, /dev/nst1
> [email protected]:SEAGATE ULTRIUM06242-XXX1522|Tape, /dev/nst2
> [email protected]:SEAGATE ULTRIUM06242-XXX1522|Tape, /dev/nst3
>
> At this point, nsrjb isn't going to work, but I'm curious if the
> utilities like movemd or sjimm, etc. would still be able to? Do they
> communicate with the sg driver, too? Is there anyway to communicate
> directly with the picker from the OS?
>
> George
>
> Darren Dunham wrote:
> >
> > >
> > > Our Storagetek L80 tape library (yes, the infamous one that you're tired
> > > of hearing about) does not support the moving of media via the LED
> > > panel. Our ATL tape libraries do. We would like to be able to move tapes
> > > in and out of drives outside the purview of NetWorker. I know this will
> > > require having to use some of the utilities under /etc/LGTOuscsi like:
> > >
> > > movemed
> > > sjimm
> > > ldunld
> >
> > Not necessarily.  You could just use
> > 'nsrjb -l -n -S <slot> -f <drive>'
> > and
> > 'nsrjb -u -S <slot>'
> >
> > right?
> >
> > > Can someone provide me with an example of how to move a tape from slot
> > > 30 into drive 1 (/dev/nst0) so as to have the tape available for use
> > > with tar utility and an example of how to unload the tape and move it
> > > back after tar completes?
> >
> > 'nsrjb -l -n -S 30 -f /dev/nst0'
> > (possibly associated with a command to disable the drive from the
> > networker point of view so it doesn't try to use it while the foriegn
> > tape is inside).
> >
> > --
> > Darren Dunham                                           ddunham AT taos DOT 
> > com
> > Senior Technical Consultant         TAOS            http://www.taos.com/
> > Got some Dr Pepper?                           San Francisco, CA bay area
> >          < This line left intentionally blank to confuse you. >
> >
> > --
> > Note: To sign off this list, send a "signoff networker" command via email
> > to listserv AT listmail.temple DOT edu or visit the list's Web site at
> > http://listmail.temple.edu/archives/networker.html where you can
> > also view and post messages to the list.
> > =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
>
> --
> Note: To sign off this list, send a "signoff networker" command via email
> to listserv AT listmail.temple DOT edu or visit the list's Web site at
> http://listmail.temple.edu/archives/networker.html where you can
> also view and post messages to the list.
> =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

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