I would also do a quick check to make sure you have LUN support enabled.


On Wed, 13 Jun 2007 14:24:09 -0700
Michael Nelson <[EMAIL PROTECTED]> wrote:

> Are you sure that /dev/sg0 is in fact the autochanger device and not the 
> tape drive?
> 
> For instance on my server (from dmesg output):
> 
> 
> (scsi3:A:4): 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
>   Vendor: CERTANCE  Model: ULTRIUM 3         Rev: 1856
>   Type:   Sequential-Access                  ANSI SCSI revision: 04
> Attached scsi generic sg2 at scsi3, channel 0, id 4, lun 0,  type 1
> 
> st: Version 20040403, fixed bufsize 32768, s/g segs 256
> Attached scsi tape st0 at scsi3, channel 0, id 4, lun 0
> st0: try direct i/o: yes (alignment 512 B), max page reachable by HBA 
> 134217727
>   Vendor: QUANTUM   Model: UHDL              Rev: 0031
>   Type:   Medium Changer                     ANSI SCSI revision: 02
> Attached scsi generic sg3 at scsi3, channel 0, id 4, lun 1,  type 8
> 
> So the generic device for my tape drive is /dev/sg2 (but the tape drive 
> is normally addressed as /dev/nst0) and the changer for it is /dev/sg3.
> 
> It would be interesting to see the output of "cat /proc/scsi/scsi" on 
> your machine.
> 
> [EMAIL PROTECTED] ~]# cat /proc/scsi/scsi
> Attached devices:
> Host: scsi0 Channel: 00 Id: 00 Lun: 00
>   Vendor: LSILOGIC Model: 1030 IM          Rev: 1000
>   Type:   Direct-Access                    ANSI SCSI revision: 02
> Host: scsi0 Channel: 00 Id: 08 Lun: 00
>   Vendor: IBM      Model: 25P3495a S320  1 Rev: 1
>   Type:   Processor                        ANSI SCSI revision: 02
> Host: scsi3 Channel: 00 Id: 04 Lun: 00
>   Vendor: CERTANCE Model: ULTRIUM 3        Rev: 1856
>   Type:   Sequential-Access                ANSI SCSI revision: 04
> Host: scsi3 Channel: 00 Id: 04 Lun: 01
>   Vendor: QUANTUM  Model: UHDL             Rev: 0031
>   Type:   Medium Changer                   ANSI SCSI revision: 02
> 
> 
> 
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 


-- 

----------

Broderick Wood
Seconded to AICT for the Summer
General Services Building #144
University of Alberta

(780) 492-6875


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to