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" <ADSM-L@VM.MARIST.EDU> 08/28/2006 01:29 PM Please respond to "ADSM: Dist Stor Manager" <ADSM-L@VM.MARIST.EDU> To ADSM-L@VM.MARIST.EDU 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