Hi MH,
Thanks for the great VTL. I've been using it (v 1.5.0) for a few months with 1 drive in a library with no problem. Very fun. I am now trying to add another drive to the library and mtx is having difficulty moving tapes into one of the drives. My configs: -------------------- /etc/mhvtl/device.conf VERSION: 5 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: /ceph/tibs/root/mhvtl/ PERSIST: False Backoff: 400 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 9 enabled 1 Compression type: zlib Backoff: 400 Drive: 12 CHANNEL: 00 TARGET: 02 LUN: 00 Library ID: 10 Slot: 01 Vendor identification: IBM Product identification: ULT3580-TD5 Unit serial number: XYZZY_A2 NAA: 10:22:33:44:ab:00:02:00 Compression: factor 9 enabled 1 Compression type: zlib Backoff: 400 -------------------- -------------------- /etc/mhvtl/library_contents.10 Drive 1: Drive 2: Picker 1: MAP 1: Slot 1: TIBS1000L4 Slot 2: TIBS1001L4 Slot 3: TIBS1002L4 Slot 4: TIBS1003L4 .... Slot 41: TIBS1040L4 Slot 42: TIBS1041L4 Slot 43: TIBS1042L4 -------------------- Everything seems OK. # lsscsi -g [1:0:0:0] cd/dvd QEMU QEMU DVD-ROM 1.1. /dev/sr0 /dev/sg0 [2:0:0:0] mediumx STK L700 0105 /dev/sch0 /dev/sg3 [2:0:1:0] tape IBM ULT3580-TD5 0105 /dev/st0 /dev/sg1 [2:0:2:0] tape IBM ULT3580-TD5 0105 /dev/st1 /dev/sg2 # mtx -f /dev/sg3 status Storage Changer /dev/sg3:2 Drives, 44 Slots ( 1 Import/Export ) Data Transfer Element 0:Empty Data Transfer Element 1:Empty Storage Element 1:Full :VolumeTag=TIBS1000L4 Storage Element 2:Full :VolumeTag=TIBS1001L4 Storage Element 3:Full :VolumeTag=TIBS1002L4 .... Storage Element 43:Full :VolumeTag=TIBS1042L4 Storage Element 44 IMPORT/EXPORT:Empty But then then when I try to load Data Transfer Element 1 there is a problem: # mtx -f /dev/sg3 load 40 1 Loading media from Storage Element 40 into drive 1...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 = 24 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 06 MOVE MEDIUM from Element Address 1063 to 497 Failed But not to Data Transfer Element 0 root@thedoctor:/usr/src/mhvtl# mtx -f /dev/sg3 load 40 0 Loading media from Storage Element 40 into drive 0...done Any ideas? Thanks much! Chad. |
mayby you have to define also MAP 2
my config (with 3 drives): Drive1: Drive2: Drive3: Picker 1: MAP 1: MAP 2: MAP 3: Slot 1: M00001L5 Slot 2: M00002L5 Slot 3: M00003L5 .......... etc. ..... |
On Thursday, August 14, 2014 07:30:03 you wrote:
> mayby you have to define also MAP 2 Possibly. I will try! What version of mhVTL are you running? Thanks! Chad. |
1.5.1-884b5a9
|
In reply to this post by sbcedservice
> mayby you have to define also MAP 2 Sadly, that did not work. Could you send me your devices.conf and library- contents files? Thanks! C. |
Administrator
|
In reply to this post by cwseys
Many thanks for the bug report. The bug report is actually opposite to your reported behaviour. The one-drive config should not have worked !On Thu, Aug 14, 2014 at 1:17 AM, cwseys [via mhVTL - A Linux Virtual Tape Library] <[hidden email]> wrote: Hi MH,
Regards from Australia
Mark Harvey |
Hi Mark,
> The bug report is actually opposite to your reported behaviour. The > one-drive config should not have worked ! I think my mentioning a working 1 drive tape library might have confused things a bit. The problem described was for a 2 drive tape library. (2 x ULT3580-TD5 with *L4 barcoded tapes) The commands show first an mtx command failing to load a tape into Drive 1. The next mtx command successfully loading a tape into Drive 0 (using the same tape library). BUT WAIT! I think I found the problem: Both of the drives have "Library ID: 10 Slot: 01". The example config the 2nd one says "Library ID: 10 Slot: 02" . I think I've been trying to ram a drive into an already occupied slot! Oh boy, gonna try that fix! Chad. > > LTO4 drives (-TD4) do not understand the LTO-5 media (L5 extension). So I'm > confused why the first drive mounts successfully. > > The fix is : > - Create media with L4 extension > OR > - modify drive types from -TD5 to -TD4 drives (LTO5 to LTO4) > > Cheers > Mark > > > > > On Thu, Aug 14, 2014 at 1:17 AM, cwseys [via mhVTL - A Linux Virtual Tape > > Library] <[hidden email]> wrote: > > Hi MH, > > > > Thanks for the great VTL. I've been using it (v 1.5.0) for a few > > > > months with 1 drive in a library with no problem. Very fun. > > > > I am now trying to add another drive to the library and mtx is having > > > > difficulty moving tapes into one of the drives. > > > > My configs: > > -------------------- > > /etc/mhvtl/device.conf > > VERSION: 5 > > > > 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: /ceph/tibs/root/mhvtl/ > > PERSIST: False > > Backoff: 400 > > > > 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 9 enabled 1 > > Compression type: zlib > > Backoff: 400 > > > > Drive: 12 CHANNEL: 00 TARGET: 02 LUN: 00 > > > > Library ID: 10 Slot: 01 > > Vendor identification: IBM > > Product identification: ULT3580-TD5 > > Unit serial number: XYZZY_A2 > > NAA: 10:22:33:44:ab:00:02:00 > > Compression: factor 9 enabled 1 > > Compression type: zlib > > Backoff: 400 > > > > -------------------- > > -------------------- > > /etc/mhvtl/library_contents.10 > > > > Drive 1: > > Drive 2: > > > > Picker 1: > > > > MAP 1: > > > > Slot 1: TIBS1000L4 > > Slot 2: TIBS1001L4 > > Slot 3: TIBS1002L4 > > Slot 4: TIBS1003L4 > > .... > > Slot 41: TIBS1040L4 > > Slot 42: TIBS1041L4 > > Slot 43: TIBS1042L4 > > -------------------- > > > > Everything seems OK. > > # lsscsi -g > > [1:0:0:0] cd/dvd QEMU QEMU DVD-ROM 1.1. /dev/sr0 /dev/sg0 > > [2:0:0:0] mediumx STK L700 0105 /dev/sch0 /dev/sg3 > > [2:0:1:0] tape IBM ULT3580-TD5 0105 /dev/st0 /dev/sg1 > > [2:0:2:0] tape IBM ULT3580-TD5 0105 /dev/st1 /dev/sg2 > > > > # mtx -f /dev/sg3 status > > > > Storage Changer /dev/sg3:2 Drives, 44 Slots ( 1 Import/Export ) > > > > Data Transfer Element 0:Empty > > Data Transfer Element 1:Empty > > > > Storage Element 1:Full :VolumeTag=TIBS1000L4 > > > > Storage Element 2:Full :VolumeTag=TIBS1001L4 > > > > Storage Element 3:Full :VolumeTag=TIBS1002L4 > > > > .... > > > > Storage Element 43:Full :VolumeTag=TIBS1042L4 > > > > Storage Element 44 IMPORT/EXPORT:Empty > > > > But then then when I try to load Data Transfer Element 1 there is a > > problem: > > > > # mtx -f /dev/sg3 load 40 1 > > Loading media from Storage Element 40 into drive 1...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 = 24 > > 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 06 > > MOVE MEDIUM from Element Address 1063 to 497 Failed > > > > But not to Data Transfer Element 0 > > > > root@thedoctor:/usr/src/mhvtl# mtx -f /dev/sg3 load 40 0 > > Loading media from Storage Element 40 into drive 0...done > > > > > > Any ideas? > > Thanks much! > > Chad. > > > > ------------------------------ > > > > 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/trouble-us > > ing-2-drives-in-one-library-tp4025839.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 > > <http://mhvtl-a-linux-virtual-tape-library.966029.n3.nabble.com/template/ > > NamlServlet.jtp?macro=unsubscribe_by_code&node=1465413&code=bWFya2g3OTRAZ > > 21haWwuY29tfDE0NjU0MTN8LTQwNjUyMzk2> . > > NAML > > <http://mhvtl-a-linux-virtual-tape-library.966029.n3.nabble.com/template/ > > NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml& > > base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.Nabbl > > eNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subs > > cribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_i > > nstant_email%21nabble%3Aemail.naml> > > ----- > Regards from Australia > Mark Harvey > _______________________________________________ > 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/trouble-usi > ng-2-drives-in-one-library-tp4025839p4025844.html > > To unsubscribe from trouble using 2 drives in one library, visit > http://mhvtl-a-linux-virtual-tape-library.966029.n3.nabble.com/template/Na > mlServlet.jtp?macro=unsubscribe_by_code&node=4025839&code=Y3dzZXlzQHBoeXNpY > 3Mud2lzYy5lZHV8NDAyNTgzOXwtMTMwMjczNjk0OQ== |
Administrator
|
Looking at the post with a computer & real browser (rather than a phone).. Seeing my mistake. You're good on this front. Yep - that will do it. The config you posted initially has two drives configured as belonging library 10 and to slot 1.
Regards from Australia
Mark Harvey |
Free forum by Nabble | Edit this page |