APP Say ILI Error

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

APP Say ILI Error

mzgcz
When I use app to read my mhVTL, I got a ILI error. What should I do to slove it?

my mhVTL info:

mtx -f /dev/sg2 status
mtx: Request Sense: Long Report=yes
mtx: Request Sense: Valid Residual=yes
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: Residual = 00 00 00 00
mtx: Request Sense: Additional Sense Code = 20
mtx: Request Sense: Additional Sense Qualifier = 00
mtx: Request Sense: Field in Error = 00
mtx: Request Sense: BPV=no
mtx: Request Sense: Error in CDB=yes
mtx: Request Sense: SKSV=yes
mtx: Request Sense: Field Pointer = 00 00
READ ELEMENT STATUS Command Failed
Reply | Threaded
Open this post in threaded view
|

Re: APP Say ILI Error

Mark Harvey
Administrator
This is a little hard to tell what is going on without a copy of the /etc/mhvtl/devices.conf
Or the output of "lsscsi -g" to show what/how devices are actually running.

If you are using the defaults, /dev/sg2 will be a tape device.
You are attempting to send medium-changer commands to a sequential device. This will (does) not work.

If /dev/sg2 is a tape device, use the magnetic tape (mt) command instead.
e.g.
# mt -f /dev/st0 status
Tip - the mt from the mt-st package is the better version.

Only send medium-changer commands to devices which are classified as 'mediumx'
e.g.
# lsscsi -g
[3:0:0:0]    mediumx IBM      3573-TL          6.50  /dev/sch0  /dev/sg11
[3:0:1:0]    tape    IBM      ULT3580-TD5      0105  /dev/st0   /dev/sg6

The 'mt' command to /dev/st0 in this case and 'mtx' command to /dev/sg11.
Regards from Australia
Mark Harvey
Reply | Threaded
Open this post in threaded view
|

Re: APP Say ILI Error

mzgcz
# lsscsi -g
[5:1:0:0]    mediumx IBM      03590H11         4.02  /dev/sch0  /dev/sg7
[5:1:0:1]    tape    IBM      03592E05         252D  /dev/st0   /dev/sg2
[5:1:0:2]    tape    IBM      03592E05         252D  /dev/st1   /dev/sg3
[5:1:0:3]    tape    IBM      03592E05         252D  /dev/st2   /dev/sg4
[5:1:0:4]    tape    IBM      03592E05         252D  /dev/st3   /dev/sg5
[5:1:0:5]    tape    IBM      03592E05         252D  /dev/st4   /dev/sg6

And We use scst to export /dev/sg2 [5:1:0:1]