Installing LTFS onto an MHVTL LTO-5 drive -- Cannot read device buffer

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Installing LTFS onto an MHVTL LTO-5 drive -- Cannot read device buffer

vgx32
Hi,

I'm fairly new to working with tape and VTL's, and I'm not sure if anyone has tried doing this yet (or if it's even possible): I'm attempting to install IBM's Linear Tape File System (LTFS) onto one an mhvtl LTO-5 tape drive.

I've successfully installed mhvtl, IBM's lin_tape driver, as well as all of IBM's ltfs tools and am able to get mhvtl to start up and run with several IBMtapeX & IBMchangerX devices appearing in my /dev folder.

I use mtx to load a tape into the drive and then I run IBM's mkltfs utility (it's used to format on the tape for ltfs) on the tape. When I run mkltfs, it spits out an error message saying that it cannot read the device buffer. This matches up with the output of vtltape:

vtltape: CDB (474) 3c 03 01 00 00 00 00 00 04 00
vtltape: spc_illegal_op: Unsupported OP CODE
vtltape: mkSenseBuf: Sense buf: 0x8064370
vtltape: mkSenseBuf: SENSE [Key/ASC/ASCQ] [05 20 00]
vtltape: completeSCSICommand: OP s/n: (474), sz: 0, sam_status: 2
vtltape: completeSCSICommand: [Key/ASC/ASCQ] [05 20 00]
ioctl(VX_TAPE_POLL_STATUS) returned: 0, interval: 10
ioctl(VX_TAPE_POLL_STATUS) returned: 254, interval: 1010

The CDB matches the scsi read buffer command reported by vtltape -d. Any ideas on what might cause this? (Given my limited tape experience, I am not sure I missed a setting in my library config files or if this is somehow related to mhvtl's implementation).

Any help is greatly appreciated!

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Installing LTFS onto an MHVTL LTO-5 drive -- Cannot read device buffer

Mark Harvey
The required code in the LTO5 emulation has not been implemented at this stage.

Sorry.

p.s. Patches gratefully accepted :)

Cheers
Mark

Sent from my iPad

On Jul 29, 2011, at 6:51, "vgx32 [via MHVTL - Linux Virtual Tape Library - Community Forums]"<[hidden email]> wrote:

Hi,

I'm fairly new to working with tape and VTL's, and I'm not sure if anyone has tried doing this yet (or if it's even possible): I'm attempting to install IBM's Linear Tape File System (LTFS) onto one an mhvtl LTO-5 tape drive.

I've successfully installed mhvtl, IBM's lin_tape driver, as well as all of IBM's ltfs tools and am able to get mhvtl to start up and run with several IBMtapeX & IBMchangerX devices appearing in my /dev folder.

I use mtx to load a tape into the drive and then I run IBM's mkltfs utility (it's used to format on the tape for ltfs) on the tape. When I run mkltfs, it spits out an error message saying that it cannot read the device buffer. This matches up with the output of vtltape:

vtltape: CDB (474) 3c 03 01 00 00 00 00 00 04 00
vtltape: spc_illegal_op: Unsupported OP CODE
vtltape: mkSenseBuf: Sense buf: 0x8064370
vtltape: mkSenseBuf: SENSE [Key/ASC/ASCQ] [05 20 00]
vtltape: completeSCSICommand: OP s/n: (474), sz: 0, sam_status: 2
vtltape: completeSCSICommand: [Key/ASC/ASCQ] [05 20 00]
ioctl(VX_TAPE_POLL_STATUS) returned: 0, interval: 10
ioctl(VX_TAPE_POLL_STATUS) returned: 254, interval: 1010

The CDB matches the scsi read buffer command reported by vtltape -d. Any ideas on what might cause this? (Given my limited tape experience, I am not sure I missed a setting in my library config files or if this is somehow related to mhvtl's implementation).

Any help is greatly appreciated!




To start a new topic under MHVTL - Linux Virtual Tape Library - Community Forums, email [hidden email]
To unsubscribe from MHVTL - Linux Virtual Tape Library - Community Forums, click here.
Loading...