- 论坛徽章:
- 0
|
用0级备份的带子恢复,同一台机子,数据库也没动,一个月前还成功过,现在却不行了!!!
(chunk,dbspace都一致),恢复过程如下:
hcb2:/informix/etc>;ontape -r
Please mount tape 1 on /dev/rmt/0m and press Return to continue ...
Archive Tape Information
Tape type: Archive Backup Tape
Online version: Informix Dynamic Server Version 7.31.FC6
Archive date: Fri Dec 5 16:02:55 2003
User id: hcb
Terminal id: /dev/pts/12
Archive level: 0
Tape device: /dev/rmt/0m
Tape blocksize (in k): 4096
Tape size (in k): 25165824
Tape number in series: 1
Spaces to restore:1 [rootdbs ]
2 [hcbdbs ]
3 [logdbs ]
Archive Information
Informix Dynamic Server Copyright(C) 1986-1998 Informix Software, Inc.
Initialization Time 12/27/2002 18:15:59
System Page Size 2048
Version 6
Archive CheckPoint Time 12/05/2003 16:03:08
Dbspaces
number flags fchunk nchunks flags owner name
1 1 1 1 N informix rootdbs
2 1 2 11 N informix hcbdbs
3 1 7 1 N informix logdbs
4 2001 8 1 N T informix tmpdbs1
5 2001 9 1 N T informix tmpdbs2
6 2001 10 1 N T informix tmpdbs3
Chunks
chk/dbs offset size free bpages flags pathname
1 1 0 200000 148903 PO- /dev/dbs/rootdbs
2 2 0 1024000 7 PO- /dev/dbs/hcbdbs-1
3 2 0 1024000 0 PO- /dev/dbs/hcbdbs-2
4 2 0 1024000 3 PO- /dev/dbs/hcbdbs-3
5 2 0 1024000 0 PO- /dev/dbs/hcbdbs-4
6 2 0 1024000 0 PO- /dev/dbs/hcbdbs-5
7 3 0 1024000 923947 PO- /dev/dbs/logdbs
8 4 0 512000 511939 PO- /dev/dbs/tmpdbs1
9 5 0 512000 511947 PO- /dev/dbs/tmpdbs2
10 6 0 512000 511939 PO- /dev/dbs/tmpdbs3
11 2 0 1024000 0 PO- /dev/dbs/hcbdbs-6
12 2 0 1024000 0 PO- /dev/dbs/hcbdbs-7
13 2 24000 1024000 0 PO- /dev/dbs/hcbdbs-8
14 2 24000 1024000 5 PO- /dev/dbs/hcbdbs-9
15 2 24000 1024000 5 PO- /dev/dbs/hcbdbs-10
16 2 64 1000000 224973 PO- /dev/dbs/hcbdbs-11
Continue restore? (y/n)y
Do you want to back up the logs? (y/n)n
Unable to open input file 's'
Unable to open input file 'c'
Physical restore failed - buc_fe.c : Archive API processing failed at line 703 for msgtype
Program over.
出错的online.log的内容:[/color]
----------------------------------------------------------------------------------------------------------------
Fri Dec 19 19:38:16 2003
19:38:16 Event alarms enabled. ALARMPROG = '/informix/etc/no_log.sh'
19:38:21 DR: DRAUTO is 0 (Off)
19:38:21 Requested shared memory segment size rounded from 396KB to 400KB
19:38:21 Requested shared memory segment size rounded from 396KB to 400KB
19:38:21 Dynamically allocated new message shared memory segment (size 400KB)
19:38:21 Informix Dynamic Server Version 7.31.FC6 Software Serial Number AAD#J131692
19:38:21 HPUX KAIO Segment locked addr=0x279000 size=282468352
19:38:21 HPUX KAIO Segment locked addr=0x10fdb000 size=8192000
19:38:22 HPUX Version B.11.00 ->; Using flag/select style KAIO
19:38:22 HPUX KAIO Segment locked addr=0x279000 size=282468352
19:38:22 HPUX KAIO Segment locked addr=0x10fdb000 size=8192000
19:38:22 WARNING! Logical log layout may cause Dynamic Server to get into
a locked state. Recommended smallest logical log size
is 2 times maximum concurrent user threads.
19:38:23 Informix Dynamic Server Initialized -- Shared Memory Initialized.
19:38:23 Dataskip is now OFF for all dbspaces
19:38:23 Recovery Mode
19:38:25 Dynamically allocated new virtual shared memory segment (size 8192KB)
19:38:25 Dynamically allocated new virtual shared memory segment (size 8192KB)
19:38:25 Dynamically allocated new virtual shared memory segment (size 8192KB)
19:38:25 Dynamically allocated new virtual shared memory segment (size 8192KB)
19:38:25 Physical Restore of rootdbs, hcbdbs, logdbs started.
19:38:31 HPUX KAIO Segment locked addr=0x279000 size=282468352
19:38:31 HPUX KAIO Segment locked addr=0x10fdb000 size=8192000
19:38:31 HPUX KAIO Segment locked addr=0x118f6000 size=8388608
19:38:31 HPUX KAIO Segment locked addr=0x120f6000 size=8388608
19:38:32 HPUX KAIO Segment locked addr=0x128f6000 size=8388608
19:38:32 hpkaioaddseg: ASYNC_ADDSEG failed, errno = 1 Not owner
19:38:32 Assert Failed: kaiothread() ERROR
19:38:32 Informix Dynamic Server Version 7.31.FC6
19:38:32 Who: Session(13, informix@hcb2, 16106, 0)
Thread(26, kaio, 0, 3)
File: kaio.c Line: 2141
19:38:32 stack trace for pid 16111 written to /tmp/af.402e338
19:38:38 Checkpoint Completed: duration was 0 seconds.
19:38:48 See Also: /tmp/af.402e338
19:38:48 kaio.c, line 2141, thread 26, proc id 16111, kaiothread() ERROR.
19:38:48 PANIC: Attempting to bring system down |
|