ADSM-L

Re: Element addresses for new scsi LTO drive

2004-03-29 17:45:39
Subject: Re: Element addresses for new scsi LTO drive
From: CORP Rick Willmore <RWillmore AT RSAC DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Mon, 29 Mar 2004 14:45:02 -0800
Isnt that just a label??? I already have drive 2 and 3 filled with 256 and 257.

R.

-----Original Message-----
From: Linda Zgonce [mailto:lindazg AT US.IBM DOT COM]
Sent: Monday, March 29, 2004 2:05 PM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: Element addresses for new scsi LTO drive






Define it as drive 3, not drive 1. You have a syntax error.

Regards,

  Linda Zgonce
    IBM Global Services South




                      CORP Rick
                      Willmore                 To:       ADSM-L AT VM.MARIST 
DOT EDU
                      <[email protected]        cc:
                      OM>                      Subject:  Re: Element addresses 
for new scsi LTO drive
                      Sent by: "ADSM:
                      Dist Stor
                      Manager"
                      <[email protected]
                      .EDU>


                      03/29/2004 12:43
                      PM
                      Please respond to
                      "ADSM: Dist Stor
                      Manager"





tsm: TSM>define drive autolib drive1 online=yes element=258
cleanfreq=asneeded
ANR8366E DEFINE DRIVE: Invalid value for ELEMENT parameter.
ANS8001I Return code 3.

Same error.

R.

-----Original Message-----
From: Linda Zgonce [mailto:lindazg AT US.IBM DOT COM]
Sent: Monday, March 29, 2004 6:16 AM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: Element addresses for new scsi LTO drive







You have a syntax error in your ITSM define drive command. Try this :

tsm: TSM>define drive autolib drive3 online=yes element=258
cleanfreq=asneeded


Regards,

  Linda Zgonce
  IBM Global Services South -ITSM




                      CORP Rick
                      Willmore                 To:
ADSM-L AT VM.MARIST DOT EDU
                      <[email protected]        cc:
                      OM>                      Subject:  Element addresses
for new scsi LTO drive
                      Sent by: "ADSM:
                      Dist Stor
                      Manager"
                      <[email protected]
                      .EDU>


                      03/26/2004 01:19
                      PM
                      Please respond to
                      "ADSM: Dist Stor
                      Manager"





Hey all,
I noticed that others of the list seem to have similar element address
problems but I didnt see my solution so I was hoping to throw this one out
and see what sticks.

I just added a new LTO (ver1) drive to our Scalar 100 Library.  I used
lbtest and can see the element address reported by the new drive is 258
(the 2 previous drives are 256 and 257).  When I try to move the media to
the 258 address or define the new drive to tsm I receive an error.

hal> lsdev -Cc tape
rmt0 Available 2A-09-00-3,0 LTO Ultrium Tape Drive
rmt1 Available 2A-09-00-4,0 LTO Ultrium Tape Drive
rmt2 Available 2A-09-00-2,0 LTO Ultrium Tape Drive   <-- new drive

enter selection: 8
Library Element Count:
  compcode                   = 0
  number of drives           = 3
  number of storage slots    = 42
  number of transport elem   = 1
  number of entry exit ports = 12
analyze rc 0  err 0 (Successful,Error 0)
    cc 0 (Successful) resid 0 data 0
Total elapsed time in seconds =     3.00


Library Inventory:
Drive 1 (address 256 EMPTY)
  abnormal_state = 0,  accessible = 1, scsi_bus_not_pres = 0,
  scsi_bus_id_flag = 1, scsi_bus_id = 3, lun_flag = 0,
  lun = 0, source_addr_flag = 0, source_elem_addr = 0,
  invert_media_flag = 0, barcode_flag = 1, barcode_len = 36
Drive 2 (address 257 EMPTY)
  abnormal_state = 0,  accessible = 1, scsi_bus_not_pres = 0,
  scsi_bus_id_flag = 1, scsi_bus_id = 4, lun_flag = 0,
  lun = 0, source_addr_flag = 0, source_elem_addr = 0,
  invert_media_flag = 0, barcode_flag = 1, barcode_len = 36
Drive 3 (address 258 EMPTY)
  abnormal_state = 0,  accessible = 1, scsi_bus_not_pres = 0,
  scsi_bus_id_flag = 1, scsi_bus_id = 2, lun_flag = 0,
  lun = 0, source_addr_flag = 0, source_elem_addr = 0,
  invert_media_flag = 0, barcode_flag = 1, barcode_len = 36


enter selection: 11
transport element address: 1
source address moving from: 11
destination address moving to: 258
invert option:  (1) invert (0) not invert:
execute move_medium taddr = 1 saddr = 11 daddr = 258 invert = 0
analyze rc -1  err 22 (EINVAL,Invalid argument)
    cc 0 (Successful) resid 0 data 0
error_state last_status 22 (EINVAL) last_compcode 207 (DD_ILLEGAL_REQUEST)
  information 0 number_sense 18
Sense KEY/ASC/ASCQ =  5/21/ 1
      KEY meaning is illegal request
      ASC/ASCQ meaning is invalid element address
sense bytes 000-015: 70  0  5  0  0  0  0  a  0  0  0  0 21  1  0 c0
sense bytes 016-031:  0  4
analyze return_error cc 207 (DD_ILLEGAL_REQUEST)
analyze conclusion ...  ERROR not as expected
ERROR, test failed!
Total elapsed time in seconds =     7.00
Return to continue:

tsm: TSM>define drive autolib drive1 online=yes element=258
cleanfreq=asneeded
ANR8366E DEFINE DRIVE: Invalid value for ELEMENT parameter.
ANS8001I Return code 3.


Any help is appreciated.

Rick.