StoreEver Tape Storage
1754019 Members
7613 Online
108811 Solutions
New Discussion юеВ

DAT 40x6 & SuSE 9.1 & mtx

 
CA1247425
New Member

DAT 40x6 & SuSE 9.1 & mtx

I have installed a DAT 40x6 (hp StorageWorks) on a SuSE 9.1 (Dell PC).
I can use the "tar" command with this device without problems.

The problem is the "mtx" command that I want to use for load/unload tapes:

If I start the following command:
mtx -f /dev/st0 load 1
the command hangs

If I manually insert a tape and then I start the following command:
mtx -f /dev/st0 unload
..the label "Write" appears on the hardware and the output of the command is:

mtx: Request Sense: Long Report=yes
mtx: Request Sense: Valid Residual=no
mtx: Request Sense: Error Code=0 (Unknown?!)
mtx: Request Sense: Sense Key=No Sense
mtx: Request Sense: FileMark=no
mtx: Request Sense: EOM=no
mtx: Request Sense: ILI=no
mtx: Request Sense: Additional Sense Code = 00
mtx: Request Sense: Additional Sense Qualifier = 00
mtx: Request Sense: BPV=no
mtx: Request Sense: Error in CDB=no
mtx: Request Sense: SKSV=no
INQUIRY command Failed

... but the tape is not unloaded.

I have tryed to use "mt -f /dev/st0 offline" before the "mtx" command but the problem is not solved.

How can I resolve this problem ?
Is there an alternative to "mtx" ?

Note: on a HP9000/700 Workstation I use this hardware with the "mtx" command without problems.

Thanks a lot for any help.

Michelangelo

4 REPLIES 4
Lewis Finch
Honored Contributor

Re: DAT 40x6 & SuSE 9.1 & mtx

do you have LUN support enabled on your SCSI controller?
"You can't lead the orchestra without turning your back to the crowd"
CA1247425
New Member

Re: DAT 40x6 & SuSE 9.1 & mtx

Hallo Lewis,

I have inserted the following line in /boot/grub/menu.lst:

max_scsi_luns=6

... and rebooted the system.
But the problem is not solved.

In the "Faq" I have read that I need to send robotics commands to robotics devices.
In my system the "tar" command works correctly with "/dev/st0", therefore I supporse that this device is the "tape drives".

I have read that to find what the "robotic device" is, I must look in /proc/scsi/scsi.

Here is my /proc/scsi/scsi ... but I do not see what is my "robotic device".

Thanks a lot for any help. Michelangelo


Attached devices:
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: DELL Model: CERC Mirror Rev: V1.0
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 03 Lun: 00
Vendor: HP Model: C5713A Rev: H307
Type: Sequential-Access ANSI SCSI revision: 03


Munir_1
Trusted Contributor

Re: DAT 40x6 & SuSE 9.1 & mtx

CA1247425
New Member

Re: DAT 40x6 & SuSE 9.1 & mtx

Hi Munir,

thanks a lot for your help !!!!
This was the solution.

Regards. Michelangelo