ADSM-L

Antwort: Re: cannot restore tsm database (dsmserve restore db)!!! Please Help!!!!! [Virus checked]

2004-10-23 15:59:45
Subject: Antwort: Re: cannot restore tsm database (dsmserve restore db)!!! Please Help!!!!! [Virus checked]
From: Frank Mueller <fmu AT OERAG DOT DE>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Sat, 23 Oct 2004 21:59:34 +0200
Hi,

thanks for your answer.

Yes in the dsmserv file stands the path to the old logs. But this logs I
craete new in the same path!

Now I try to restore to a point in time.
Now I get this errors (additional my configuration):

# dsmserv restore db todate=10/22/2004
ANR7800I DSMSERV generated at 16:53:28 on Oct 16 2003.

Tivoli Storage Manager for AIX-RS/6000
Version 5, Release 1, Level 8.0

Licensed Materials - Property of IBM

5698-ISE (C) Copyright IBM Corporation 1999,2002. 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 /usr/tivoli/tsm/server/bin/dsmserv.opt.
ANR7811I Direct I/O will be used for all eligible disk files.
ANR4726I The Async I/O support module has been loaded.
ANR8200I TCP/IP driver ready for connection with clients on port 1501.
ANR0200I Recovery log assigned capacity is 2908 megabytes.
ANR0201I Database assigned capacity is 11008 megabytes.
ANR4600I Processing volume history file /mgnt/adsm/logs/vol_his.
ANR2022E DEFINE PATH: One or more parameters are missing.
ANR0901W Invalid DEFINE PATH statement found in file
/mgnt/adsm/logs/dev_con_i-
nf.srv.
ANR1438W Skipping device configuration file:
/mgnt/adsm/logs/dev_con_inf.srv.
ANR2022E DEFINE PATH: One or more parameters are missing.
ANR0901W Invalid DEFINE PATH statement found in file
/mgnt/db_mirror/dev_con_i-
nf.srv.
ANR1438W Skipping device configuration file:
/mgnt/db_mirror/dev_con_inf.srv.
ANR2022E DEFINE PATH: One or more parameters are missing.
ANR0901W Invalid DEFINE PATH statement found in file
/mgnt/save_data/adsm_db/c-
onfig/dev_con_inf.srv.
ANR1438W Skipping device configuration file:
/mgnt/save_data/adsm_db/config/de-
v_con_inf.srv.
ANR2022E DEFINE PATH: One or more parameters are missing.
ANR0901W Invalid DEFINE PATH statement found in file
/mgnt/adsm/oerag02/dev_co-
n_inf.srv.
ANR9999D admdbbk.c(4466): ThreadId<0> Error 272 creating device class
CART_3590.


My dsmserv.dsk file shows so:

#dsk_comment#page_shadow_token:1041023214123
/mgnt/db_mirror/adsm_db00m.dsm
/mgnt/db_mirror/adsm_db01m.dsm
/mgnt/storage/logm/adsm_log00m.dsm
/mgnt/storage/db/adsm_db02.dsm
/mgnt/storage/db/adsm_db00.dsm
/mgnt/storage/db/adsm_db01.dsm
/mgnt/log/adsm_log00.dsm
/mgnt/db_mirror/adsm_db02m.dsm
/mgnt/log/adsm_log01.dsm
/mgnt/storage/logm/adsm_log01m.dsm
/mgnt/storage_ext/db/adsm_db03.dsm
/mgnt/db_mirror/adsm_db03m.dsm
/mgnt/storage_ext/db/adsm_db04.dsm
/mgnt/db_mirror/adsm_db04m.dsm
/mgnt/log/adsm_log02.dsm
/mgnt/storage_ext/db/adsm_db05.dsm
/mgnt/db_mirror/adsm_db05m.dsm
/mgnt/storage_ext/db/adsm_db06.dsm
/mgnt/db_mirror/adsm_db06m.dsm
/mgnt/log/adsm_log03.dsm
/mgnt/storage_ext/db/adsm_db07.dsm
/mgnt/db_mirror/adsm_db07m.dsm
/mgnt/storage_ext/db/adsm_db08.dsm
/mgnt/db_mirror/adsm_db08m.dsm
/mgnt/storage_ext/db/adsm_db09.dsm
/mgnt/db_mirror/adsm_db09m.dsm
/mgnt/log/adsm_log04.dsm
/mgnt/log/adsm_log05.dsm
/mgnt/log/adsm_log06.dsm
/mgnt/log/adsm_log07.dsm
 /mgnt/log/adsm_log08.dsm



 and my devconf:

/* Device Configuration */
DEFINE DEVCLASS CART_3590 DEVTYPE=3590 FORMAT=DRIVE ESTCAPACITY=20480000K
MOUNTLIMIT=4 MOUNTWAIT=60 MOUNTRETENTION=1 PREFIX=ADSM LIBRARY=3590_LIB01
DEFINE DEVCLASS CART_360 DEVTYPE=CARTRIDGE FORMAT=DRIVE ESTCAPACITY=368640K
MOUNTLIMIT=2 MOUNTWAIT=60 MOUNTRETENTION=1 PREFIX=OERAG LIBRARY=3494_LIB01
DEFINE DEVCLASS CART_720 DEVTYPE=CARTRIDGE FORMAT=DRIVE ESTCAPACITY=737280K
MOUNTLIMIT=2 MOUNTWAIT=60 MOUNTRETENTION=1 PREFIX=OERAG LIBRARY=3494_LIB01
DEFINE DEVCLASS DUMP_DB DEVTYPE=FILE FORMAT=DRIVE MAXCAPACITY=102400K
MOUNTLIMIT=1 DIRECTORY=/mgnt/save_data/adsm_db/dump SHARED=NO
DEFINE DEVCLASS FILE DEVTYPE=FILE FORMAT=DRIVE MAXCAPACITY=4096K
MOUNTLIMIT=1 DIRECTORY=/mgnt/adsm/start_oerag01 SHARED=NO
DEFINE DEVCLASS FULL_BAK_DB DEVTYPE=FILE FORMAT=DRIVE MAXCAPACITY=102400K
MOUNTLIMIT=1 DIRECTORY=/mgnt/save_data/adsm_db/full_bak SHARED=NO
DEFINE DEVCLASS INCREM_BAK_DB DEVTYPE=FILE FORMAT=DRIVE MAXCAPACITY=102400K
MOUNTLIMIT=1 DIRECTORY=/mgnt/save_data/adsm_db/increm_bak SHARED=NO
DEFINE DEVCLASS MAN_3490 DEVTYPE=CARTRIDGE FORMAT=DRIVE MOUNTLIMIT=2
MOUNTWAIT=60 MOUNTRETENTION=60 PREFIX=ADSM LIBRARY=3490_MAN
DEFINE DEVCLASS OERAG02 DEVTYPE=SERVER MAXCAPACITY=52428800K MOUNTLIMIT=3
MOUNTRETENTION=1 PREFIX=ADSM SERVERNAME=ADSM_OERAG02 RETRYPERIOD=10
RETRYINTERVAL=30
DEFINE SERVER ADSM_OERAG02 COMMMETHOD=TCPIP HLADDRESS=172.21.1.11
LLADDRESS=1500  NODENAME=ADSM_OERAG01 PASSWORD=18caa3f45456
SET SERVERNAME ADSM_OERAG01
DEFINE LIBRARY 3494_LIB01 LIBTYPE=MANUAL
DEFINE LIBRARY 3590_LIB01 LIBTYPE=349X PRIVATECATEGORY=300
SCRATCHCATEGORY=302 SHARED=NO
DEFINE DRIVE 3590_LIB01 3590_DRV00 ONLINE=Yes
DEFINE DRIVE 3590_LIB01 3590_DRV01 ONLINE=Yes
DEFINE DRIVE 3590_LIB01 3590_DRV02 ONLINE=Yes
DEFINE DRIVE 3590_LIB01 3590_DRV03 ONLINE=Yes
DEFINE PATH ADSM_OERAG01 3494_LIB01 SRCTYPE=SERVER DESTTYPE=LIBRARY
ONLINE=YES
DEFINE PATH ADSM_OERAG01 3590_LIB01 SRCTYPE=SERVER DESTTYPE=LIBRARY
DEVICE=/dev/lmcp0 ONLINE=YES
DEFINE PATH ADSM_OERAG01 3590_DRV00 SRCTYPE=SERVER DESTTYPE=DRIVE
LIBRARY=3590_LIB01 DEVICE=/dev/rmt0 ONLINE=YES
DEFINE PATH ADSM_OERAG01 3590_DRV01 SRCTYPE=SERVER DESTTYPE=DRIVE
LIBRARY=3590_LIB01 DEVICE=/dev/rmt1 ONLINE=YES
DEFINE PATH ADSM_OERAG01 3590_DRV02 SRCTYPE=SERVER DESTTYPE=DRIVE
LIBRARY=3590_LIB01 DEVICE=/dev/rmt2 ONLINE=YES
 DEFINE PATH ADSM_OERAG01 3590_DRV03 SRCTYPE=SERVER DESTTYPE=DRIVE
 LIBRARY=3590_LIB01 DEVICE=/dev/rmt3 ONLINE=YES





                      Orville Lantto
                      <orville.lantto@DAT        An:       ADSM-L AT VM.MARIST 
DOT EDU
                      ATREND.COM>                Kopie:
                      Gesendet von:              Thema:    Re: cannot restore 
tsm database (dsmserve restore db)!!! Please Help!!!!!
                      "ADSM: Dist Stor            [Virus checked]
                      Manager"
                      <[email protected]
                      DU>


                      23.10.2004 21:48
                      Bitte antworten an
                      "ADSM: Dist Stor
                      Manager"






It sounds like you did not initialize the database and logs.  Check the
command dsmserv format" .

The errors you cite appear to come from the existence of an old
dsmserv.dsk file which points to your old log and database volumes.



Orville L. Lantto
Datatrend Technologies, Inc.  (http://www.datatrend.com)
IBM Premier Business Partner
121 Cheshire Lane, Suite 700
Minnetonka, MN 55305
Email: Orville.Lantto AT datatrend DOT com

CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any  unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.



Frank Mueller <fmu AT OERAG DOT DE>
Sent by: "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
10/23/04 01:38 PM
Please respond to
"ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>


To
ADSM-L AT VM.MARIST DOT EDU
cc

Subject
cannot restore tsm database (dsmserve restore db)!!! Please Help!!!!!
[Virus checked]






Hi,

I have a great problem to restore my TSM Database. Server runs on AIX
5.2_ML02 and TSM Server Version 5.1.8
I stop the server, so I have a consitent status.

After the server stop I lost the disks where are my db-logs (hardware).
Now
I change the disks and recreate the db-log files with dsmfmt -log path
size
But I cannot start the server. I think this is o.k. because the logs are
new and empty. So I start a

dsmserv restore db
and get the following errors:

# dsmserv restore db preview=yes
ANR7800I DSMSERV generated at 16:53:28 on Oct 16 2003.

Tivoli Storage Manager for AIX-RS/6000
Version 5, Release 1, Level 8.0

Licensed Materials - Property of IBM

5698-ISE (C) Copyright IBM Corporation 1999,2002. 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 /usr/tivoli/tsm/server/bin/dsmserv.opt.
ANR7811I Direct I/O will be used for all eligible disk files.
ANR4726I The Async I/O support module has been loaded.
ANR8200I TCP/IP driver ready for connection with clients on port 1501.
ANR9999D lvminit.c(1915): ThreadId<0> The capacity of disk
'/mgnt/log/adsm_log-
02.dsm' has changed; old capacity 77056 - new capacity 102656.
ANR9999D lvminit.c(1671): ThreadId<0> Unable to add disk
/mgnt/log/adsm_log02.-ANR9999D lvminit.c(1915): ThreadId<0> The capacity
of disk
'/mgnt/log/adsm_log-
02.dsm' has changed; old capacity 77056 - new capacity 102656.
ANR9999D lvminit.c(1671): ThreadId<0> Unable to add disk
/mgnt/log/adsm_log02.-ANR9999D lvminit.c(1915): ThreadId<0> The capacity
of disk
'/mgnt/log/adsm_log-
02.dsm' has changed; old capacity 77056 - new capacity 102656.
ANR9999D lvminit.c(1671): ThreadId<0> Unable to add disk
/mgnt/log/adsm_log02.-ANR9999D lvminit.c(1915): ThreadId<0> The capacity
of disk
'/mgnt/log/adsm_log-
02.dsm' has changed; old capacity 77056 - new capacity 102656.
ANR9999D lvminit.c(1671): ThreadId<0> Unable to add disk
/mgnt/log/adsm_log02.-ANR9999D lvminit.c(1915): ThreadId<0> The capacity
of disk
'/mgnt/log/adsm_log-
02.dsm' has changed; old capacity 77056 - new capacity 102656.
ANR9999D lvminit.c(1671): ThreadId<0> Unable to add disk
/mgnt/log/adsm_log02.-ANR9999D lvminit.c(1915): ThreadId<0> The capacity
of disk
'/mgnt/log/adsm_log-
02.dsm' has changed; old capacity 77056 - new capacity 102656.
ANR9999D lvminit.c(1671): ThreadId<0> Unable to add disk
/mgnt/log/adsm_log02.-ANR9999D lvminit.c(1915): ThreadId<0> The capacity
of disk
'/mgnt/log/adsm_log-
02.dsm' has changed; old capacity 77056 - new capacity 102656.
ANR9999D lvminit.c(1671): ThreadId<0> Unable to add disk
/mgnt/log/adsm_log02.-ANR9999D lvminit.c(1915): ThreadId<0> The capacity
of disk
'/mgnt/log/adsm_log-
02.dsm' has changed; old capacity 77056 - new capacity 102656.
ANR9999D lvminit.c(1671): ThreadId<0> Unable to add disk
/mgnt/log/adsm_log02.-ANR9999D lvminit.c(1915): ThreadId<0> The capacity
of disk
'/mgnt/log/adsm_log-
02.dsm' has changed; old capacity 77056 - new capacity 102656.
ANR9999D lvminit.c(1671): ThreadId<0> Unable to add disk
/mgnt/log/adsm_log02.-ANR9999D lvminit.c(1915): ThreadId<0> The capacity
of disk
'/mgnt/log/adsm_log-
02.dsm' has changed; old capacity 77056 - new capacity 102656.
ANR9999D lvminit.c(1671): ThreadId<0> Unable to add disk
/mgnt/log/adsm_log02.-ANR9999D lvminit.c(1915): ThreadId<0> The capacity
of disk
'/mgnt/log/adsm_log-
02.dsm' has changed; old capacity 77056 - new capacity 102656.
ANR9999D lvminit.c(1671): ThreadId<0> Unable to add disk
/mgnt/log/adsm_log02.-ANR9999D lvminit.c(1915): ThreadId<0> The capacity
of disk
'/mgnt/log/adsm_log-
02.dsm' has changed; old capacity 77056 - new capacity 102656.
ANR9999D lvminit.c(1671): ThreadId<0> Unable to add disk
/mgnt/log/adsm_log02.-ANR9999D lvminit.c(1915): ThreadId<0> The capacity
of disk
'/mgnt/log/adsm_log-
02.dsm' has changed; old capacity 77056 - new capacity 102656.
ANR9999D lvminit.c(1671): ThreadId<0> Unable to add disk
/mgnt/log/adsm_log02.-ANR9999D lvminit.c(1915): ThreadId<0> The capacity
of disk
'/mgnt/log/adsm_log-
02.dsm' has changed; old capacity 77056 - new capacity 102656.
ANR9999D lvminit.c(1671): ThreadId<0> Unable to add disk
/mgnt/log/adsm_log02.-ANR9999D lvminit.c(1915): ThreadId<0> The capacity
of disk
'/mgnt/log/adsm_log-
02.dsm' has changed; old capacity 77056 - new capacity 102656.
ANR9999D lvminit.c(1671): ThreadId<0> Unable to add disk
/mgnt/log/adsm_log02.-ANR0259E Unable to read complete restart/checkpoint
information from any
database or recovery log volume.
(root:argus)[/usr/tivoli/tsm/server/bin]




What can I do????? I need help!!!!


Best regards,
 Frank

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