library personality functionality

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

library personality functionality

Mark Harvey
Administrator
This patch is a beginning to provide "personality module" for the library emulation.

Currently the patch does not change much - The only real change is the library slot organization.

Who is willing to give it a go and provide feedback ?

I've tested with 'mtx' and NetBackup 7.5 with no ill effects..

0001-SMC-Start-adding-library-personality-module-support.patch
Regards from Australia
Mark Harvey
nia
Reply | Threaded
Open this post in threaded view
|

Re: library personality functionality

nia
Administrator
Hi Mark,

I am seeing some issues so far trying to load media onto drives:

Oct 24 08:47:54 mhVTL vtllibrary[2169]: CDB (148) (delay 280005): 12 00 00 00 38 00
Oct 24 08:47:54 mhVTL vtllibrary[2169]: spc_inquiry(): INQUIRY ** (148)
Oct 24 08:47:54 mhVTL vtllibrary[2169]: CDB (149) (delay 805): 1a 08 1d 00 88 00
Oct 24 08:47:54 mhVTL vtllibrary[2169]: spc_mode_sense(): MODE SENSE 6 (149) **
Oct 24 08:47:54 mhVTL vtllibrary[2169]: CDB (150) (delay 805): b8 12 04 00 00 27 00 00 0f e8 00 00
Oct 24 08:47:54 mhVTL vtllibrary[2169]: smc_read_element_status(): READ ELEMENT STATUS (150) **
Oct 24 08:47:54 mhVTL vtllibrary[2169]: CDB (151) (delay 805): b8 13 00 10 00 04 00 00 0f e8 00 00
Oct 24 08:47:54 mhVTL vtllibrary[2169]: smc_read_element_status(): READ ELEMENT STATUS (151) **
Oct 24 08:47:54 mhVTL vtllibrary[2169]: CDB (152) (delay 805): b8 14 01 f0 00 04 00 00 0f e8 00 00
Oct 24 08:47:54 mhVTL vtllibrary[2169]: smc_read_element_status(): READ ELEMENT STATUS (152) **
Oct 24 08:47:54 mhVTL vtllibrary[2169]: CDB (153) (delay 805): b8 11 00 01 00 01 00 00 0f e8 00 00
Oct 24 08:47:54 mhVTL vtllibrary[2169]: smc_read_element_status(): READ ELEMENT STATUS (153) **
Oct 24 08:47:54 mhVTL vtllibrary[2169]: CDB (154) (delay 805): a5 00 00 01 04 00 01 f0 00 00 00 00
Oct 24 08:47:54 mhVTL vtllibrary[2169]: smc_move_medium(): MOVE MEDIUM (154) **
Oct 24 08:47:54 mhVTL vtllibrary[2169]: smc_move_medium(): Moving from slot 1024 to slot 496 using transport 1, Invert media: no
Oct 24 08:47:54 mhVTL vtllibrary[2169]: ERROR: valid_slot(): No drive in slot: 496
Oct 24 08:47:54 mhVTL vtllibrary[2169]: ERROR: smc_move_medium(): Invalid dest slot: 496
Oct 24 08:47:54 mhVTL vtllibrary[2169]: return_sense(): [Key/ASC/ASCQ] [05 24 00] 0xc0 0006

Reply | Threaded
Open this post in threaded view
|

Re: library personality functionality

Mark Harvey
Administrator
Something went wrong on init phase. 

Can you post device.conf & library_contents.<id>.* please. 

Sent from my iPhone

On 24 Oct 2013, at 23:51, "nia [via mhVTL - A Linux Virtual Tape Library]" <[hidden email]> wrote:

Hi Mark,

I am seeing some issues so far trying to load media onto drives:

Oct 24 08:47:54 mhVTL vtllibrary[2169]: CDB (148) (delay 280005): 12 00 00 00 38 00
Oct 24 08:47:54 mhVTL vtllibrary[2169]: spc_inquiry(): INQUIRY ** (148)
Oct 24 08:47:54 mhVTL vtllibrary[2169]: CDB (149) (delay 805): 1a 08 1d 00 88 00
Oct 24 08:47:54 mhVTL vtllibrary[2169]: spc_mode_sense(): MODE SENSE 6 (149) **
Oct 24 08:47:54 mhVTL vtllibrary[2169]: CDB (150) (delay 805): b8 12 04 00 00 27 00 00 0f e8 00 00
Oct 24 08:47:54 mhVTL vtllibrary[2169]: smc_read_element_status(): READ ELEMENT STATUS (150) **
Oct 24 08:47:54 mhVTL vtllibrary[2169]: CDB (151) (delay 805): b8 13 00 10 00 04 00 00 0f e8 00 00
Oct 24 08:47:54 mhVTL vtllibrary[2169]: smc_read_element_status(): READ ELEMENT STATUS (151) **
Oct 24 08:47:54 mhVTL vtllibrary[2169]: CDB (152) (delay 805): b8 14 01 f0 00 04 00 00 0f e8 00 00
Oct 24 08:47:54 mhVTL vtllibrary[2169]: smc_read_element_status(): READ ELEMENT STATUS (152) **
Oct 24 08:47:54 mhVTL vtllibrary[2169]: CDB (153) (delay 805): b8 11 00 01 00 01 00 00 0f e8 00 00
Oct 24 08:47:54 mhVTL vtllibrary[2169]: smc_read_element_status(): READ ELEMENT STATUS (153) **
Oct 24 08:47:54 mhVTL vtllibrary[2169]: CDB (154) (delay 805): a5 00 00 01 04 00 01 f0 00 00 00 00
Oct 24 08:47:54 mhVTL vtllibrary[2169]: smc_move_medium(): MOVE MEDIUM (154) **
Oct 24 08:47:54 mhVTL vtllibrary[2169]: smc_move_medium(): Moving from slot 1024 to slot 496 using transport 1, Invert media: no
Oct 24 08:47:54 mhVTL vtllibrary[2169]: ERROR: valid_slot(): No drive in slot: 496
Oct 24 08:47:54 mhVTL vtllibrary[2169]: ERROR: smc_move_medium(): Invalid dest slot: 496
Oct 24 08:47:54 mhVTL vtllibrary[2169]: return_sense(): [Key/ASC/ASCQ] [05 24 00] 0xc0 0006




If you reply to this email, your message will be added to the discussion below:
http://mhvtl-a-linux-virtual-tape-library.966029.n3.nabble.com/library-personality-functionality-tp4025684p4025685.html
To start a new topic under mhVTL - A Linux Virtual Tape Library, email [hidden email]
To unsubscribe from mhVTL - A Linux Virtual Tape Library, click here.
NAML
Regards from Australia
Mark Harvey
nia
Reply | Threaded
Open this post in threaded view
|

Re: library personality functionality

nia
Administrator
Should be the default :


# cat device.conf

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
#
# fifo: /var/tmp/mhvtl
# If enabled, data must be read from fifo, otherwise daemon will block
# trying to write.
# e.g. cat /var/tmp/mhvtl (in another terminal)

Library: 10 CHANNEL: 00 TARGET: 00 LUN: 00
 Vendor identification: STK
 Product identification: L700
 Unit serial number: XYZZY_A
 NAA: 10:22:33:44:ab:00:00:00
 Home directory: /opt/mhvtl
 PERSIST: False
 Backoff: 400
# fifo: /var/tmp/mhvtl

Drive: 11 CHANNEL: 00 TARGET: 01 LUN: 00
 Library ID: 10 Slot: 01
 Vendor identification: IBM
 Product identification: ULT3580-TD5
 Unit serial number: XYZZY_A1
 NAA: 10:22:33:44:ab:00:01:00
 Compression: factor 1 enabled 1
 Compression type: lzo
 Backoff: 400
# fifo: /var/tmp/mhvtl

Drive: 12 CHANNEL: 00 TARGET: 02 LUN: 00
 Library ID: 10 Slot: 02
 Vendor identification: IBM
 Product identification: ULT3580-TD5
 Unit serial number: XYZZY_A2
 NAA: 10:22:33:44:ab:00:02:00
 Compression: factor 1 enabled 1
 Compression type: lzo
 Backoff: 400
# fifo: /var/tmp/mhvtl

Drive: 13 CHANNEL: 00 TARGET: 03 LUN: 00
 Library ID: 10 Slot: 03
 Vendor identification: IBM
 Product identification: ULT3580-TD4
 Unit serial number: XYZZY_A3
 NAA: 10:22:33:44:ab:00:03:00
 Compression: factor 1 enabled 1
 Compression type: lzo
 Backoff: 400
# fifo: /var/tmp/mhvtl

Drive: 14 CHANNEL: 00 TARGET: 04 LUN: 00
 Library ID: 10 Slot: 04
 Vendor identification: IBM
 Product identification: ULT3580-TD4
 Unit serial number: XYZZY_A4
 NAA: 10:22:33:44:ab:00:04:00
 Compression: factor 1 enabled 1
 Compression type: lzo
 Backoff: 400
# fifo: /var/tmp/mhvtl

Library: 30 CHANNEL: 00 TARGET: 08 LUN: 00
 Vendor identification: STK
 Product identification: L80
 Unit serial number: XYZZY_B
 NAA: 30:22:33:44:ab:00:08:00
 Home directory: /opt/mhvtl
 PERSIST: False
 Backoff: 400
# fifo: /var/tmp/mhvtl

Drive: 31 CHANNEL: 00 TARGET: 09 LUN: 00
 Library ID: 30 Slot: 01
 Vendor identification: STK
 Product identification: T10000B
 Unit serial number: XYZZY_B1
 NAA: 30:22:33:44:ab:00:09:00
 Compression: factor 1 enabled 1
 Compression type: lzo
 Backoff: 400
# fifo: /var/tmp/mhvtl

Drive: 32 CHANNEL: 00 TARGET: 10 LUN: 00
 Library ID: 30 Slot: 02
 Vendor identification: STK
 Product identification: T10000B
 Unit serial number: XYZZY_B2
 NAA: 30:22:33:44:ab:00:10:00
 Compression: factor 1 enabled 1
 Compression type: lzo
 Backoff: 400
# fifo: /var/tmp/mhvtl

Drive: 33 CHANNEL: 00 TARGET: 11 LUN: 00
 Library ID: 30 Slot: 03
 Vendor identification: STK
 Product identification: T10000B
 Unit serial number: XYZZY_B3
 NAA: 30:22:33:44:ab:00:11:00
 Compression: factor 1 enabled 1
 Compression type: lzo
 Backoff: 400
# fifo: /var/tmp/mhvtl

Drive: 34 CHANNEL: 00 TARGET: 12 LUN: 00
 Library ID: 30 Slot: 04
 Vendor identification: STK
 Product identification: T10000B
 Unit serial number: XYZZY_B4
 NAA: 30:22:33:44:ab:00:12:00
 Compression: factor 1 enabled 1
 Compression type: lzo
 Backoff: 400
# fifo: /var/tmp/mhvtl


# cat library_contents.10

Drive 1:
Drive 2:
Drive 3:
Drive 4:

Picker 1:

MAP 1:
MAP 2:
MAP 3:
MAP 4:

# Slot 1 - ?, no gaps
# Slot N: [barcode]
# [barcode]
# a barcode is comprised of three fields: [Leading] [identifier] [Trailing]
# Leading "CLN" -- cleaning tape
# Leading "W" -- WORM tape
# Leading "NOBAR" -- will appear to have no barcode
# If the barcode is at least 8 character long, then the last two characters are Trailing
# Trailing "S3" - SDLT600
# Trailing "X4" - AIT-4
# Trailing "L1" - LTO 1, "L2" - LTO 2, "L3" - LTO 3, "L4" - LTO 4, "L5" - LTO 5
# Trailing "LT" - LTO 3 WORM, "LU" -  LTO 4 WORM, "LV" - LTO 5 WORM
# Trailing "L6" - LTO 6, "LW" - LTO 6 WORM
# Trailing "TA" - T10000+
# Trailing "TZ" - 9840A, "TY" - 9840B, "TX" - 9840C, "TW" - 9840D
# Trailing "TV" - 9940A, "TU" - 9940B
# Trailing "JA" - 3592+
# Trailing "JB" - 3592E05+
# Trailing "JW" - WORM 3592+
# Trailing "JX" - WORM 3592E05+
# Trailing "D7" - DLT7000 media (DLT IV)
#
Slot 1: E01001L4
Slot 2: E01002L4
Slot 3: E01003L4
Slot 4: E01004L4
Slot 5: E01005L4
Slot 6: E01006L4
Slot 7: E01007L4
Slot 8: E01008L4
Slot 9: E01009L4
Slot 10: E01010L4
Slot 11: E01011L4
Slot 12: E01012L4
Slot 13: E01013L4
Slot 14: E01014L4
Slot 15: E01015L4
Slot 16: E01016L4
Slot 17: E01017L4
Slot 18: E01018L4
Slot 19: E01019L4
Slot 20: E01020L4
Slot 21:
Slot 22: CLN101L4
Slot 23: CLN102L5
Slot 24:
Slot 25:
Slot 26:
Slot 27:
Slot 28:
Slot 29:
Slot 30: F01030L5
Slot 31: F01031L5
Slot 32: F01032L5
Slot 33: F01033L5
Slot 34: F01034L5
Slot 35: F01035L5
Slot 36: F01036L5
Slot 37: F01037L5
Slot 38: F01038L5
Slot 39: F01039L5


 # cat library_contents.30

Drive 1:
Drive 2:
Drive 3:
Drive 4:

Picker 1:

MAP 1:
MAP 2:
MAP 3:
MAP 4:

# Slot 1 - ?, no gaps
# Slot N: [barcode]
# [barcode]
# a barcode is comprised of three fields: [Leading] [identifier] [Trailing]
# Leading "CLN" -- cleaning tape
# Leading "W" -- WORM tape
# Leading "NOBAR" -- will appear to have no barcode
# If the barcode is at least 8 character long, then the last two characters are Trailing
# Trailing "S3" - SDLT600
# Trailing "X4" - AIT-4
# Trailing "L1" - LTO 1, "L2" - LTO 2, "L3" - LTO 3, "L4" - LTO 4, "L5" - LTO 5
# Trailing "LT" - LTO 3 WORM, "LU" -  LTO 4 WORM, "LV" - LTO 5 WORM
# Trailing "L6" - LTO 6, "LW" - LTO 6 WORM
# Trailing "TA" - T10000+
# Trailing "TZ" - 9840A, "TY" - 9840B, "TX" - 9840C, "TW" - 9840D
# Trailing "TV" - 9940A, "TU" - 9940B
# Trailing "JA" - 3592+
# Trailing "JB" - 3592E05+
# Trailing "JW" - WORM 3592+
# Trailing "JX" - WORM 3592E05+
# Trailing "D7" - DLT7000 media (DLT IV)
#
Slot 1: G03001TA
Slot 2: G03002TA
Slot 3: G03003TA
Slot 4: G03004TA
Slot 5: G03005TA
Slot 6: G03006TA
Slot 7: G03007TA
Slot 8: G03008TA
Slot 9: G03009TA
Slot 10: G03010TA
Slot 11: G03011TA
Slot 12: G03012TA
Slot 13: G03013TA
Slot 14: G03014TA
Slot 15: G03015TA
Slot 16: G03016TA
Slot 17: G03017TA
Slot 18: G03018TA
Slot 19: G03019TA
Slot 20: G03020TA
Slot 21: G03021TA
Slot 22: G03022TA
Slot 23: G03023TA
Slot 24: G03024TA
Slot 25: G03025TA
Slot 26: G03026TA
Slot 27: G03027TA
Slot 28: G03028TA
Slot 29: G03029TA
Slot 30: G03030TA
Slot 31: G03031TA
Slot 32: G03032TA
Slot 33: G03033TA
Slot 34: G03034TA
Slot 35: G03035TA
Slot 36: G03036TA
Slot 37: G03037TA
Slot 38: G03038TA
Slot 39: G03039TA
Slot 40: CLN303TA


Reply | Threaded
Open this post in threaded view
|

Re: library personality functionality

Mark Harvey
Administrator
Thanks - testing now and results are not pretty...

FOR ANYBODY ELSE - Please hold off testing until I can resubmit an updated patch.





On Fri, Oct 25, 2013 at 7:37 AM, nia [via mhVTL - A Linux Virtual Tape Library] <[hidden email]> wrote:
Should be the default :

# cat device.conf

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
#
# fifo: /var/tmp/mhvtl
# If enabled, data must be read from fifo, otherwise daemon will block
# trying to write.
# e.g. cat /var/tmp/mhvtl (in another terminal)

Library: 10 CHANNEL: 00 TARGET: 00 LUN: 00
 Vendor identification: STK
 Product identification: L700
 Unit serial number: XYZZY_A
 NAA: 10:22:33:44:ab:00:00:00
 Home directory: /opt/mhvtl
 PERSIST: False
 Backoff: 400
# fifo: /var/tmp/mhvtl

Drive: 11 CHANNEL: 00 TARGET: 01 LUN: 00
 Library ID: 10 Slot: 01
 Vendor identification: IBM
 Product identification: ULT3580-TD5
 Unit serial number: XYZZY_A1
 NAA: 10:22:33:44:ab:00:01:00
 Compression: factor 1 enabled 1
 Compression type: lzo
 Backoff: 400
# fifo: /var/tmp/mhvtl

Drive: 12 CHANNEL: 00 TARGET: 02 LUN: 00
 Library ID: 10 Slot: 02
 Vendor identification: IBM
 Product identification: ULT3580-TD5
 Unit serial number: XYZZY_A2
 NAA: 10:22:33:44:ab:00:02:00
 Compression: factor 1 enabled 1
 Compression type: lzo
 Backoff: 400
# fifo: /var/tmp/mhvtl

Drive: 13 CHANNEL: 00 TARGET: 03 LUN: 00
 Library ID: 10 Slot: 03
 Vendor identification: IBM
 Product identification: ULT3580-TD4
 Unit serial number: XYZZY_A3
 NAA: 10:22:33:44:ab:00:03:00
 Compression: factor 1 enabled 1
 Compression type: lzo
 Backoff: 400
# fifo: /var/tmp/mhvtl

Drive: 14 CHANNEL: 00 TARGET: 04 LUN: 00
 Library ID: 10 Slot: 04
 Vendor identification: IBM
 Product identification: ULT3580-TD4
 Unit serial number: XYZZY_A4
 NAA: 10:22:33:44:ab:00:04:00
 Compression: factor 1 enabled 1
 Compression type: lzo
 Backoff: 400
# fifo: /var/tmp/mhvtl

Library: 30 CHANNEL: 00 TARGET: 08 LUN: 00
 Vendor identification: STK
 Product identification: L80
 Unit serial number: XYZZY_B
 NAA: 30:22:33:44:ab:00:08:00
 Home directory: /opt/mhvtl
 PERSIST: False
 Backoff: 400
# fifo: /var/tmp/mhvtl

Drive: 31 CHANNEL: 00 TARGET: 09 LUN: 00
 Library ID: 30 Slot: 01
 Vendor identification: STK
 Product identification: T10000B
 Unit serial number: XYZZY_B1
 NAA: 30:22:33:44:ab:00:09:00
 Compression: factor 1 enabled 1
 Compression type: lzo
 Backoff: 400
# fifo: /var/tmp/mhvtl

Drive: 32 CHANNEL: 00 TARGET: 10 LUN: 00
 Library ID: 30 Slot: 02
 Vendor identification: STK
 Product identification: T10000B
 Unit serial number: XYZZY_B2
 NAA: 30:22:33:44:ab:00:10:00
 Compression: factor 1 enabled 1
 Compression type: lzo
 Backoff: 400
# fifo: /var/tmp/mhvtl

Drive: 33 CHANNEL: 00 TARGET: 11 LUN: 00
 Library ID: 30 Slot: 03
 Vendor identification: STK
 Product identification: T10000B
 Unit serial number: XYZZY_B3
 NAA: 30:22:33:44:ab:00:11:00
 Compression: factor 1 enabled 1
 Compression type: lzo
 Backoff: 400
# fifo: /var/tmp/mhvtl

Drive: 34 CHANNEL: 00 TARGET: 12 LUN: 00
 Library ID: 30 Slot: 04
 Vendor identification: STK
 Product identification: T10000B
 Unit serial number: XYZZY_B4
 NAA: 30:22:33:44:ab:00:12:00
 Compression: factor 1 enabled 1
 Compression type: lzo
 Backoff: 400
# fifo: /var/tmp/mhvtl


# cat library_contents.10

Drive 1:
Drive 2:
Drive 3:
Drive 4:

Picker 1:

MAP 1:
MAP 2:
MAP 3:
MAP 4:

# Slot 1 - ?, no gaps
# Slot N: [barcode]
# [barcode]
# a barcode is comprised of three fields: [Leading] [identifier] [Trailing]
# Leading "CLN" -- cleaning tape
# Leading "W" -- WORM tape
# Leading "NOBAR" -- will appear to have no barcode
# If the barcode is at least 8 character long, then the last two characters are Trailing
# Trailing "S3" - SDLT600
# Trailing "X4" - AIT-4
# Trailing "L1" - LTO 1, "L2" - LTO 2, "L3" - LTO 3, "L4" - LTO 4, "L5" - LTO 5
# Trailing "LT" - LTO 3 WORM, "LU" -  LTO 4 WORM, "LV" - LTO 5 WORM
# Trailing "L6" - LTO 6, "LW" - LTO 6 WORM
# Trailing "TA" - T10000+
# Trailing "TZ" - 9840A, "TY" - 9840B, "TX" - 9840C, "TW" - 9840D
# Trailing "TV" - 9940A, "TU" - 9940B
# Trailing "JA" - 3592+
# Trailing "JB" - 3592E05+
# Trailing "JW" - WORM 3592+
# Trailing "JX" - WORM 3592E05+
# Trailing "D7" - DLT7000 media (DLT IV)
#
Slot 1: E01001L4
Slot 2: E01002L4
Slot 3: E01003L4
Slot 4: E01004L4
Slot 5: E01005L4
Slot 6: E01006L4
Slot 7: E01007L4
Slot 8: E01008L4
Slot 9: E01009L4
Slot 10: E01010L4
Slot 11: E01011L4
Slot 12: E01012L4
Slot 13: E01013L4
Slot 14: E01014L4
Slot 15: E01015L4
Slot 16: E01016L4
Slot 17: E01017L4
Slot 18: E01018L4
Slot 19: E01019L4
Slot 20: E01020L4
Slot 21:
Slot 22: CLN101L4
Slot 23: CLN102L5
Slot 24:
Slot 25:
Slot 26:
Slot 27:
Slot 28:
Slot 29:
Slot 30: F01030L5
Slot 31: F01031L5
Slot 32: F01032L5
Slot 33: F01033L5
Slot 34: F01034L5
Slot 35: F01035L5
Slot 36: F01036L5
Slot 37: F01037L5
Slot 38: F01038L5
Slot 39: F01039L5


 # cat library_contents.30

Drive 1:
Drive 2:
Drive 3:
Drive 4:

Picker 1:

MAP 1:
MAP 2:
MAP 3:
MAP 4:

# Slot 1 - ?, no gaps
# Slot N: [barcode]
# [barcode]
# a barcode is comprised of three fields: [Leading] [identifier] [Trailing]
# Leading "CLN" -- cleaning tape
# Leading "W" -- WORM tape
# Leading "NOBAR" -- will appear to have no barcode
# If the barcode is at least 8 character long, then the last two characters are Trailing
# Trailing "S3" - SDLT600
# Trailing "X4" - AIT-4
# Trailing "L1" - LTO 1, "L2" - LTO 2, "L3" - LTO 3, "L4" - LTO 4, "L5" - LTO 5
# Trailing "LT" - LTO 3 WORM, "LU" -  LTO 4 WORM, "LV" - LTO 5 WORM
# Trailing "L6" - LTO 6, "LW" - LTO 6 WORM
# Trailing "TA" - T10000+
# Trailing "TZ" - 9840A, "TY" - 9840B, "TX" - 9840C, "TW" - 9840D
# Trailing "TV" - 9940A, "TU" - 9940B
# Trailing "JA" - 3592+
# Trailing "JB" - 3592E05+
# Trailing "JW" - WORM 3592+
# Trailing "JX" - WORM 3592E05+
# Trailing "D7" - DLT7000 media (DLT IV)
#
Slot 1: G03001TA
Slot 2: G03002TA
Slot 3: G03003TA
Slot 4: G03004TA
Slot 5: G03005TA
Slot 6: G03006TA
Slot 7: G03007TA
Slot 8: G03008TA
Slot 9: G03009TA
Slot 10: G03010TA
Slot 11: G03011TA
Slot 12: G03012TA
Slot 13: G03013TA
Slot 14: G03014TA
Slot 15: G03015TA
Slot 16: G03016TA
Slot 17: G03017TA
Slot 18: G03018TA
Slot 19: G03019TA
Slot 20: G03020TA
Slot 21: G03021TA
Slot 22: G03022TA
Slot 23: G03023TA
Slot 24: G03024TA
Slot 25: G03025TA
Slot 26: G03026TA
Slot 27: G03027TA
Slot 28: G03028TA
Slot 29: G03029TA
Slot 30: G03030TA
Slot 31: G03031TA
Slot 32: G03032TA
Slot 33: G03033TA
Slot 34: G03034TA
Slot 35: G03035TA
Slot 36: G03036TA
Slot 37: G03037TA
Slot 38: G03038TA
Slot 39: G03039TA
Slot 40: CLN303TA





If you reply to this email, your message will be added to the discussion below:
http://mhvtl-a-linux-virtual-tape-library.966029.n3.nabble.com/library-personality-functionality-tp4025684p4025687.html
To start a new topic under mhVTL - A Linux Virtual Tape Library, email [hidden email]
To unsubscribe from mhVTL - A Linux Virtual Tape Library, click here.
NAML

Regards from Australia
Mark Harvey
Reply | Threaded
Open this post in threaded view
|

Re: library personality functionality

Mark Harvey
Administrator
A new patch..

It will apply on top of github.

I've tested the STK L700 emulation.. I still need to revisit the other emulations.

library_personality.diff

If anybody (Nia ?) has applied the first patch - re-apply the patch and select the 'reverse' option.
Then apply this one.

Thanks
Regards from Australia
Mark Harvey
nia
Reply | Threaded
Open this post in threaded view
|

Re: library personality functionality

nia
Administrator
Much better ... Tested both L700 & L180 successfully in NetWorker 8.1

-nia
Reply | Threaded
Open this post in threaded view
|

Re: library personality functionality

Mark Harvey
Administrator
Many thanks for the confirmation..

I'll tidy the patch up somewhat and push into github..

With this new functionality - I'll bump the version from 1.4-x to 1.5-x
Regards from Australia
Mark Harvey
nia
Reply | Threaded
Open this post in threaded view
|

Re: library personality functionality

nia
Administrator
Great !!! ... I have noticed you only included the following emulations beside the default:

 IBM TS3500 series emulation
 Scalar emulation
 Spectra Python emulation
 STK L series emulation


Could you also include some HP as well, maybe EML series, before pushing to github or releasing 1.5.x ?

Thanks again

-nia

Reply | Threaded
Open this post in threaded view
|

Re: library personality functionality

Mark Harvey
Administrator
Emulation accuracy all depends on finding available SCSI Programmer reference guides for each brand/model..

IBM seem to be the best at publishing.. Or is best at indexing in google :)

Feel free in sending any HP / EML documentation my way :)

FWIW: I've just pushed the initial patch into github.
It includes TS3100/TS3200, TS3500, STK L20/40/80/180/700, Scalar & Spectra/Python..

The 'emulation' is quite basic with this patch.
But the foundation is in place - I'll continue adding improvements to each emulation type (and if documentation comes my way, more emulations).

Once I feel the emulations are feature complete "enough", I'll make a v1.5
Regards from Australia
Mark Harvey