Amanda-Users

Re: debugging chg-scsi

2004-11-05 08:28:02
Subject: Re: debugging chg-scsi
From: eric AT cirr DOT com (Eric Schnoebelen)
To: Amanda Users <amanda-users AT amanda DOT org>
Date: Fri, 05 Nov 2004 02:38:59 -0600
Erik Anderson writes:
- On Thu, 04 Nov 2004 15:36:05 -0600, Frank Smith <fsmith AT hoovers DOT com> 
wrote:
- > Also, while sg is the proper device to use to control the changer,
- > it doesn't understand tape commands like rewind, so make sure your
- > tape device is referencing an st device (of course, your kernel
- > also needs scsi tape support compiled in or the module loaded or you
- > won't have any st devices).
- 
- Okay - well I'm getting conflicting messages here.  I had previously
- been using /dev/nst0 to access the tape drive.  That wasn't working,
- so someone here told me I should use the sg* nodes to access the
- drive.  So that's when I switched to /dev/sg2.  

        I was the one who said to use the direct SCSI device,
but it wasn't as the tape drive, it was for the control device
(who's tag in changer.conf I didn't remember.)

        In reviewing another posting in this thread, I'm
reminded that it's ``scsitapedev''.  Make that be /dev/sg2, and
leave ``tapedev'' as /dev/nrst0.  (hmm, make sure you're using
the raw tape device as well.. You've listed the no-rewind block
device, assuming Linux uses standard naming conventions.)

--
Eric Schnoebelen                eric AT cirr DOT com            
http://www.cirr.com
                "Operator?, I'd like to make a syscall, please."

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