ADSM-L

Re: [ADSM-L] Label volumes in a scsi library?

2011-10-13 08:23:56
Subject: Re: [ADSM-L] Label volumes in a scsi library?
From: "Moyer, Joni M" <joni.moyer AT HIGHMARK DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Thu, 13 Oct 2011 08:20:15 -0400
Hi,

I have a special sitation herewhere I define the library and library path to 
the TSM server.  I also have the lto4 drives defined to the TSM server, but 
then I have the drive paths defined to my 3 NAS datamovers.  I have a similar 
set up for my lto2 drives in a different type of library, so I pretty much just 
did the same set up, but tried to do this with a scsi library (Quantum i6000) 
and this is where I am right now.

The OS of the TSM server is AIX and the TSM version is 5.5.5.0.

I have 12 LTO4 tape drives defined:

                                Library Name: NAS_QI6000
                                  Drive Name: LTO4_1
                                 Device Type: REMOTE
                                     On-Line: Yes
                                Read Formats:
                               Write Formats:
                                 ACS DriveId:
                                 Drive State: UNKNOWN
                                 Volume Name:
                                Allocated to:
                                         WWN:
                               Serial Number:
              Last Update by (administrator): LIDZR8V
                       Last Update Date/Time: 03/30/11 10:22:04
Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE

                                Library Name: NAS_QI6000
                                  Drive Name: LTO4_11
                                 Device Type: REMOTE
                                     On-Line: Yes
                                Read Formats:
                               Write Formats:
                                 ACS DriveId:
                                 Drive State: UNKNOWN
                                 Volume Name:
                                Allocated to:
                                         WWN:
                               Serial Number:
              Last Update by (administrator): LIDGOYK
                       Last Update Date/Time: 09/26/11 16:00:21
Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE

                                Library Name: NAS_QI6000
                                  Drive Name: LTO4_24
                                 Device Type: REMOTE
                                     On-Line: Yes
                                Read Formats:
                               Write Formats:
                                 ACS DriveId:
                                 Drive State: UNKNOWN
                                 Volume Name:
                                Allocated to:
                                         WWN:
                               Serial Number:
              Last Update by (administrator): LIDGOYK
                       Last Update Date/Time: 09/26/11 15:57:16
Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE

                                Library Name: NAS_QI6000
                                  Drive Name: LTO4_25
                                 Device Type: REMOTE
                                     On-Line: Yes
                                Read Formats:
                               Write Formats:
                                 ACS DriveId:
                                 Drive State: UNKNOWN
                                 Volume Name:
                                Allocated to:
                                         WWN:
                               Serial Number:
              Last Update by (administrator): LIDGOYK
                       Last Update Date/Time: 09/26/11 15:59:33
Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE

                                Library Name: NAS_QI6000
                                  Drive Name: LTO4_26
                                 Device Type: REMOTE
                                     On-Line: Yes
                                Read Formats:
                               Write Formats:
                                 ACS DriveId:
                                 Drive State: UNKNOWN
                                 Volume Name:
                                Allocated to:
                                         WWN:
                               Serial Number:
              Last Update by (administrator): LIDGOYK
                       Last Update Date/Time: 09/26/11 16:00:37
Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE

                                Library Name: NAS_QI6000
                                  Drive Name: LTO4_27
                                 Device Type: REMOTE
                                     On-Line: Yes
                                Read Formats:
                               Write Formats:
                                 ACS DriveId:
                                 Drive State: UNKNOWN
                                 Volume Name:
                                Allocated to:
                                         WWN:
                               Serial Number:
              Last Update by (administrator): LIDGOYK
                       Last Update Date/Time: 09/26/11 15:57:36
Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE

                                Library Name: NAS_QI6000
                                  Drive Name: LTO4_28
                                 Device Type: REMOTE
                                     On-Line: Yes
                                Read Formats:
                               Write Formats:
                                 ACS DriveId:
                                 Drive State: UNKNOWN
                                 Volume Name:
                                Allocated to:
                                         WWN:
                               Serial Number:
              Last Update by (administrator): LIDGOYK
                       Last Update Date/Time: 09/26/11 15:59:49
Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE

                                Library Name: NAS_QI6000
                                  Drive Name: LTO4_29
                                 Device Type: REMOTE
                                     On-Line: Yes
                                Read Formats:
                               Write Formats:
                                 ACS DriveId:
                                 Drive State: UNKNOWN
                                 Volume Name:
                                Allocated to:
                                         WWN:
                               Serial Number:
              Last Update by (administrator): LIDGOYK
                       Last Update Date/Time: 09/26/11 16:00:51
Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE

                                Library Name: NAS_QI6000
                                  Drive Name: LTO4_30
                                 Device Type: REMOTE
                                     On-Line: Yes
                                Read Formats:
                               Write Formats:
                                 ACS DriveId:
                                 Drive State: UNKNOWN
                                 Volume Name:
                                Allocated to:
                                         WWN:
                               Serial Number:
              Last Update by (administrator): LIDGOYK
                       Last Update Date/Time: 09/26/11 15:58:01
Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE

                                Library Name: NAS_QI6000
                                  Drive Name: LTO4_31
                                 Device Type: REMOTE
                                     On-Line: Yes
                                Read Formats:
                               Write Formats:
                                 ACS DriveId:
                                 Drive State: UNKNOWN
                                 Volume Name:
                                Allocated to:
                                         WWN:
                               Serial Number:
              Last Update by (administrator): LIDGOYK
                       Last Update Date/Time: 09/26/11 16:00:06
Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE

                                Library Name: NAS_QI6000
                                  Drive Name: LTO4_32
                                 Device Type: REMOTE
                                     On-Line: Yes
                                Read Formats:
                               Write Formats:
                                 ACS DriveId:
                                 Drive State: UNKNOWN
                                 Volume Name:
                                Allocated to:
                                         WWN:
                               Serial Number:
              Last Update by (administrator): LIDGOYK
                       Last Update Date/Time: 09/26/11 16:01:00
Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE

                                Library Name: NAS_QI6000
                                  Drive Name: LTO4_6
                                 Device Type: REMOTE
                                     On-Line: Yes
                                Read Formats:
                               Write Formats:
                                 ACS DriveId:
                                 Drive State: UNKNOWN
                                 Volume Name:
                                Allocated to:
                                         WWN:
                               Serial Number:
              Last Update by (administrator): LIDGOYK
                       Last Update Date/Time: 09/26/11 15:59:15
Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE

As you can see they aren't showing the drive state yet, but I'm not sure if 
that's normal or not as they haven't been used yet.

Here are the path definitions from the drives to the datamovers:


                   Source Name: VNX5481_SERVER_2_OFFSITE
                   Source Type: DATAMOVER
              Destination Name: LTO4_1
              Destination Type: DRIVE
                       Library: NAS_QI6000
                     Node Name:
                        Device: c96t0l0
              External Manager:
                           LUN:
                     Initiator: 0
                     Directory:
                       On-Line: Yes
Last Update by (administrator): LIDGOYK
         Last Update Date/Time: 10/04/11 14:59:18

                   Source Name: VNX5481_SERVER_2_OFFSITE
                   Source Type: DATAMOVER
              Destination Name: LTO4_24
              Destination Type: DRIVE
                       Library: NAS_QI6000
                     Node Name:
                        Device: c80t0l0
              External Manager:
                           LUN:
                     Initiator: 0
                     Directory:
                       On-Line: Yes
Last Update by (administrator): LIDGOYK
         Last Update Date/Time: 10/04/11 15:00:03

                   Source Name: VNX5481_SERVER_2_OFFSITE
                   Source Type: DATAMOVER
              Destination Name: LTO4_27
              Destination Type: DRIVE
                       Library: NAS_QI6000
                     Node Name:
                        Device: c64t0l0
              External Manager:
                           LUN:
                     Initiator: 0
                     Directory:
                       On-Line: Yes
Last Update by (administrator): LIDGOYK
         Last Update Date/Time: 10/04/11 15:00:29

                   Source Name: VNX5481_SERVER_2_OFFSITE
                   Source Type: DATAMOVER
              Destination Name: LTO4_30
              Destination Type: DRIVE
                       Library: NAS_QI6000
                     Node Name:
                        Device: c48t0l0
              External Manager:
                           LUN:
                     Initiator: 0
                     Directory:
                       On-Line: Yes
Last Update by (administrator): LIDGOYK
         Last Update Date/Time: 10/04/11 15:00:54

                   Source Name: VNX5481_SERVER_3_OFFSITE
                   Source Type: DATAMOVER
              Destination Name: LTO4_25
              Destination Type: DRIVE
                       Library: NAS_QI6000
                     Node Name:
                        Device: c80t0l0
              External Manager:
                           LUN:
                     Initiator: 0
                     Directory:
                       On-Line: Yes
Last Update by (administrator): LIDGOYK
         Last Update Date/Time: 10/04/11 15:02:01

                   Source Name: VNX5481_SERVER_3_OFFSITE
                   Source Type: DATAMOVER
              Destination Name: LTO4_28
              Destination Type: DRIVE
                       Library: NAS_QI6000
                     Node Name:
                        Device: c64t0l0
              External Manager:
                           LUN:
                     Initiator: 0
                     Directory:
                       On-Line: Yes
Last Update by (administrator): LIDGOYK
         Last Update Date/Time: 10/04/11 15:02:27

                   Source Name: VNX5481_SERVER_3_OFFSITE
                   Source Type: DATAMOVER
              Destination Name: LTO4_31
              Destination Type: DRIVE
                       Library: NAS_QI6000
                     Node Name:
                        Device: c48t0l0
              External Manager:
                           LUN:
                     Initiator: 0
                     Directory:
                       On-Line: Yes
Last Update by (administrator): LIDGOYK
         Last Update Date/Time: 10/04/11 15:02:52

                   Source Name: VNX5481_SERVER_3_OFFSITE
                   Source Type: DATAMOVER
              Destination Name: LTO4_6
              Destination Type: DRIVE
                       Library: NAS_QI6000
                     Node Name:
                        Device: c96t0l0
              External Manager:
                           LUN:
                     Initiator: 0
                     Directory:
                       On-Line: Yes
Last Update by (administrator): LIDGOYK
         Last Update Date/Time: 10/04/11 15:01:35
                   Source Name: VNX5481_SERVER_4_OFFSITE
                   Source Type: DATAMOVER
              Destination Name: LTO4_11
              Destination Type: DRIVE
                       Library: NAS_QI6000
                     Node Name:
                        Device: c96t0l0
              External Manager:
                           LUN:
                     Initiator: 0
                     Directory:
                       On-Line: Yes
Last Update by (administrator): LIDGOYK
         Last Update Date/Time: 10/04/11 15:03:18

                   Source Name: VNX5481_SERVER_4_OFFSITE
                   Source Type: DATAMOVER
              Destination Name: LTO4_26
              Destination Type: DRIVE
                       Library: NAS_QI6000
                     Node Name:
                        Device: c80t0l0
              External Manager:
                           LUN:
                     Initiator: 0
                     Directory:
                       On-Line: Yes
Last Update by (administrator): LIDGOYK
         Last Update Date/Time: 10/04/11 15:03:43

                   Source Name: VNX5481_SERVER_4_OFFSITE
                   Source Type: DATAMOVER
              Destination Name: LTO4_29
              Destination Type: DRIVE
                       Library: NAS_QI6000
                     Node Name:
                        Device: c64t0l0
              External Manager:
                           LUN:
                     Initiator: 0
                     Directory:
                       On-Line: Yes
Last Update by (administrator): LIDGOYK
         Last Update Date/Time: 10/04/11 15:04:09

                   Source Name: VNX5481_SERVER_4_OFFSITE
                   Source Type: DATAMOVER
              Destination Name: LTO4_32
              Destination Type: DRIVE
                       Library: NAS_QI6000
                     Node Name:
                        Device: c48t0l0
              External Manager:
                           LUN:
                     Initiator: 0
                     Directory:
                       On-Line: Yes
Last Update by (administrator): LIDGOYK
         Last Update Date/Time: 10/04/11 15:04:34

Output of show slot command:

PVR slot information for library NAS_QI6000.
Library          : NAS_QI6000
Product Id       : Scalar i6000
Support module   : 4

Mount count      : 0

Drives           : 5
Slots            : 102
Changers         : 1
Import/Exports   : 36

Device           : /dev/lb0

Drive   0, element 256
Drive   1, element 257
Drive   2, element 258
Drive   3, element 259
Drive   4, element 260

Changer 0, element 1

ImpExp 0, element number 16
ImpExp 1, element number 17
ImpExp 2, element number 18
ImpExp 3, element number 19
ImpExp 4, element number 20
ImpExp 5, element number 21
ImpExp 6, element number 22
ImpExp 7, element number 23
ImpExp 8, element number 24
ImpExp 9, element number 25
ImpExp 10, element number 26
ImpExp 11, element number 27
ImpExp 12, element number 28
ImpExp 13, element number 29
ImpExp 14, element number 30
ImpExp 15, element number 31
ImpExp 16, element number 32
ImpExp 17, element number 33
ImpExp 18, element number 34
ImpExp 19, element number 35
ImpExp 20, element number 36
ImpExp 21, element number 37
ImpExp 22, element number 38
ImpExp 23, element number 39
ImpExp 24, element number 40
ImpExp 25, element number 41
ImpExp 26, element number 42
ImpExp 27, element number 43
ImpExp 28, element number 44
ImpExp 29, element number 45
ImpExp 30, element number 46
ImpExp 31, element number 47
ImpExp 32, element number 48
ImpExp 33, element number 49
ImpExp 34, element number 50
ImpExp 35, element number 51
Slot 0, status Full, element number 4096, barcode present, barcode value , 
devT=ANY, mediaT=-1, elemT=ANY
Slot 1, status Full, element number 4097, barcode present, barcode value , 
devT=ANY, mediaT=-1, elemT=ANY
Slot 2, status Full, element number 4098, barcode present, barcode value , 
devT=ANY, mediaT=-1, elemT=ANY
Slot 3, status Full, element number 4099, barcode present, barcode value , 
devT=ANY, mediaT=-1, elemT=ANY
Slot 4, status Full, element number 4100, barcode present, barcode value , 
devT=ANY, mediaT=-1, elemT=ANY
Slot 5, status Full, element number 4101, barcode present, barcode value , 
devT=ANY, mediaT=-1, elemT=ANY
Slot 6, status Full, element number 4102, barcode present, barcode value , 
devT=ANY, mediaT=-1, elemT=ANY
Slot 7, status Full, element number 4103, barcode present, barcode value , 
devT=ANY, mediaT=-1, elemT=ANY
Slot 8, status Full, element number 4104, barcode present, barcode value , 
devT=ANY, mediaT=-1, elemT=ANY
Slot 9, status Full, element number 4105, barcode present, barcode value , 
devT=ANY, mediaT=-1, elemT=ANY
Slot 10, status Full, element number 4106, barcode present, barcode value , 
devT=ANY, mediaT=-1, elemT=ANY
Slot 11, status Full, element number 4107, barcode present, barcode value , 
devT=ANY, mediaT=-1, elemT=ANY
Slot 12, status Full, element number 4108, barcode present, barcode value , 
devT=ANY, mediaT=-1, elemT=ANY
Slot 13, status Full, element number 4109, barcode present, barcode value , 
devT=ANY, mediaT=-1, elemT=ANY
Slot 14, status Full, element number 4110, barcode present, barcode value , 
devT=ANY, mediaT=-1, elemT=ANY
Slot 15, status Full, element number 4111, barcode present, barcode value , 
devT=ANY, mediaT=-1, elemT=ANY
Slot 16, status Full, element number 4112, barcode present, barcode value , 
devT=ANY, mediaT=-1, elemT=ANY
Slot 17, status Full, element number 4113, barcode present, barcode value , 
devT=ANY, mediaT=-1, elemT=ANY
Slot 18, status Full, element number 4114, barcode present, barcode value , 
devT=ANY, mediaT=-1, elemT=ANY
Slot 19, status Full, element number 4115, barcode present, barcode value , 
devT=ANY, mediaT=-1, elemT=ANY

slot element range 4096 - 4197

I'm not sure how I'd use the drive mapping utility since they aren't attached 
to my TSM server... or is that still possible?

Sorry for all of the questions, but I've never used a scsi library before so 
this is all new to me. I'm a little confused as we had more drives added to 
this configuration, but it's only showing 5.  Maybe I need to recycle the TSM 
application to make it recognize the changes?

Thanks again for any suggestions/help!

-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of 
James Choate
Sent: Wednesday, October 12, 2011 3:35 PM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: Label volumes in a scsi library?

Joni,
It doesn't look like your drives/paths are defined correctly.  The library is 
trying to move the volume from a slot 4096 to slot-element 65535.
In my experience, when I see slot element 65535, it usually points to either 
the drives, paths to drives not being defined correctly.

A couple of questions:

1)      what's the OS?
2)    what do your drives / paths to drives look like
3)    what does the output of a show slot look like, at least for the drives
4)    have you tried the IBM tape diagnostic tool to identify the correct 
element numbers for your drives / mt mapping?

-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of 
Moyer, Joni M
Sent: Wednesday, October 12, 2011 11:57 AM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: Label volumes in a scsi library?

Hi,

I've tried to do this and I'm now getting the following errors:

10/06/11 12:50:34     ANR0609I LABEL LIBVOLUME started as process 33588.
                       (SESSION: 58343, PROCESS: 33588)
10/06/11 12:50:46     ANR2017I Administrator LIDZR8V issued command: QUERY
                       PROCESS  (SESSION: 58344)
10/06/11 12:50:47     ANR8300E I/O error on library NAS_QI6000 (OP=00006C03,
                       CC=207, KEY=05, ASC=21, ASCQ=01, SENSE=70.00.05.00.00.00-
                       .00.0A.00.00.00.00.21.01.00.CF.00.06., Description=Device
                       is not in a state capable of performing request).  Refer
                       to Appendix C in the 'Messages' manual for recommended
                       action. (SESSION: 58343, PROCESS: 33588)
10/06/11 12:50:48     ANR8942E Could not move volume Q00000 from slot-element
                       4096 to slot-element 65535. (SESSION: 58343, PROCESS:
                       33588)
10/06/11 12:50:48     ANR8802E LABEL LIBVOLUME process 33588 for library
                       NAS_QI6000 failed. (SESSION: 58343, PROCESS: 33588)
10/06/11 12:50:48     ANR0985I Process 33588 for LABEL LIBVOLUME running in the
                       BACKGROUND completed with completion state FAILURE at

It seems like it doesn't want to move the volume to a drive to label it, but 
I'm having issues trying to figure out what that error message means from 
Appendix C.

How do I tell where those slot elements are?  It appears as if something is 
still not working correctly, but I'm trying to figure out if this is a set up 
issue?  Or if it's something else entirely.

I defined a scsi library as follows for my nas partition which the drives are 
zoned from the library to the datamovers and I have the library & path and 
drives & paths defined within TSM:

                 Library Name: NAS_QI6000
                  Library Type: SCSI
                        ACS Id:
              Private Category:
              Scratch Category:
         WORM Scratch Category:
              External Manager:
                        Shared: No
                       LanFree:
            ObeyMountRetention:
       Primary Library Manager:
                           WWN:
                 Serial Number: QUANTUM273100111_LL2
                     AutoLabel: No
                  Reset Drives: No
               Relabel Scratch:

                  Source Name: TSMPROD3
                   Source Type: SERVER
              Destination Name: NAS_QI6000
              Destination Type: LIBRARY
                       Library:
                     Node Name:
                        Device: /dev/lb0
              External Manager:
                           LUN:
                     Initiator: 0
                     Directory:
                       On-Line: Yes

If anyone has any suggestions/ideas as to what I might be doing wrong I'd 
really appreciate the help.  Thanks!!!!

-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of 
James Choate
Sent: Friday, October 07, 2011 9:53 AM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: Label volumes in a scsi library?

How did tape Q00000 get into the library? Did you manually load a batch of 
tapes in this library without checking them in thru the bulk I/O?

If that is the case, you can just checkin the tapes.
You can try:
Check in volumes that are already labeled:
checkin libvolume NAS_QI6000 search=yes status=scratch checklabel=barcode

-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of 
Moyer, Joni M
Sent: Thursday, October 06, 2011 8:52 AM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: [ADSM-L] Label volumes in a scsi library?

Hi Everyone,

I was trying to label a volume in a scsi library and I used the label libvol 
command to try and label Q00000 in the library NAS_QI6000 and it is failing.  
The tape is already physically in a slot in the library, so could someone 
please explain how I am to label tapes within this library on TSM?

Any help is greatly appreciated!!!!

Date/Time             Message
--------------------  ----------------------------------------------------------
10/06/11 10:24:59     ANR0984I Process 33581 for LABEL LIBVOLUME started in the
                       BACKGROUND at 10:24:59. (SESSION: 58024, PROCESS: 33581)
10/06/11 10:24:59     ANR8799I LABEL LIBVOLUME: Operation for library NAS_QI6000
                       started as process 33581. (SESSION: 58024, PROCESS:
                       33581)
10/06/11 10:24:59     ANR0609I LABEL LIBVOLUME started as process 33581.
                       (SESSION: 58024, PROCESS: 33581)
10/06/11 10:25:10     ANR8323I 006: Insert ANY volume Q00000 R/W into entry/exit
                       port of library NAS_QI6000 within 60 minute(s); issue
                       'REPLY' along with the request ID when ready. (SESSION:
                       58024, PROCESS: 33581)
10/06/11 10:26:45     ANR2017I Administrator LIDZR8V issued command: QUERY
                       ACTLOG search="process: 33581"  (SESSION: 58028)
10/06/11 10:32:21     ANR2017I Administrator LIDZR8V issued command: QUERY
                       ACTLOG search="process: 33581"  (SESSION: 58031)
10/06/11 10:32:30     ANR8385E All entry/exit ports of library NAS_QI6000 are
                       empty. (SESSION: 58024, PROCESS: 33581)
10/06/11 10:32:30     ANR8802E LABEL LIBVOLUME process 33581 for library
                       NAS_QI6000 failed. (SESSION: 58024, PROCESS: 33581)
10/06/11 10:32:30     ANR0985I Process 33581 for LABEL LIBVOLUME running in the
                       BACKGROUND completed with completion state FAILURE at
                       10:32:30. (SESSION: 58024, PROCESS: 33581)




________________________________
This e-mail and any attachments to it are confidential and are intended solely 
for use of the individual or entity to whom they are addressed. If you have 
received this e-mail in error, please notify the sender immediately and then 
delete it. If you are not the intended recipient, you must not keep, use, 
disclose, copy or distribute this e-mail without the author's prior permission. 
The views expressed in this e-mail message do not necessarily represent the 
views of Highmark Inc., its subsidiaries, or affiliates.