I found the following in /var/log/messages:
Code:
Jul 1 17:13:46 kernel: scsi4 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
Jul 1 17:13:46 kernel: <Adaptec 2940 Ultra SCSI adapter>
Jul 1 17:13:46 kernel: aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
Jul 1 17:13:46 kernel:
Jul 1 17:13:46 kernel: (scsi4:A:5): 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
Jul 1 17:13:46 kernel: Vendor: SONY Model: SDX-500C Rev: 010D
Jul 1 17:13:46 netfs: Mounting other filesystems: succeeded
Jul 1 17:13:46 kernel: Type: Sequential-Access ANSI SCSI revision: 02
Jul 1 17:13:46 kernel: (scsi4:A:6): 20.000MB/s transfers (10.000MHz, offset 8, 16bit)
Jul 1 17:13:46 kernel: Vendor: OVERLAND Model: LIBRARYPRO Rev: 0420
Jul 1 17:13:47 kernel: Type: Medium Changer ANSI SCSI revision: 02
Jul 1 17:13:47 kernel: st: Version 20040403, fixed bufsize 32768, s/g segs 256
Jul 1 17:13:47 kernel: Attached scsi tape st0 at scsi4, channel 0, id 5, lun 0
Jul 1 17:13:47 kernel: st0: try direct i/o: yes (alignment 512 B), max page reachable by HBA 1048575
Jul 1 17:13:47 kernel: Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0
Jul 1 17:13:47 kernel: Attached scsi generic sg1 at scsi1, channel 0, id 0, lun 0, type 0
Jul 1 17:13:47 kernel: Attached scsi generic sg2 at scsi2, channel 0, id 0, lun 0, type 0
Jul 1 17:13:47 kernel: Attached scsi generic sg3 at scsi3, channel 0, id 0, lun 0, type 0
Jul 1 17:13:47 kernel: Attached scsi generic sg4 at scsi4, channel 0, id 5, lun 0, type 1
Jul 1 17:13:47 kernel: Attached scsi generic sg5 at scsi4, channel 0, id 6, lun 0, type 8
I assume that means the Tape library is mapped to /dev/sg5 and the tape drive inside it to /dev/sg4.
But I couldn't find what the controller was mapped to.
Any suggestions?