I encountered these errors after a TSM-server upgrade + reboot.
"UPDATE DRIVE <LIBRARY> <DRIVE> SERIAL=AUTODetect" fixed the problem.

Jeroen


-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of
Rob Berendt
Sent: Wednesday, September 13, 2006 2:30 PM
To: [email protected]
Subject: [ADSM-L] How to script a reconfig of tape drives was: TSM loses
tape drives (again and again and again...)

I have a pmr open to figure out why TSM loses it's tape configs and
gen's the following message whenever you try to use the tape drive after
an IPL of the Suse Linux lpar on a System i.
08/28/2006 12:28:02  ANR8963E Unable to find path to match the serial
number defined for drive TAPMLB011 in library TAPMLB01.(SESSION:
1,PROCESS: 2)
PMR = 27256,500

Since the pmr shows no sign of being resolved in a timely fashion I was
wondering how to script the following steps to run on demand.  Maybe
even automatically after the start of TSM.

q path
q library
q drive tapmlb01 * f=d
q PATH * * F=D
q libv
delete path TSMLINUX TAPMLB011 srctype=server desttype=drive
library=TAPMLB01
delete path TSMLINUX TAPMLB012 srctype=server desttype=drive
library=TAPMLB01
delete path TSMLINUX TAPMLB01 srctype=server desttype=library delete
drive TAPMLB01 TAPMLB011 delete drive TAPMLB01 TAPMLB012 delete library
TAPMLB01 define library TAPMLB01 libtype=SCSI define path TSMLINUX
TAPMLB01 srctype=server desttype=library device=/dev/IBMchanger0 define
drive TAPMLB01 TAPMLB011 q drive TAPMLB01 * f=d define drive TAPMLB01
TAPMLB012 define path TSMLINUX TAPMLB011 srctype=server desttype=drive
library=TAPMLB01 device=/dev/IBMtape1
define path TSMLINUX TAPMLB012 srctype=server desttype=drive
library=TAPMLB01 device=/dev/IBMtape2
q drive TAPMLB01 * f=d
Q LIBV
CHECKIN LIBVOL TAPMLB01 SEARCH=YES CHECKLABEL=YES STATUS=SCRATCH
WAITTIME=5


Rob Berendt
--
Group Dekko Services, LLC
Dept 01.073
PO Box 2000
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





Rob Berendt <[EMAIL PROTECTED]>
Sent by: "ADSM: Dist Stor Manager" <[email protected]>
08/28/2006 01:29 PM
Please respond to
"ADSM: Dist Stor Manager" <[email protected]>


To
[email protected]
cc

Subject
[ADSM-L] TSM loses tape drives (again and again and again...)






Seems pretty consistent that when we IPL our Linux partition on our
iSeries TSM will no longer talk to the tape drives.
q system
Storage Management Server for Linux/ppc64 - Version 5, Release 3, Level
3.1
Suse Linux on iSeries.
backup db devclass=lto_class type=full scratch=yes wait=no results in:
08/28/2006 12:28:02  ANR8779E Unable to open drive /dev/IBMtape1, error
number=22.(SESSION: 1, PROCESS: 2)
08/28/2006 12:28:02  ANR8945W Scratch volume mount failed 04WK1.
(SESSION: 1, PROCESS: 2)
08/28/2006 12:28:02  ANR1792W HBAAPI vendor library failed to load or is
missing.(SESSION: 1, PROCESS: 2)
08/28/2006 12:28:02  ANR8963E Unable to find path to match the serial
number defined for drive TAPMLB011 in library TAPMLB01.(SESSION: 1,
PROCESS: 2)
08/28/2006 12:28:02  ANR8779E Unable to open drive /dev/IBMtape1, error
number=21.(SESSION: 1, PROCESS: 2)
08/28/2006 12:28:38  ANR8381E LTO volume 04WK1 could not be mounted in
drive TAPMLB011 (/dev/IBMtape1).(SESSION: 1, PROCESS: 2)
08/28/2006 12:28:38  ANR1404W Scratch volume mount request denied -
mount failed.(SESSION: 1, PROCESS: 2)
08/28/2006 12:28:38  ANR4578E Database backup/restore terminated -
required volume was not mounted.(SESSION: 1, PROCESS: 2)
08/28/2006 12:28:38  ANR0985I Process 2 for DATABASE BACKUP running in
the BACKGROUND completed with completion state FAILURE at 12:28:38 PM.
(SESSION: 1, PROCESS: 2)

In Linux I tried:
IBMtapeutil
1. Open a Device
/dev/IBMtape1 for read/write
3. Inquiry
Inquiry Data:
Peripheral Qualifier-------------------0x00 Peripheral Device
Type----------------0x01 Removal Medium Bit--------------------1 Device
Type Modifier------------------0x00 ISO
version---------------------------0x00
ECMA version--------------------------0x00
ANSI version--------------------------0x03
Asynchronous Event Notification Bit---0
Terminate I/O Process Message Bit-----0
Response Data Format------------------0x02 Additional
Length---------------------0x35 Medium Changer
Mode-------------------0x00 Relative Addressing Bit---------------0
32 Bit Wide Data Transfers Bit--------0
16 Bit Wide Data Transfers Bit--------0
Synchronous Data Transfers Bit--------0
Linked Commands Bit-------------------0
Command Queueing Bit------------------0
Soft Reset Bit------------------------0
Vendor ID-----------------------------IBM
Product ID----------------------------ULT3580-TD2
Product Revision Level----------------4772

vendor1,  Length 20

            0 1  2 3  4 5  6 7  8 9  A B  C D  E F   0123456789ABCDEF
    0000 - 0000 0000 0000 0000 0000 0000 0000 0000  [................]
    0010 - 0000 0000                                [....            ]


vendor2,  Length 31

            0 1  2 3  4 5  6 7  8 9  A B  C D  E F   0123456789ABCDEF
    0000 - 0000 0000 0000 0000 0000 0000 0000 0000  [................]
    0010 - 0000 0000 0000 0000 0000 0000 0000 00    [............... ]

I do NOT see the serial number.  Am I looking in the wrong spot?

Rob Berendt
--
Group Dekko Services, LLC
Dept 01.073
PO Box 2000
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com



ÿþDit bericht is vertrouwelijk en kan 
geheime informatie bevatten enkel

bestemd voor de geadresseerde. Indien 
dit bericht niet voor u is bestemd,

verzoeken wij u dit onmiddellijk aan 
ons te melden en het bericht te

vernietigen.

Aangezien de integriteit van het 
bericht niet veilig gesteld is middels

verzending via internet, kan Atos 
Origin niet aansprakelijk worden 
gehouden

voor de inhoud daarvan.

Hoewel wij ons inspannen een virusvrij 
netwerk te hanteren, geven

wij geen enkele garantie dat dit 
bericht virusvrij is, noch aanvaarden 
wij

enige aansprakelijkheid voor de 
mogelijke aanwezigheid van een virus in 
dit

bericht.

 

Op al onze rechtsverhoudingen, 
aanbiedingen en overeenkomsten 
waaronder

Atos Origin goederen en/of diensten 
levert zijn met uitsluiting van alle

andere voorwaarden de 
Leveringsvoorwaarden van Atos Origin 
van toepassing.

Deze worden u op aanvraag direct 
kosteloos toegezonden.

 

This e-mail and the documents attached 
are confidential and intended solely

for the addressee; it may also be 
privileged. If you receive this e-mail

in error, please notify the sender 
immediately and destroy it.

As its integrity cannot be secured on 
the Internet, the Atos Origin group

liability cannot be triggered for the 
message content. Although the

sender endeavours to maintain a 
computer virus-free network, the sender

does not warrant that this transmission 
is virus-free and will not be

liable for any damages resulting from 
any virus transmitted.

 

On all offers and agreements under 
which Atos Origin supplies goods and/or

services of whatever nature, the Terms 
of Delivery from Atos Origin

exclusively apply. 

The Terms of Delivery shall be promptly 
submitted to you on your request

Reply via email to