Recovery PROBLEM

morijona

ADSM.ORG Member
Joined
Mar 21, 2006
Messages
3
Reaction score
0
Points
0
Website
Visit site
Hi,

I'm trying to restore my DB but it fail.
I started my restore with dsmserv restore db devclass=ltoClass volumename=VOLUME_4 commit=yes
but i got a segmentation fault(core Dump)

so i use the script createDBLOG(attached file) to recreate my db ans log it work number one
after that i use the script INITIALIZELOGDB (attached file) and i got a segmentation fault again
[root@garbkp bin]# /tsm/RECOVERY_SCRIPT/INITIALIZELOGDB
+ /opt/tivoli/tsm/server/bin/dsmserv format 4 file:/opt/tivoli/tsm/server/bin/LOG.VOLUMES 1 file:/opt/tivoli/tsm/server/bin/DB.VOLUMES

Tivoli Storage Manager for Linux/i386
Version 5, Release 3, Level 2.0

Licensed Materials - Property of IBM

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

ANR7800I DSMSERV generated at 03:39:28 on Sep 27 2005.
ANR7801I Subsystem process ID is 6089.
ANR0900I Processing options file dsmserv.opt.
ANR4726I The ICC support module has been loaded.
/tsm/RECOVERY_SCRIPT/INITIALIZELOGDB: line 5: 6089 segmentation Fault (core dumped) /opt/tivoli/tsm/server/bin/dsmserv format 4 file:/opt/tivoli/tsm/server/bin/LOG.VOLUMES 1 file:/opt/tivoli/tsm/server/bin/DB.VOLUMES

when i try to start my server with the #dsmserv i got this

root@garbkp bin]# dsmserv

Tivoli Storage Manager for Linux/i386
Version 5, Release 3, Level 2.0

Licensed Materials - Property of IBM

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

ANR7800I DSMSERV generated at 03:39:28 on Sep 27 2005.
ANR7801I Subsystem process ID is 6104.
ANR0900I Processing options file dsmserv.opt.
ANR4726I The ICC support module has been loaded.
ANR0990I Server restart-recovery in progress.
ANR0200I Recovery log assigned capacity is 8640 megabytes.
ANR0201I Database assigned capacity is 20000 megabytes.
ANR0994W This server has not been properly installed.

anyone have an idea how i can initialize my log ? or what is my problem ;)

Thanks
John
 

Attachments

  • createDBLOG.txt
    3.1 KB · Views: 14
  • INITIALIZELOGDB.txt
    268 bytes · Views: 15
Hi,

as the server is dead it won't hurt to reinstall it. So uninstall, delete remnants, install again - if it does initialize new instance then it can format the DB volumes - so can you too.

(OR)

When restoring DB you do not need the DB and RLOG volumes to be the same - they just need to be atleast the same size.

So try:
check if the dsmserv process does not run, check the free space on /tsm/db and /tsm/log
rename dsmserv.dsk to dsmserv.dsk.old
/opt/tivoli/tsm/server/bin/dsmfmt -m -db /tsm/db/db.dsm 20000
/opt/tivoli/tsm/server/bin/dsmfmt -m -log /tsm/log/log.dsm 10000
/opt/tivoli/tsm/server/bin/dsmserv format 1 /tsm/log/log.dsm 1 /tsm/db/db.dsm
/opt/tivoli/tsm/server/bin/dsmserv restore db devclass=ltoClass volumename=VOLUME_4 commit=yes
tell us the result :)

Harry
 
thanks for your reply,

i'm reinstalling everything right now, i'll try to find your to remove the default db and log that the installation create and i'll give you a feedback
 
Hi, i'm hanging on the library configuration i know i have to configure the lb.conf & mt.conf but i really dont know what to put there.

here what i got when i do a cat /proc/scsi/scsi

[root@garbkp dev]# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: IBM Model: SERVERAID Rev: 1.00
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: IBM Model: SERVERAID Rev: 1.00
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 15 Lun: 00
Vendor: IBM Model: SERVERAID Rev: 1.00
Type: Processor ANSI SCSI revision: 02
Host: scsi0 Channel: 02 Id: 08 Lun: 00
Vendor: IBM Model: 39M6750a S320 0 Rev: 1
Type: Processor ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 05 Lun: 00
Vendor: IBM Model: ULTRIUM-TD2 Rev: 4770
Type: Sequential-Access ANSI SCSI revision: 03
Host: scsi1 Channel: 00 Id: 05 Lun: 01
Vendor: IBM Model: 36232LX Rev: 1.20
Type: Medium Changer ANSI SCSI revision: 02
[root@garbkp dev]#
 
Back
Top