Thank you for the speedy reply, Frank!  So I'm doing the right thing by 
specifying the drive as /dev/nst0 and the autochanger as /dev/sg4 in the 
configs then. 

John J. Felczak
Build & Integration Manager
Siderean Software, Inc.

-----Original Message-----
From: Frank Sweetser [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 23, 2006 3:53 PM
To: John Felczak
Cc: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] When to use /dev/nst0 versus /dev/st0?

On Mon, Oct 23, 2006 at 03:27:26PM -0700, John Felczak wrote:
> Quick very general question:   How does one determine when it's appropriate
> to refer to one's tape drive in the config files as /dev/nst0 or /dev/st0?

http://www.bacula.org/rel-manual/Testing_Your_Tape_Drive.html#SECTION000371300000000000000

The manual reccomends that when declaring a tape device, you use the 
non-rewinding device, which is normally nst0.

> Drive is a VXA-2 in a VXA PacketLoader 1x10 1U autochanger, and 
> Exabyte's diags identify the autochanger as /dev/sg4 and the drive as 
> /dev/sg3, but read on the list earlier that tape drives should be 
> addressed as streaming tape devices rather than SCSI generic devices.

The sg* devices refer to all SCSI devices, including the tape devices.  The 
difference is exactly what interface is exposed.  The nst* devices present a 
tape drive interface, while the sg* devices are used for sending other SCSI 
commands, such as tape library change commands or vendor specific diagnostics.

--
Frank Sweetser fs at wpi.edu  |  For every problem, there is a solution that
WPI Network Engineer          |  is simple, elegant, and wrong. - HL Mencken
    GPG fingerprint = 6174 1257 129E 0D21 D8D4  E8A3 8E39 29E3 E2E8 8CEC



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to