Cannot load tapes after upgrade

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

Cannot load tapes after upgrade

Supra James
Hi All

Just upgraded to latest 0.18 version on CentOS 5.6 and now I can't load my tapes:

Jun  2 16:54:38 centos vtllibrary[4118]: CDB (2151) 12 00 00 00 60 00
Jun  2 16:54:38 centos vtllibrary[4118]: spc_inquiry: INQUIRY ** (2151)
Jun  2 16:54:38 centos vtllibrary[4118]: CDB (2152) a5 00 00 00 04 00 00 01 00 00 00 00
Jun  2 16:54:38 centos vtllibrary[4118]: smc_move_medium: MOVE MEDIUM (2152) **
Jun  2 16:54:38 centos vtllibrary[4118]: smc_move_medium: Moving from slot 1024 to Slot 1 using transport 0, Invert media: no
Jun  2 16:54:38 centos vtllibrary[4118]: move_slot2drive: About to send cmd: 'lload VT1001L4' to drive 11
Jun  2 16:54:38 centos vtltape[4087]: processMessageQ: Q snd_id 10 msg : lload VT1001L4
Jun  2 16:54:38 centos vtltape[4087]: loadTape: Media type 'LTO4' loaded with S/No. : VT1001L4_1301416495
Jun  2 16:54:38 centos vtltape[4087]: mkSenseBuf: SENSE [Key/ASC/ASCQ] [06 28 00]
Jun  2 16:54:38 centos vtltape[4087]: loadTape: Previous unload was not clean
Jun  2 16:54:38 centos vtltape[4087]: loadTape: Tape capacity: 524288000
Jun  2 16:54:38 centos vtltape[4087]: loadTape: Tape VT1001L4 failed to load with type 'LTO4' in drive type 'LTO-4'
Jun  2 16:54:38 centos vtllibrary[4118]: mkSenseBuf: SENSE [Key/ASC/ASCQ] [04 04 03]

How do I clean up this previous unload?

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

Re: Cannot load tapes after upgrade

Mark Harvey
It's not the 'previos unload was not clean' that is causing this.

can you paste the device.conf here ?

Sent from my iPad

On Jun 3, 2011, at 1:57, "Supra James [via MHVTL - Linux Virtual Tape Library - CommunityForums]" <[hidden email]> wrote:

Hi All

Just upgraded to latest 0.18 version on CentOS 5.6 and now I can't load my tapes:

Jun  2 16:54:38 centos vtllibrary[4118]: CDB (2151) 12 00 00 00 60 00
Jun  2 16:54:38 centos vtllibrary[4118]: spc_inquiry: INQUIRY ** (2151)
Jun  2 16:54:38 centos vtllibrary[4118]: CDB (2152) a5 00 00 00 04 00 00 01 00 00 00 00
Jun  2 16:54:38 centos vtllibrary[4118]: smc_move_medium: MOVE MEDIUM (2152) **
Jun  2 16:54:38 centos vtllibrary[4118]: smc_move_medium: Moving from slot 1024 to Slot 1 using transport 0, Invert media: no
Jun  2 16:54:38 centos vtllibrary[4118]: move_slot2drive: About to send cmd: 'lload VT1001L4' to drive 11
Jun  2 16:54:38 centos vtltape[4087]: processMessageQ: Q snd_id 10 msg : lload VT1001L4
Jun  2 16:54:38 centos vtltape[4087]: loadTape: Media type 'LTO4' loaded with S/No. : VT1001L4_1301416495
Jun  2 16:54:38 centos vtltape[4087]: mkSenseBuf: SENSE [Key/ASC/ASCQ] [06 28 00]
Jun  2 16:54:38 centos vtltape[4087]: loadTape: Previous unload was not clean
Jun  2 16:54:38 centos vtltape[4087]: loadTape: Tape capacity: 524288000
Jun  2 16:54:38 centos vtltape[4087]: loadTape: Tape VT1001L4 failed to load with type 'LTO4' in drive type 'LTO-4'
Jun  2 16:54:38 centos vtllibrary[4118]: mkSenseBuf: SENSE [Key/ASC/ASCQ] [04 04 03]

How do I clean up this previous unload?

Cheers
James


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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Cannot load tapes after upgrade

Supra James
Here you go

James

VERSION: 5

# VPD page format:
# <page #> <Length> <x> <x+1>... <x+n>
# NAA format is an 8 hex byte value seperated by ':'
# Note: NAA is part of inquiry VPD 0x83
#
# Each 'record' is separated by one (or more) blank lines.
# Each 'record' starts at column 1
# Serial num max len is 10.
# Compression: factor X enabled 0|1
#     Where X is zlib compression factor     1 = Fastest compression
#                              9 = Best compression
#     enabled 0 == off, 1 == on

Library: 10 CHANNEL: 00 TARGET: 00 LUN: 00
 Vendor identification: STK
 Product identification: L700
 Product revision level: 550V
 Unit serial number: XYZZY_A
 NAA: 10:22:33:44:ab:00:00:00

Drive: 11 CHANNEL: 00 TARGET: 01 LUN: 00
 Library ID: 10 Slot: 01
 Vendor identification: IBM
 Product identification: ULT3580-TD4
 Product revision level: 550V
 Unit serial number: XYZZY_A1
 NAA: 10:22:33:44:ab:00:01:00
 Compression: factor 1 enabled 1
 READ_ONLY: LTO_1
 READ_ONLY: LTO_2
 READ_WRITE: LTO_3
 READ_WRITE: LTO_4
 WORM: LTO_3
 WORM: LTO_4
 ENCRYPTION: LTO_4

Drive: 12 CHANNEL: 00 TARGET: 02 LUN: 00
 Library ID: 10 Slot: 02
 Vendor identification: IBM
 Product identification: ULT3580-TD4
 Product revision level: 550V
 Unit serial number: XYZZY_A2
 NAA: 10:22:33:44:ab:00:02:00
 Compression: factor 1 enabled 1
 READ_ONLY: LTO_1
 READ_ONLY: LTO_2
 READ_WRITE: LTO_3
 READ_WRITE: LTO_4
 WORM: LTO_3
 WORM: LTO_4
 ENCRYPTION: LTO_4

Drive: 13 CHANNEL: 00 TARGET: 03 LUN: 00
 Library ID: 10 Slot: 03
 Vendor identification: IBM
 Product identification: ULT3580-TD4
 Product revision level: 550V
 Unit serial number: XYZZY_A3
 NAA: 10:22:33:44:ab:00:03:00
 Compression: factor 1 enabled 1
 READ_ONLY: LTO_1
 READ_ONLY: LTO_2
 READ_WRITE: LTO_3
 READ_WRITE: LTO_4
 WORM: LTO_3
 WORM: LTO_4
 ENCRYPTION: LTO_4

Drive: 14 CHANNEL: 00 TARGET: 04 LUN: 00
 Library ID: 10 Slot: 04
 Vendor identification: IBM
 Product identification: ULT3580-TD4
 Product revision level: 550V
 Unit serial number: XYZZY_A4
 NAA: 10:22:33:44:ab:00:04:00
 Compression: factor 1 enabled 1
 READ_ONLY: LTO_1
 READ_ONLY: LTO_2
 READ_WRITE: LTO_3
 READ_WRITE: LTO_4
 WORM: LTO_3
 WORM: LTO_4
 ENCRYPTION: LTO_4
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Cannot load tapes after upgrade

Mark Harvey
Apologies. I need to document this change. Remove the '_' in rules
e.g.
READ_WRITE: LTO_4 
to
READ_WRITE: LTO4
(for all entries. Not just LTO4)

No good reason for the change. But to revert will cause even more confusion. 

Sent from my iPhone

On 03/06/2011, at 5:50, "Supra James [via MHVTL - Linux Virtual Tape Library - CommunityForums]" <[hidden email]> wrote:

Here you go

James

VERSION: 5

# VPD page format:
# <page #> <Length> <x> <x+1>... <x+n>
# NAA format is an 8 hex byte value seperated by ':'
# Note: NAA is part of inquiry VPD 0x83
#
# Each 'record' is separated by one (or more) blank lines.
# Each 'record' starts at column 1
# Serial num max len is 10.
# Compression: factor X enabled 0|1
#     Where X is zlib compression factor     1 = Fastest compression
#                              9 = Best compression
#     enabled 0 == off, 1 == on

Library: 10 CHANNEL: 00 TARGET: 00 LUN: 00
 Vendor identification: STK
 Product identification: L700
 Product revision level: 550V
 Unit serial number: XYZZY_A
 NAA: 10:22:33:44:ab:00:00:00

Drive: 11 CHANNEL: 00 TARGET: 01 LUN: 00
 Library ID: 10 Slot: 01
 Vendor identification: IBM
 Product identification: ULT3580-TD4
 Product revision level: 550V
 Unit serial number: XYZZY_A1
 NAA: 10:22:33:44:ab:00:01:00
 Compression: factor 1 enabled 1
 READ_ONLY: LTO_1
 READ_ONLY: LTO_2
 READ_WRITE: LTO_3
 READ_WRITE: LTO_4
 WORM: LTO_3
 WORM: LTO_4
 ENCRYPTION: LTO_4

Drive: 12 CHANNEL: 00 TARGET: 02 LUN: 00
 Library ID: 10 Slot: 02
 Vendor identification: IBM
 Product identification: ULT3580-TD4
 Product revision level: 550V
 Unit serial number: XYZZY_A2
 NAA: 10:22:33:44:ab:00:02:00
 Compression: factor 1 enabled 1
 READ_ONLY: LTO_1
 READ_ONLY: LTO_2
 READ_WRITE: LTO_3
 READ_WRITE: LTO_4
 WORM: LTO_3
 WORM: LTO_4
 ENCRYPTION: LTO_4

Drive: 13 CHANNEL: 00 TARGET: 03 LUN: 00
 Library ID: 10 Slot: 03
 Vendor identification: IBM
 Product identification: ULT3580-TD4
 Product revision level: 550V
 Unit serial number: XYZZY_A3
 NAA: 10:22:33:44:ab:00:03:00
 Compression: factor 1 enabled 1
 READ_ONLY: LTO_1
 READ_ONLY: LTO_2
 READ_WRITE: LTO_3
 READ_WRITE: LTO_4
 WORM: LTO_3
 WORM: LTO_4
 ENCRYPTION: LTO_4

Drive: 14 CHANNEL: 00 TARGET: 04 LUN: 00
 Library ID: 10 Slot: 04
 Vendor identification: IBM
 Product identification: ULT3580-TD4
 Product revision level: 550V
 Unit serial number: XYZZY_A4
 NAA: 10:22:33:44:ab:00:04:00
 Compression: factor 1 enabled 1
 READ_ONLY: LTO_1
 READ_ONLY: LTO_2
 READ_WRITE: LTO_3
 READ_WRITE: LTO_4
 WORM: LTO_3
 WORM: LTO_4
 ENCRYPTION: LTO_4



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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Cannot load tapes after upgrade

Supra James
Thanks Mark that has sorted it :)

James
Loading...