I work for a school and so we have a tight budget. I am trying to re-use a Dell PowerVault 124T on Linux. I had the system all happily up and running on Gentoo when I identified that the read/write heads on the tape drive were faulty. The drive and loader were sent off for repair and have since been returned with a replacement drive installed, I am not entirrely convinced at this point the hardware has been fixed, however I need to be 100% sure before groveling for more money.
I was hoping that the autoloader once returned would just work when plugged back in, unfortunately not. We have now migrated to Ubuntu server and have the same difficulties.
Both the tape drive and the autoloader are seen by Ubuntu, see below:
lsscsi -g
[0:0:0:0] disk ATA WDC WD740GD-50FL 33.0 /dev/sda /dev/sg0
[1:0:0:0] disk ATA WDC WD740GD-50FL 33.0 /dev/sdb /dev/sg1
[2:0:0:0] disk ATA Maxtor 6Y080M0 YAR5 /dev/sdc /dev/sg2
[3:0:0:0] disk ATA Maxtor 6Y080M0 YAR5 /dev/sdd /dev/sg3
[5:0:0:0] cd/dvd PIONEER DVD-RW DVR-109 1.40 /dev/sr0 /dev/sg4
[6:1:8:0] tape CERTANCE ULTRIUM 2 1703 /dev/st0 /dev/sg5
[6:1:8:1] mediumx DELL PV-124T 0070 /dev/sch0 /dev/sg6
cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: ATA Model: WDC WD740GD-50FL Rev: 33.0
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: ATA Model: WDC WD740GD-50FL Rev: 33.0
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: ATA Model: Maxtor 6Y080M0 Rev: YAR5
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi3 Channel: 00 Id: 00 Lun: 00
Vendor: ATA Model: Maxtor 6Y080M0 Rev: YAR5
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi5 Channel: 00 Id: 00 Lun: 00
Vendor: PIONEER Model: DVD-RW DVR-109 Rev: 1.40
Type: CD-ROM ANSI SCSI revision: 05
Host: scsi6 Channel: 01 Id: 08 Lun: 00
Vendor: CERTANCE Model: ULTRIUM 2 Rev: 1703
Type: Sequential-Access ANSI SCSI revision: 03
Host: scsi6 Channel: 01 Id: 08 Lun: 01
Vendor: DELL Model: PV-124T Rev: 0070
Type: Medium Changer ANSI SCSI revision: 02
I understand that the drive and loader should be on the same scsi ID but should be on seperate LUNS as seen above (all is well ?). (I assume that the type Medium Changer means that the device is in random mode?)
The loader runs an inverntory automatically on boot up as expected, a manual inventory using 'mtx -f /dev/sg6 inventory' completes with no errors but does not reutrn tape and/or barcode information.
mtx -f /dev/sg6 inquiry
Product Type: Medium Changer
Vendor ID: 'DELL '
Product ID: 'PV-124T '
Revision: '0070'
Attached Changer API: No
mtx -f /dev/sg5 inquiry
Product Type: Tape Drive
Vendor ID: 'CERTANCE'
Product ID: 'ULTRIUM 2 '
Revision: '1703'
Attached Changer API: No
Should the tape drive attached changer say yes?
Finally attempting to get status or move a tape using the autoload produces below error.
mtx -f /dev/sg6 status
mtx: Request Sense: Long Report=yes
mtx: Request Sense: Valid Residual=no
mtx: Request Sense: Error Code=70 (Current)
mtx: Request Sense: Sense Key=Illegal Request
mtx: Request Sense: FileMark=no
mtx: Request Sense: EOM=no
mtx: Request Sense: ILI=no
mtx: Request Sense: Additional Sense Code = 24
mtx: Request Sense: Additional Sense Qualifier = 00
mtx: Request Sense: BPV=no
mtx: Request Sense: Error in CDB=no
mtx: Request Sense: SKSV=no
Mode sense (0x1A) for Page 0x1D failed
mtx: Request Sense: Long Report=yes
mtx: Request Sense: Valid Residual=no
mtx: Request Sense: Error Code=70 (Current)
mtx: Request Sense: Sense Key=Illegal Request
mtx: Request Sense: FileMark=no
mtx: Request Sense: EOM=no
mtx: Request Sense: ILI=no
mtx: Request Sense: Additional Sense Code = 24
mtx: Request Sense: Additional Sense Qualifier = 00
mtx: Request Sense: BPV=no
mtx: Request Sense: Error in CDB=no
mtx: Request Sense: SKSV=no
READ ELEMENT STATUS Command Failed
Is there anything obvious that I 'am missing? The plan is to get the basic linux tools ie mtx and mt running then impletment bacula.
Any help greatly appreciated.
Jeff
