ADSM-L

DB Recovery Problem

2007-02-05 23:18:58
Subject: DB Recovery Problem
From: Gerald <gwichman AT GMAIL DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Mon, 5 Feb 2007 20:18:39 -0800
When doing a "./dsmserv restore db devc=ts1120 vol=MA0001 commit=yes"
I get the following error which seems as though TSM can't locate the
cartridge even though it's in the library.. I've even tried manually
putting it in the drive and kicking off the restore db command but it
simply ejects the cartridge and returns it to slot 1025 and still
errors with the following.. I have tried both "MA0001" and "MA0001JA"
but neither does it..

Any thoughts on whats wrong? I'm running out of ideas..

Tivoli Storage Manager for AIX-RS/6000
Version 5, Release 3, Level 4.0

Licensed Materials - Property of IBM

(C) Copyright IBM Corporation 1990, 2006.
All rights reserved.
U.S. Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corporation.

ANR0900I Processing options file dsmserv.opt.
ANR4726I The ICC support module has been loaded.
ANR8200I TCP/IP driver ready for connection with clients on port 1500.
ANR0200I Recovery log assigned capacity is 5120 megabytes.
ANR0201I Database assigned capacity is 102400 megabytes.
ANR4621I Database backup device class TS1120.
ANR4622I   Volume 1: MA0001.
ANR4630I Starting point-in-time database restore (commit).
ANR0300I Recovery log format started; assigned capacity 5120 megabytes.
ANR8312E Volume MA0001 could not be located in library TS3500.
ANR1402W Mount request denied for volume MA0001 - volume unavailable.
ANR9999D Mutex acquisition failure, errno=22; thread 1 (tid 0).
ANR7838S Server operation terminated.
 0x0000000100010538 pkAbort
 0x000000010000d4b4 TrapSyncError
 0x000000010000dec0 pkAcquireMutex
 0x00000001006b0648 IcCopyEnd
 0x00000001002d0920 IcRestoreDbData
 0x00000001002cd37c icRestoreOneImageCopy
 0x00000001007020dc AdmRestoreDb
 0x000000010021847c admRestoreDatabase
 0x0000000100005090 RestoreDb
 0x0000000100002eb0 main
ANR7833S Server thread 1 terminated in response to program abort.
ANR7833S Server thread 2 terminated in response to program abort.
ANR7833S Server thread 3 terminated in response to program abort.
ANR7833S Server thread 4 terminated in response to program abort.
ANR7833S Server thread 5 terminated in response to program abort.
ANR7833S Server thread 6 terminated in response to program abort.
ANR7833S Server thread 7 terminated in response to program abort.
ANR7833S Server thread 8 terminated in response to program abort.
ANR7833S Server thread 9 terminated in response to program abort.
ANR7833S Server thread 10 terminated in response to program abort.
ANR7833S Server thread 11 terminated in response to program abort.
IOT/Abort trap (core dumped)

devconfig file (WWN and SERIAL #'s edited)..

DEFINE DEVCLASS TS1120 DEVTYPE=3592 FORMAT=DRIVE MOUNTLIMIT=DRIVES
MOUNTWAIT=60 MOUNTRETENTION=60 PREFIX=ADSM LIBRARY=TS3500 D
RIVEENCRYPTION=ALLOW SCALECAPACITY=100
SET SERVERNAME TSM
DEFINE LIBRARY TS3500 LIBTYPE=SCSI WWN="----" SERIAL="-----" SHARED=NO
AUTOLABEL=NO RESETDRIVE=NO
DEFINE PATH TSM TS3500 SRCTYPE=SERVER DESTTYPE=LIBRARY
DEVICE=/dev/smc0 ONLINE=YES
DEFINE DRIVE TS3500 DRIVE0 ELEMENT=257 ONLINE=Yes WWN="----" SERIAL="----"
DEFINE PATH TSM DRIVE0 SRCTYPE=SERVER DESTTYPE=DRIVE LIBRARY=TS3500
DEVICE=/dev/rmt0 ONLINE=YES

as you can see via tapeutil it's in a slot:

Slot Address 1025
 Slot State ..................... Normal
 ASC/ASCQ ....................... 0000
 Media Present .................. Yes
 Robot Access Allowed ........... Yes
 Source Element Address Valid ... No
 Media Inverted ................. No
 Volume Tag ..................... MA0001JA

root@bs-ip615-23-031:/usr/tivoli/tsm/server/bin$ lslpp -L | grep Atape
 Atape.driver              10.3.9.0    C     F    IBM AIX Enhanced Tape and
root@bs-ip615-23-031:/usr/tivoli/tsm/server/bin$ lsdev -Cc tape
rmt0 Available 1H-08-01 IBM 3592 Tape Drive (FCP)
rmt1 Available 1H-08-01 IBM 3592 Tape Drive (FCP)
rmt2 Available 1H-08-01 IBM 3592 Tape Drive (FCP)
smc0 Available 1H-08-01 IBM 3584 Library Medium Changer (FCP)
root@bs-ip615-23-031:/usr/tivoli/tsm/server/bin$ lsdev -C | grep scsi
fscsi0     Available 1H-08-01      FC SCSI I/O Controller Protocol Device
fscsi1     Available 1V-08-01      FC SCSI I/O Controller Protocol Device

<Prev in Thread] Current Thread [Next in Thread>