Start a Conversation

Unsolved

Closed

D

1 Message

218

June 13th, 2023 09:00

Dell TL4000 LTO7 issue executing mtx commands

We have a Dell TL4000 with an LTO7 IBM ULT3580-HH7 tape drive inside. The tape library system is directly connected to the back of a Centos7 server using a SAS connector and we're trying to run our amanda backup/restores with it. It has been successful in the past in this exact hardware configuration however the version was Centos 6 previously. Amanda fails to perform scsi disk operations with the DellTL4000 and reports mtx errors which I can replicate using mtx commands directly so I'm currently looking at the mtx component with amanda ruled out for now. Something between mtx and the tapeloader isn't working, so that's why I'm posting here in case there's anything I'm doing wrong or something I'm missing like a bug or version mismatch etc.

Specifically I'm running the following commands from the centos 7 server:  "mtx -f /dev/sg5 status"; "mtx -f /dev/sg5 load 1 0" & "mtx -f /dev/sg5 unload 1 0".

I am able to successfully output a list from the disk walk for the entire tape library (all 47 disks + the drive) using the 'status' command above and I get no error message as feedback. However, when I run either the 'load' or 'unload' commands, I am able to see the action being performed via the webGUI for the DellTL4000 (and it completes successfully) - I get the following errors on the command line:

--------------------------------------------------------------------------------

# mtx -f /dev/sg5 unload 37 0
Unloading drive 0 into Storage Element 37...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
MOVE MEDIUM from Element Address 256 to 4132 Failed

 

# mtx -f /dev/sg5 load 37 0
Loading media from Storage Element 37 into drive 0...mtx: Request Sense: Long Report=yes
mtx: Request Sense: Valid Residual=no
mtx: Request Sense: Error Code=70 (Current)
mtx: Request Sense: Sense Key=Unit Attention
mtx: Request Sense: FileMark=no
mtx: Request Sense: EOM=no
mtx: Request Sense: ILI=no
mtx: Request Sense: Additional Sense Code = 29
mtx: Request Sense: Additional Sense Qualifier = 00
mtx: Request Sense: BPV=no
mtx: Request Sense: Error in CDB=no
mtx: Request Sense: SKSV=no
MOVE MEDIUM from Element Address 4132 to 256 Failed

--------------------------------------------------------------------------------

Here are some relevant system information:

DellTL4000:

It IS running in 'random' mode.

Connector is SAS directly connected to the centos 7 host.

Drive Firmware Revision J4D1

Library Firmware F.11

Server config:

#uname -a

Linux 6.3.7-1.el7.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jun 9 15:41:57 EDT 2023 x86_64 x86_64 x86_64 GNU/Linux

mtx version: mtx-1.3.12-14.el7.x86_64

#lsscsi --generic
[0:0:12:0] enclosu LSI SAS2X28 0e12 - /dev/sg2
[0:0:37:0] enclosu LSI SAS2X36 0e12 - /dev/sg3
[0:0:38:0] tape IBM ULT3580-HH7 J4D1 /dev/st0 /dev/sg4
[0:0:38:1] mediumx IBM 3573-TL F.11 /dev/sch0 /dev/sg5
[0:2:0:0] disk SMC SMC2108 2.13 /dev/sdc /dev/sg6
[2:0:0:0] disk ATA CT480BX500SSD1 056 /dev/sdb /dev/sg0
[3:0:0:0] disk ATA CT480BX500SSD1 056 /dev/sda /dev/sg1 

-------------------------------------------------------------------------------------------------

solutions attempted so far:

updated kernel to latest version.

ensured sg driver is loaded at boot or there after (it is)

ensured tapeloader is running in 'random' mode.

No Responses!
No Events found!

Top