Although I had recompiled the kernel and enabled CONFIG_SCSI_MULTI_LUN and rebooted, apparently it didn't boot the right kernel. Now cat /proc/scsi/scsi shows a medium changer:
nsb:/etc/bacula# 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: scsi2 Channel: 00 Id: 05 Lun: 00 Vendor: CERTANCE Model: ULTRIUM 3 Rev: 1856 Type: Sequential-Access ANSI SCSI revision: 04 Host: scsi2 Channel: 00 Id: 05 Lun: 01 Vendor: QUANTUM Model: UHDL Rev: 0031 Type: Medium Changer ANSI SCSI revision: 02 ... which is definitely a step in the right direction. But: the first time I ran this: # /etc/bacula/mtx-changer /dev/sg3 list 0 /dev/nst0 0 2:MCL375L3 3:MCL376L3 4:MCL377L3 5:MCL378L3 6:MCL379L3 7:MCL380L3 8: 1:MCL374L3 (There is a cleaning tape in slot 8). Then I started up bacula and went into bconsole and ran: update slots Using default Catalog name=MyCatalog DB=bacula The defined Storage resources are: 1: File 2: Autochanger Select Storage resource (1-2): 2 Connecting to Storage daemon Autochanger at 10.10.0.10:9103 ... 3306 Issuing autochanger "slots" command. Device "Drive1" has 8 slots. Connecting to Storage daemon Autochanger at 10.10.0.10:9103 ... 3301 Issuing autochanger "loaded drive 0" command. 3302 Autochanger "loaded drive 0", result is Slot 1. 3307 Issuing autochanger "unload slot 1, drive 0" command. 3995 Bad autochanger "unload slot 0, drive 0": ERR=Child exited with code 1. 3306 Issuing autochanger "list" command. Invalid Slot number: Autochanger error: ERR=Child exited with code 1 No Volumes found to label, or no barcodes. *label barcode The defined Storage resources are: 1: File 2: Autochanger Select Storage resource (1-2): 2 Connecting to Storage daemon Autochanger at 10.10.0.10:9103 ... 3306 Issuing autochanger "slots" command. Device "Drive1" has 0 slots. No slots in changer to scan. So, I quit out of bconsole and stopped bacula and: /etc/bacula/mtx-changer /dev/sg3 list 0 /dev/nst0 0 cannot open SCSI device '/dev/sg3' - No such device or address Huh? It was there, now it's gone. Cat /proc/scsi/scsi still shows the changer: Host: scsi2 Channel: 00 Id: 05 Lun: 01 Vendor: QUANTUM Model: UHDL Rev: 0031 Type: Medium Changer ANSI SCSI revision: 02 nsb:/etc/bacula# l /dev/sg* crw-rw---- 1 root disk 21, 0 Sep 11 07:12 /dev/sg0 crw-rw---- 1 root disk 21, 1 Sep 11 07:12 /dev/sg1 crw-rw---- 1 root disk 21, 2 Sep 11 07:13 /dev/sg2 crw-rw---- 1 root disk 21, 3 Sep 11 07:13 /dev/sg3 So the device is still there. I hate computers. ------------------------------------------------------------------------- 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