473,739 Members | 3,096 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem with redirected restore

GL
I am running DB2 8.1.1 on AIX 5.1

Having a problem with a redirected restore.

Once into the restore continue phase, I immediately get the following

“SQL2059W A device full warning was encountered on device "TBS_IDX".
Do you want to continue(c), terminate this device only(d), abort the
utility(t)
? (c/d/t) t

I'm not allowed to continue as if I try I just get the 'warning' again.

This is the first DMS tablespace in the script.

Space does not seem to be the issue. The path in question is showing
49610752 in 1024 blocks allocated and only 17% used.

The tablespace in question was defined as 1000000 4k pages.

The permissions down the entire path are good.

I have checked and tried the following.

Checked ulimit and ulimit -a. Showing unlimited on ulimit.

Ulimit -a yields

time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 245760
stack(kbytes) 16384
memory(kbytes) unlimited
coredump(blocks ) unlimited
nofiles(descrip tors) unlimited

Went into smitty and made sure both the soft and hard file size limit
were set to -1 for the user (instance owner).

Tried breaking up the containers into separate directories for each
container. Tried using various size combinations from 100000 4k pages
each container to 200000 4k pages.

Tried defining the containers to total 1200000 4k pages, larger than
originally defined.

Tried defining one container at 100000 4k pages, 1/10th the original
sizing.

I get the same SQL error whatever I try.

In etc/security/limits the values for the instance owner show the
following

fsize = -1
core = -1
data = 491519
rss = -1
stack = 32767

I
fsize_hard = -1

So the size of the file I am defining does not seem to get rid of the
error.

As I've mentioned, the file permissions seem to be ok.

Would appreciate any comments or thoughts.

Many Thanks
Gerry
Nov 12 '05 #1
9 14014
Do you have another error messages in the db2diag.log ?
the answer of the ulimit command : are you using the userid of the instance
owner ?

do you have a db2 list tablespace containers for x before the restore ?
do you have a db2 list tablespaces show detail before the restore ?

"GL" <gl@nospam.ne t> a écrit dans le message de
news:Xn******** *************** **@216.196.97.1 31...
I am running DB2 8.1.1 on AIX 5.1

Having a problem with a redirected restore.

Once into the restore continue phase, I immediately get the following

"SQL2059W A device full warning was encountered on device "TBS_IDX".
Do you want to continue(c), terminate this device only(d), abort the
utility(t)
? (c/d/t) t

I'm not allowed to continue as if I try I just get the 'warning' again.

This is the first DMS tablespace in the script.

Space does not seem to be the issue. The path in question is showing
49610752 in 1024 blocks allocated and only 17% used.

The tablespace in question was defined as 1000000 4k pages.

The permissions down the entire path are good.

I have checked and tried the following.

Checked ulimit and ulimit -a. Showing unlimited on ulimit.

Ulimit -a yields

time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 245760
stack(kbytes) 16384
memory(kbytes) unlimited
coredump(blocks ) unlimited
nofiles(descrip tors) unlimited

Went into smitty and made sure both the soft and hard file size limit
were set to -1 for the user (instance owner).

Tried breaking up the containers into separate directories for each
container. Tried using various size combinations from 100000 4k pages
each container to 200000 4k pages.

Tried defining the containers to total 1200000 4k pages, larger than
originally defined.

Tried defining one container at 100000 4k pages, 1/10th the original
sizing.

I get the same SQL error whatever I try.

In etc/security/limits the values for the instance owner show the
following

fsize = -1
core = -1
data = 491519
rss = -1
stack = 32767

I
fsize_hard = -1

So the size of the file I am defining does not seem to get rid of the
error.

As I've mentioned, the file permissions seem to be ok.

Would appreciate any comments or thoughts.

Many Thanks
Gerry

Nov 12 '05 #2
GL
"zeb nest" <ka******@tisca li.fr> wrote in
news:ci******** **@news.tiscali .fr:
First, thanks...I really appreciate any thoughts you might have.

Do you have another error messages in the db2diag.log ?
Yes, please see below
the answer of the ulimit command : are you using the userid of the
instance owner ?
Yes

? do you have a db2 list tablespaces show detail before the restore ?
Yes, this is the tablespace in question of the database being restored

Tablespace ID = 5
Name = TBS_IDX
Type = Database managed space
Contents = Any data
State = 0x0000
Detailed explanation:
Normal
Total pages = 1000000
Useable pages = 999808
Used pages = 604864
Free pages = 394944
High water mark (pages) = 910720
Page size (bytes) = 4096
Extent size (pages) = 32
Prefetch size (pages) = 128
Number of containers = 4
Minimum recovery time = 2004-09-10-12.49.31.000000

do you have a db2 list tablespace containers for x before the restore


Yes
Tablespace Containers for Tablespace 5

Container ID = 0
Name = /db2idx/scioltpt/baseidx/sieb01
_idx.dat
Type = File

Container ID = 1
Name = /db2idx/scioltpt/baseidx/sieb02
_idx.dat
Type = File

Container ID = 2
Name = /db2idx/scioltpt/baseidx/sieb03
_idx.dat
Type = File

Container ID = 3
Name = /db2idx/scioltpt/baseidx/sieb04
_idx.dat
Type = File

This is the way the containers are defined in the restore script

set tablespace containers for 5 using
(File '/siebel/db2/instance/siebdev/idx/siebts01_idx4k. dat' 250000,
File '/siebel/db2/instance/siebdev/idx/siebts02_idx4k. dat' 250000,
File '/siebel/db2/instance/siebdev/idx/siebts03_idx4k. dat' 250000,
File '/siebel/db2/instance/siebdev/idx/siebts04_idx4k. dat' 250000)
DB20000I The SET TABLESPACE CONTAINERS command completed successfully.

here are the entries from the db2diag.log when the redirected restore
script is started. I don't know if the unexpected end of file is typical
of entries for a redirected restore.

2004-09-12-10.07.59.075466 Instance:siebde v Node:000
PID:58916(db2ag ent (SIEBEL) 0) TID:1 Appid:
*LOCAL.siebdev. 00EB32140759
buffer pool services sqlbReadBufferP oolTable Probe:905

DIA8506C Unexpected end of file was reached.
ZRC=0x870F0009

Immediately after that entry, I get many, many repeated entries of
ZRC=0xFFFFFBA1 This translates to SQL1119 The restore utility is most
definitely terminated before the restore..to the point where I have been
restarting db2 between runs, so I don't understand this message.

SQL1119N A connection to or activation of database "<name>" cannot be
made because a previous restore is incomplete.

Explanation: The database is in an inconsistent state because a system
error occurred during a restore function.

No connection was made.

Federated system users: this situation can be detected by the data
source.

User Response: Issue the RESTORE command and then try the command again.

2004-09-12-10.07.59.298834 Instance:siebde v Node:000
PID:58916(db2ag ent (SIEBEL) 0) TID:1 Appid:
*LOCAL.siebdev. 00EB32140759
buffer pool services sqlbinit Probe:620

Database will come up with hidden buffer pools.
totalBufferPool Pages: 0000 0000 0000 0040
........@
2004-09-12-10.07.59.366280 Instance:siebde v Node:000
PID:58916(db2ag ent (SIEBEL) 0) TID:1 Appid:
*LOCAL.siebdev. 00EB32140759
database utilities sqludPrintStart ingMsg Probe:1 Database:SIEBEL

Starting a full database restore.
Agent PID: 58916
2004-09-12-10.07.59.823955 Instance:siebde v Node:000
PID:78808(db2bm .58916.0 0) TID:1 Appid:none
database utilities sqludProcessHis toryFile Probe:3

An empty database history has been detected.
The database history will be overwritten by the backup image.
2004-09-12-10.11.41.039258 Instance:siebde v Node:000
PID:21150(db2ag ent (SIEBEL) 0) TID:1 Appid:
*LOCAL.siebdev. 040912141141
base sys utilities sqleCheckForBac kupRestore Probe:10

DIA0001E An internal error occurred. Report the following error code :
"ZRC=0xFFFFFBA1 ".

2004-09-12-10.11.41.081622 Instance:siebde v Node:000
PID:21150(db2ag ent (SIEBEL) 0) TID:1 Appid:
*LOCAL.siebdev. 040912141141
base sys utilities sqlePrepareForS erialization Probe:20

DIA0001E An internal error occurred. Report the following error code :
"ZRC=0xFFFFFBA1 ".

Could these be referring to the image copy of the database?
Also, I am wondering if large file enabling is set on the target system.
Nov 12 '05 #3

Have you made a db2ckbkp on the backup files to check them ?

perhaps ,the SQL1119 error comes during the different restore after the
first restore KO.
I usualy stop and restart the instance before try to restore the database.
Sometimes, then the restore stop before the end (on a problem), I drop the
database before trying a new restore (If you don't have the comand
"replace exisiting" in your script)

I see different path before and after the restore
(/db2idx/scioltpt/baseidx/ ->
'/siebel/db2/instance/siebdev/idx/siebts04_idx4k. dat' ). Have you created
the new entire path before the restore ? Are you restoring with the userid
of the instance ?
"GL" <gl@nospam.ne t> a écrit dans le message de
news:Xn******** *************** **@216.196.97.1 31...
"zeb nest" <ka******@tisca li.fr> wrote in
news:ci******** **@news.tiscali .fr:
First, thanks...I really appreciate any thoughts you might have.

Do you have another error messages in the db2diag.log ?


Yes, please see below
the answer of the ulimit command : are you using the userid of the
instance owner ?


Yes

? do you have a db2 list tablespaces show detail before the restore ?
Yes, this is the tablespace in question of the database being restored

Tablespace ID = 5
Name = TBS_IDX
Type = Database managed space
Contents = Any data
State = 0x0000
Detailed explanation:
Normal
Total pages = 1000000
Useable pages = 999808
Used pages = 604864
Free pages = 394944
High water mark (pages) = 910720
Page size (bytes) = 4096
Extent size (pages) = 32
Prefetch size (pages) = 128
Number of containers = 4
Minimum recovery time = 2004-09-10-12.49.31.000000

do you have a db2 list tablespace containers for x before the restore


Yes
Tablespace Containers for Tablespace 5

Container ID = 0
Name = /db2idx/scioltpt/baseidx/sieb01
_idx.dat
Type = File

Container ID = 1
Name = /db2idx/scioltpt/baseidx/sieb02
_idx.dat
Type = File

Container ID = 2
Name = /db2idx/scioltpt/baseidx/sieb03
_idx.dat
Type = File

Container ID = 3
Name = /db2idx/scioltpt/baseidx/sieb04
_idx.dat
Type = File

This is the way the containers are defined in the restore script

set tablespace containers for 5 using
(File '/siebel/db2/instance/siebdev/idx/siebts01_idx4k. dat' 250000,
File '/siebel/db2/instance/siebdev/idx/siebts02_idx4k. dat' 250000,
File '/siebel/db2/instance/siebdev/idx/siebts03_idx4k. dat' 250000,
File '/siebel/db2/instance/siebdev/idx/siebts04_idx4k. dat' 250000)
DB20000I The SET TABLESPACE CONTAINERS command completed successfully.

here are the entries from the db2diag.log when the redirected restore
script is started. I don't know if the unexpected end of file is typical
of entries for a redirected restore.

2004-09-12-10.07.59.075466 Instance:siebde v Node:000
PID:58916(db2ag ent (SIEBEL) 0) TID:1 Appid:
*LOCAL.siebdev. 00EB32140759
buffer pool services sqlbReadBufferP oolTable Probe:905

DIA8506C Unexpected end of file was reached.
ZRC=0x870F0009

Immediately after that entry, I get many, many repeated entries of
ZRC=0xFFFFFBA1 This translates to SQL1119 The restore utility is most
definitely terminated before the restore..to the point where I have been
restarting db2 between runs, so I don't understand this message.

SQL1119N A connection to or activation of database "<name>" cannot be
made because a previous restore is incomplete.

Explanation: The database is in an inconsistent state because a system
error occurred during a restore function.

No connection was made.

Federated system users: this situation can be detected by the data
source.

User Response: Issue the RESTORE command and then try the command again.

2004-09-12-10.07.59.298834 Instance:siebde v Node:000
PID:58916(db2ag ent (SIEBEL) 0) TID:1 Appid:
*LOCAL.siebdev. 00EB32140759
buffer pool services sqlbinit Probe:620

Database will come up with hidden buffer pools.
totalBufferPool Pages: 0000 0000 0000 0040
.......@
2004-09-12-10.07.59.366280 Instance:siebde v Node:000
PID:58916(db2ag ent (SIEBEL) 0) TID:1 Appid:
*LOCAL.siebdev. 00EB32140759
database utilities sqludPrintStart ingMsg Probe:1 Database:SIEBEL

Starting a full database restore.
Agent PID: 58916
2004-09-12-10.07.59.823955 Instance:siebde v Node:000
PID:78808(db2bm .58916.0 0) TID:1 Appid:none
database utilities sqludProcessHis toryFile Probe:3

An empty database history has been detected.
The database history will be overwritten by the backup image.
2004-09-12-10.11.41.039258 Instance:siebde v Node:000
PID:21150(db2ag ent (SIEBEL) 0) TID:1 Appid:
*LOCAL.siebdev. 040912141141
base sys utilities sqleCheckForBac kupRestore Probe:10

DIA0001E An internal error occurred. Report the following error code :
"ZRC=0xFFFFFBA1 ".

2004-09-12-10.11.41.081622 Instance:siebde v Node:000
PID:21150(db2ag ent (SIEBEL) 0) TID:1 Appid:
*LOCAL.siebdev. 040912141141
base sys utilities sqlePrepareForS erialization Probe:20

DIA0001E An internal error occurred. Report the following error code :
"ZRC=0xFFFFFBA1 ".

Could these be referring to the image copy of the database?
Also, I am wondering if large file enabling is set on the target system.

Nov 12 '05 #4
GL
Yes the target system has a different file structure but the paths and
permissions have all been validated.

I am restoring with the user id of the target (into) instance owner.

I did drop the db as there is no replace existing in the script.

I will check the backup files in the AM

Thanks again
Gerry

"zeb nest" <ka******@tisca li.fr> wrote in
news:ci******** **@news.tiscali .fr:

Have you made a db2ckbkp on the backup files to check them ?

perhaps ,the SQL1119 error comes during the different restore after
the first restore KO.
I usualy stop and restart the instance before try to restore the
database. Sometimes, then the restore stop before the end (on a
problem), I drop the database before trying a new restore (If you
don't have the comand "replace exisiting" in your script)

I see different path before and after the restore
(/db2idx/scioltpt/baseidx/ ->
'/siebel/db2/instance/siebdev/idx/siebts04_idx4k. dat' ). Have you
created the new entire path before the restore ? Are you restoring
with the userid of the instance ?
"GL" <gl@nospam.ne t> a écrit dans le message de
news:Xn******** *************** **@216.196.97.1 31...
"zeb nest" <ka******@tisca li.fr> wrote in
news:ci******** **@news.tiscali .fr:
First, thanks...I really appreciate any thoughts you might have.

> Do you have another error messages in the db2diag.log ?


Yes, please see below
> the answer of the ulimit command : are you using the userid of the
> instance owner ?


Yes

? do you have a db2 list tablespaces show detail before the restore ?
Yes, this is the tablespace in question of the database being
restored

Tablespace ID = 5
Name = TBS_IDX
Type = Database managed space
Contents = Any data
State = 0x0000
Detailed explanation:
Normal
Total pages = 1000000
Useable pages = 999808
Used pages = 604864
Free pages = 394944
High water mark (pages) = 910720
Page size (bytes) = 4096
Extent size (pages) = 32
Prefetch size (pages) = 128
Number of containers = 4
Minimum recovery time = 2004-09-10-12.49.31.000000

> do you have a db2 list tablespace containers for x before the
> restore


Yes
Tablespace Containers for Tablespace 5

Container ID = 0
Name =
/db2idx/scioltpt/baseidx/sieb01
_idx.dat
Type = File

Container ID = 1
Name =
/db2idx/scioltpt/baseidx/sieb02
_idx.dat
Type = File

Container ID = 2
Name =
/db2idx/scioltpt/baseidx/sieb03
_idx.dat
Type = File

Container ID = 3
Name =
/db2idx/scioltpt/baseidx/sieb04
_idx.dat
Type = File

This is the way the containers are defined in the restore script

set tablespace containers for 5 using
(File '/siebel/db2/instance/siebdev/idx/siebts01_idx4k. dat' 250000,
File '/siebel/db2/instance/siebdev/idx/siebts02_idx4k. dat' 250000,
File '/siebel/db2/instance/siebdev/idx/siebts03_idx4k. dat' 250000,
File '/siebel/db2/instance/siebdev/idx/siebts04_idx4k. dat' 250000)
DB20000I The SET TABLESPACE CONTAINERS command completed
successfully.

here are the entries from the db2diag.log when the redirected restore
script is started. I don't know if the unexpected end of file is
typical of entries for a redirected restore.

2004-09-12-10.07.59.075466 Instance:siebde v Node:000
PID:58916(db2ag ent (SIEBEL) 0) TID:1 Appid:
*LOCAL.siebdev. 00EB32140759
buffer pool services sqlbReadBufferP oolTable Probe:905

DIA8506C Unexpected end of file was reached.
ZRC=0x870F0009

Immediately after that entry, I get many, many repeated entries of
ZRC=0xFFFFFBA1 This translates to SQL1119 The restore utility is
most definitely terminated before the restore..to the point where I
have been restarting db2 between runs, so I don't understand this
message.

SQL1119N A connection to or activation of database "<name>" cannot be
made because a previous restore is incomplete.

Explanation: The database is in an inconsistent state because a
system error occurred during a restore function.

No connection was made.

Federated system users: this situation can be detected by the data
source.

User Response: Issue the RESTORE command and then try the command
again.

2004-09-12-10.07.59.298834 Instance:siebde v Node:000
PID:58916(db2ag ent (SIEBEL) 0) TID:1 Appid:
*LOCAL.siebdev. 00EB32140759
buffer pool services sqlbinit Probe:620

Database will come up with hidden buffer pools.
totalBufferPool Pages: 0000 0000 0000 0040
.......@
2004-09-12-10.07.59.366280 Instance:siebde v Node:000
PID:58916(db2ag ent (SIEBEL) 0) TID:1 Appid:
*LOCAL.siebdev. 00EB32140759
database utilities sqludPrintStart ingMsg Probe:1 Database:SIEBEL

Starting a full database restore.
Agent PID: 58916
2004-09-12-10.07.59.823955 Instance:siebde v Node:000
PID:78808(db2bm .58916.0 0) TID:1 Appid:none
database utilities sqludProcessHis toryFile Probe:3

An empty database history has been detected.
The database history will be overwritten by the backup image.
2004-09-12-10.11.41.039258 Instance:siebde v Node:000
PID:21150(db2ag ent (SIEBEL) 0) TID:1 Appid:
*LOCAL.siebdev. 040912141141
base sys utilities sqleCheckForBac kupRestore Probe:10

DIA0001E An internal error occurred. Report the following error code
: "ZRC=0xFFFFFBA1 ".

2004-09-12-10.11.41.081622 Instance:siebde v Node:000
PID:21150(db2ag ent (SIEBEL) 0) TID:1 Appid:
*LOCAL.siebdev. 040912141141
base sys utilities sqlePrepareForS erialization Probe:20

DIA0001E An internal error occurred. Report the following error code
: "ZRC=0xFFFFFBA1 ".

Could these be referring to the image copy of the database?
Also, I am wondering if large file enabling is set on the target
system.



Nov 12 '05 #5
GL
Problem is solved. Turns out that deep within the bowels of the diaglog
there were actually a few error messages that were useful. Sizing was based
on an inacurate list tablespaces.
Thanks


Nov 12 '05 #6
Hey GL, What's going on with your redirect restore problem? I am
meeting the same problem and my tablespaces is 64GB 4k page size and I
can't even extend this tablespace.

GL <gl@nospam.ne t> wrote in message news:<Xn******* *************** ***@216.196.97. 131>...
Yes the target system has a different file structure but the paths and
permissions have all been validated.

I am restoring with the user id of the target (into) instance owner.

I did drop the db as there is no replace existing in the script.

I will check the backup files in the AM

Thanks again
Gerry

"zeb nest" <ka******@tisca li.fr> wrote in
news:ci******** **@news.tiscali .fr:

Have you made a db2ckbkp on the backup files to check them ?

perhaps ,the SQL1119 error comes during the different restore after
the first restore KO.
I usualy stop and restart the instance before try to restore the
database. Sometimes, then the restore stop before the end (on a
problem), I drop the database before trying a new restore (If you
don't have the comand "replace exisiting" in your script)

I see different path before and after the restore
(/db2idx/scioltpt/baseidx/ ->
'/siebel/db2/instance/siebdev/idx/siebts04_idx4k. dat' ). Have you
created the new entire path before the restore ? Are you restoring
with the userid of the instance ?
"GL" <gl@nospam.ne t> a écrit dans le message de
news:Xn******** *************** **@216.196.97.1 31...
"zeb nest" <ka******@tisca li.fr> wrote in
news:ci******** **@news.tiscali .fr:
First, thanks...I really appreciate any thoughts you might have.
> Do you have another error messages in the db2diag.log ?

Yes, please see below

> the answer of the ulimit command : are you using the userid of the
> instance owner ?

Yes

? do you have a db2 list tablespaces show detail before the restore ?
Yes, this is the tablespace in question of the database being
restored

Tablespace ID = 5
Name = TBS_IDX
Type = Database managed space
Contents = Any data
State = 0x0000
Detailed explanation:
Normal
Total pages = 1000000
Useable pages = 999808
Used pages = 604864
Free pages = 394944
High water mark (pages) = 910720
Page size (bytes) = 4096
Extent size (pages) = 32
Prefetch size (pages) = 128
Number of containers = 4
Minimum recovery time = 2004-09-10-12.49.31.000000
> do you have a db2 list tablespace containers for x before the
> restore

Yes
Tablespace Containers for Tablespace 5

Container ID = 0
Name =
/db2idx/scioltpt/baseidx/sieb01
_idx.dat
Type = File

Container ID = 1
Name =
/db2idx/scioltpt/baseidx/sieb02
_idx.dat
Type = File

Container ID = 2
Name =
/db2idx/scioltpt/baseidx/sieb03
_idx.dat
Type = File

Container ID = 3
Name =
/db2idx/scioltpt/baseidx/sieb04
_idx.dat
Type = File

This is the way the containers are defined in the restore script

set tablespace containers for 5 using
(File '/siebel/db2/instance/siebdev/idx/siebts01_idx4k. dat' 250000,
File '/siebel/db2/instance/siebdev/idx/siebts02_idx4k. dat' 250000,
File '/siebel/db2/instance/siebdev/idx/siebts03_idx4k. dat' 250000,
File '/siebel/db2/instance/siebdev/idx/siebts04_idx4k. dat' 250000)
DB20000I The SET TABLESPACE CONTAINERS command completed
successfully.

here are the entries from the db2diag.log when the redirected restore
script is started. I don't know if the unexpected end of file is
typical of entries for a redirected restore.

2004-09-12-10.07.59.075466 Instance:siebde v Node:000
PID:58916(db2ag ent (SIEBEL) 0) TID:1 Appid:
*LOCAL.siebdev. 00EB32140759
buffer pool services sqlbReadBufferP oolTable Probe:905

DIA8506C Unexpected end of file was reached.
ZRC=0x870F0009

Immediately after that entry, I get many, many repeated entries of
ZRC=0xFFFFFBA1 This translates to SQL1119 The restore utility is
most definitely terminated before the restore..to the point where I
have been restarting db2 between runs, so I don't understand this
message.

SQL1119N A connection to or activation of database "<name>" cannot be
made because a previous restore is incomplete.

Explanation: The database is in an inconsistent state because a
system error occurred during a restore function.

No connection was made.

Federated system users: this situation can be detected by the data
source.

User Response: Issue the RESTORE command and then try the command
again.

2004-09-12-10.07.59.298834 Instance:siebde v Node:000
PID:58916(db2ag ent (SIEBEL) 0) TID:1 Appid:
*LOCAL.siebdev. 00EB32140759
buffer pool services sqlbinit Probe:620

Database will come up with hidden buffer pools.
totalBufferPool Pages: 0000 0000 0000 0040
.......@
2004-09-12-10.07.59.366280 Instance:siebde v Node:000
PID:58916(db2ag ent (SIEBEL) 0) TID:1 Appid:
*LOCAL.siebdev. 00EB32140759
database utilities sqludPrintStart ingMsg Probe:1 Database:SIEBEL

Starting a full database restore.
Agent PID: 58916
2004-09-12-10.07.59.823955 Instance:siebde v Node:000
PID:78808(db2bm .58916.0 0) TID:1 Appid:none
database utilities sqludProcessHis toryFile Probe:3

An empty database history has been detected.
The database history will be overwritten by the backup image.
2004-09-12-10.11.41.039258 Instance:siebde v Node:000
PID:21150(db2ag ent (SIEBEL) 0) TID:1 Appid:
*LOCAL.siebdev. 040912141141
base sys utilities sqleCheckForBac kupRestore Probe:10

DIA0001E An internal error occurred. Report the following error code
: "ZRC=0xFFFFFBA1 ".

2004-09-12-10.11.41.081622 Instance:siebde v Node:000
PID:21150(db2ag ent (SIEBEL) 0) TID:1 Appid:
*LOCAL.siebdev. 040912141141
base sys utilities sqlePrepareForS erialization Probe:20

DIA0001E An internal error occurred. Report the following error code
: "ZRC=0xFFFFFBA1 ".

Could these be referring to the image copy of the database?
Also, I am wondering if large file enabling is set on the target
system.


Nov 12 '05 #7
good for you. I also solved my problem because of sizing. 16
containers with 64GB, it is just 100 usable pages less than original.
change back to 8 containers, everything is okay.
GL <gl@nospam.ne t> wrote in message news:<Xn******* *************** ***@216.196.97. 131>...
Problem is solved. Turns out that deep within the bowels of the diaglog
there were actually a few error messages that were useful. Sizing was based
on an inacurate list tablespaces.
Thanks

Nov 12 '05 #8

If I am not mistaken the limit filesize for 4k pages is 64GB. To solve this
you could use an 8k page tablespace witch could grow to 128 GB (you would
also need to create an 8k page buffer pool and temporary tablespace).

If you go with 8k pages tablespace make sure that the operating system /file
system is supporting file greater than 64GB ... if not build a tablespace
with more smaller file.
"duoduo" <du*********@gm ail.com> wrote in message
news:d3******** *************** ***@posting.goo gle.com...
Hey GL, What's going on with your redirect restore problem? I am
meeting the same problem and my tablespaces is 64GB 4k page size and I
can't even extend this tablespace.

GL <gl@nospam.ne t> wrote in message
news:<Xn******* *************** ***@216.196.97. 131>...
Yes the target system has a different file structure but the paths and
permissions have all been validated.

I am restoring with the user id of the target (into) instance owner.

I did drop the db as there is no replace existing in the script.

I will check the backup files in the AM

Thanks again
Gerry

"zeb nest" <ka******@tisca li.fr> wrote in
news:ci******** **@news.tiscali .fr:
>
> Have you made a db2ckbkp on the backup files to check them ?
>
> perhaps ,the SQL1119 error comes during the different restore after
> the first restore KO.
> I usualy stop and restart the instance before try to restore the
> database. Sometimes, then the restore stop before the end (on a
> problem), I drop the database before trying a new restore (If you
> don't have the comand "replace exisiting" in your script)
>
> I see different path before and after the restore
> (/db2idx/scioltpt/baseidx/ ->
> '/siebel/db2/instance/siebdev/idx/siebts04_idx4k. dat' ). Have you
> created the new entire path before the restore ? Are you restoring
> with the userid of the instance ?
>
>
> "GL" <gl@nospam.ne t> a écrit dans le message de
> news:Xn******** *************** **@216.196.97.1 31...
>> "zeb nest" <ka******@tisca li.fr> wrote in
>> news:ci******** **@news.tiscali .fr:
>>
>>
>> First, thanks...I really appreciate any thoughts you might have.
>>
>>
>> > Do you have another error messages in the db2diag.log ?
>>
>> Yes, please see below
>>
>> > the answer of the ulimit command : are you using the userid of the
>> > instance owner ?
>>
>> Yes
>>
>>
>>
>> ? do you have a db2 list tablespaces show detail before the restore ?
>>
>>
>> Yes, this is the tablespace in question of the database being
>> restored
>>
>> Tablespace ID = 5
>> Name = TBS_IDX
>> Type = Database managed space
>> Contents = Any data
>> State = 0x0000
>> Detailed explanation:
>> Normal
>> Total pages = 1000000
>> Useable pages = 999808
>> Used pages = 604864
>> Free pages = 394944
>> High water mark (pages) = 910720
>> Page size (bytes) = 4096
>> Extent size (pages) = 32
>> Prefetch size (pages) = 128
>> Number of containers = 4
>> Minimum recovery time = 2004-09-10-12.49.31.000000
>>
>>
>> > do you have a db2 list tablespace containers for x before the
>> > restore
>>
>> Yes
>> Tablespace Containers for Tablespace 5
>>
>> Container ID = 0
>> Name =
>> /db2idx/scioltpt/baseidx/sieb01
>> _idx.dat
>> Type = File
>>
>> Container ID = 1
>> Name =
>> /db2idx/scioltpt/baseidx/sieb02
>> _idx.dat
>> Type = File
>>
>> Container ID = 2
>> Name =
>> /db2idx/scioltpt/baseidx/sieb03
>> _idx.dat
>> Type = File
>>
>> Container ID = 3
>> Name =
>> /db2idx/scioltpt/baseidx/sieb04
>> _idx.dat
>> Type = File
>>
>> This is the way the containers are defined in the restore script
>>
>> set tablespace containers for 5 using
>> (File '/siebel/db2/instance/siebdev/idx/siebts01_idx4k. dat' 250000,
>> File '/siebel/db2/instance/siebdev/idx/siebts02_idx4k. dat' 250000,
>> File '/siebel/db2/instance/siebdev/idx/siebts03_idx4k. dat' 250000,
>> File '/siebel/db2/instance/siebdev/idx/siebts04_idx4k. dat' 250000)
>> DB20000I The SET TABLESPACE CONTAINERS command completed
>> successfully.
>>
>> here are the entries from the db2diag.log when the redirected restore
>> script is started. I don't know if the unexpected end of file is
>> typical of entries for a redirected restore.
>>
>> 2004-09-12-10.07.59.075466 Instance:siebde v Node:000
>> PID:58916(db2ag ent (SIEBEL) 0) TID:1 Appid:
>> *LOCAL.siebdev. 00EB32140759
>> buffer pool services sqlbReadBufferP oolTable Probe:905
>>
>> DIA8506C Unexpected end of file was reached.
>> ZRC=0x870F0009
>>
>> Immediately after that entry, I get many, many repeated entries of
>> ZRC=0xFFFFFBA1 This translates to SQL1119 The restore utility is
>> most definitely terminated before the restore..to the point where I
>> have been restarting db2 between runs, so I don't understand this
>> message.
>>
>> SQL1119N A connection to or activation of database "<name>" cannot be
>> made because a previous restore is incomplete.
>>
>> Explanation: The database is in an inconsistent state because a
>> system error occurred during a restore function.
>>
>> No connection was made.
>>
>> Federated system users: this situation can be detected by the data
>> source.
>>
>> User Response: Issue the RESTORE command and then try the command
>> again.
>>
>> 2004-09-12-10.07.59.298834 Instance:siebde v Node:000
>> PID:58916(db2ag ent (SIEBEL) 0) TID:1 Appid:
>> *LOCAL.siebdev. 00EB32140759
>> buffer pool services sqlbinit Probe:620
>>
>> Database will come up with hidden buffer pools.
>> totalBufferPool Pages: 0000 0000 0000 0040
>> .......@
>>
>>
>> 2004-09-12-10.07.59.366280 Instance:siebde v Node:000
>> PID:58916(db2ag ent (SIEBEL) 0) TID:1 Appid:
>> *LOCAL.siebdev. 00EB32140759
>> database utilities sqludPrintStart ingMsg Probe:1 Database:SIEBEL
>>
>> Starting a full database restore.
>> Agent PID: 58916
>>
>>
>> 2004-09-12-10.07.59.823955 Instance:siebde v Node:000
>> PID:78808(db2bm .58916.0 0) TID:1 Appid:none
>> database utilities sqludProcessHis toryFile Probe:3
>>
>> An empty database history has been detected.
>> The database history will be overwritten by the backup image.
>>
>>
>> 2004-09-12-10.11.41.039258 Instance:siebde v Node:000
>> PID:21150(db2ag ent (SIEBEL) 0) TID:1 Appid:
>> *LOCAL.siebdev. 040912141141
>> base sys utilities sqleCheckForBac kupRestore Probe:10
>>
>> DIA0001E An internal error occurred. Report the following error code
>> : "ZRC=0xFFFFFBA1 ".
>>
>> 2004-09-12-10.11.41.081622 Instance:siebde v Node:000
>> PID:21150(db2ag ent (SIEBEL) 0) TID:1 Appid:
>> *LOCAL.siebdev. 040912141141
>> base sys utilities sqlePrepareForS erialization Probe:20
>>
>> DIA0001E An internal error occurred. Report the following error code
>> : "ZRC=0xFFFFFBA1 ".
>>
>> Could these be referring to the image copy of the database?
>> Also, I am wondering if large file enabling is set on the target
>> system.
>
>

Nov 12 '05 #9
Dany, in my case, I did the redirect restore and changed the 64GB
tablespace containers from 8 * 8GB to 16 * 4GB. Unfortunately, the
original tablespace had the 16383872 pages "High Water Mark" same as
"Usable Pages", once I changed the number of containers, my "Usable
Pages" had droped to 16383744, just 128 pages short. I was so sad that
the "set container" did not tell me the message until 11 hours later I
ran "restore continue". IBM should fix this and doesn't waste our
time.
"Dany" <da******@video tron.ca> wrote in message news:<ci******* **@news1.stadia .fi>...
If I am not mistaken the limit filesize for 4k pages is 64GB. To solve this
you could use an 8k page tablespace witch could grow to 128 GB (you would
also need to create an 8k page buffer pool and temporary tablespace).

If you go with 8k pages tablespace make sure that the operating system /file
system is supporting file greater than 64GB ... if not build a tablespace
with more smaller file.
"duoduo" <du*********@gm ail.com> wrote in message
news:d3******** *************** ***@posting.goo gle.com...
Hey GL, What's going on with your redirect restore problem? I am
meeting the same problem and my tablespaces is 64GB 4k page size and I
can't even extend this tablespace.

GL <gl@nospam.ne t> wrote in message
news:<Xn******* *************** ***@216.196.97. 131>...
Yes the target system has a different file structure but the paths and
permissions have all been validated.

I am restoring with the user id of the target (into) instance owner.

I did drop the db as there is no replace existing in the script.

I will check the backup files in the AM

Thanks again
Gerry

"zeb nest" <ka******@tisca li.fr> wrote in
news:ci******** **@news.tiscali .fr:

>
> Have you made a db2ckbkp on the backup files to check them ?
>
> perhaps ,the SQL1119 error comes during the different restore after
> the first restore KO.
> I usualy stop and restart the instance before try to restore the
> database. Sometimes, then the restore stop before the end (on a
> problem), I drop the database before trying a new restore (If you
> don't have the comand "replace exisiting" in your script)
>
> I see different path before and after the restore
> (/db2idx/scioltpt/baseidx/ ->
> '/siebel/db2/instance/siebdev/idx/siebts04_idx4k. dat' ). Have you
> created the new entire path before the restore ? Are you restoring
> with the userid of the instance ?
>
>
> "GL" <gl@nospam.ne t> a écrit dans le message de
> news:Xn******** *************** **@216.196.97.1 31...
>> "zeb nest" <ka******@tisca li.fr> wrote in
>> news:ci******** **@news.tiscali .fr:
>>
>>
>> First, thanks...I really appreciate any thoughts you might have.
>>
>>
>> > Do you have another error messages in the db2diag.log ?
>>
>> Yes, please see below
>>
>> > the answer of the ulimit command : are you using the userid of the
>> > instance owner ?
>>
>> Yes
>>
>>
>>
>> ? do you have a db2 list tablespaces show detail before the restore ?
>>
>>
>> Yes, this is the tablespace in question of the database being
>> restored
>>
>> Tablespace ID = 5
>> Name = TBS_IDX
>> Type = Database managed space
>> Contents = Any data
>> State = 0x0000
>> Detailed explanation:
>> Normal
>> Total pages = 1000000
>> Useable pages = 999808
>> Used pages = 604864
>> Free pages = 394944
>> High water mark (pages) = 910720
>> Page size (bytes) = 4096
>> Extent size (pages) = 32
>> Prefetch size (pages) = 128
>> Number of containers = 4
>> Minimum recovery time = 2004-09-10-12.49.31.000000
>>
>>
>> > do you have a db2 list tablespace containers for x before the
>> > restore
>>
>> Yes
>> Tablespace Containers for Tablespace 5
>>
>> Container ID = 0
>> Name =
>> /db2idx/scioltpt/baseidx/sieb01
>> _idx.dat
>> Type = File
>>
>> Container ID = 1
>> Name =
>> /db2idx/scioltpt/baseidx/sieb02
>> _idx.dat
>> Type = File
>>
>> Container ID = 2
>> Name =
>> /db2idx/scioltpt/baseidx/sieb03
>> _idx.dat
>> Type = File
>>
>> Container ID = 3
>> Name =
>> /db2idx/scioltpt/baseidx/sieb04
>> _idx.dat
>> Type = File
>>
>> This is the way the containers are defined in the restore script
>>
>> set tablespace containers for 5 using
>> (File '/siebel/db2/instance/siebdev/idx/siebts01_idx4k. dat' 250000,
>> File '/siebel/db2/instance/siebdev/idx/siebts02_idx4k. dat' 250000,
>> File '/siebel/db2/instance/siebdev/idx/siebts03_idx4k. dat' 250000,
>> File '/siebel/db2/instance/siebdev/idx/siebts04_idx4k. dat' 250000)
>> DB20000I The SET TABLESPACE CONTAINERS command completed
>> successfully.
>>
>> here are the entries from the db2diag.log when the redirected restore
>> script is started. I don't know if the unexpected end of file is
>> typical of entries for a redirected restore.
>>
>> 2004-09-12-10.07.59.075466 Instance:siebde v Node:000
>> PID:58916(db2ag ent (SIEBEL) 0) TID:1 Appid:
>> *LOCAL.siebdev. 00EB32140759
>> buffer pool services sqlbReadBufferP oolTable Probe:905
>>
>> DIA8506C Unexpected end of file was reached.
>> ZRC=0x870F0009
>>
>> Immediately after that entry, I get many, many repeated entries of
>> ZRC=0xFFFFFBA1 This translates to SQL1119 The restore utility is
>> most definitely terminated before the restore..to the point where I
>> have been restarting db2 between runs, so I don't understand this
>> message.
>>
>> SQL1119N A connection to or activation of database "<name>" cannot be
>> made because a previous restore is incomplete.
>>
>> Explanation: The database is in an inconsistent state because a
>> system error occurred during a restore function.
>>
>> No connection was made.
>>
>> Federated system users: this situation can be detected by the data
>> source.
>>
>> User Response: Issue the RESTORE command and then try the command
>> again.
>>
>> 2004-09-12-10.07.59.298834 Instance:siebde v Node:000
>> PID:58916(db2ag ent (SIEBEL) 0) TID:1 Appid:
>> *LOCAL.siebdev. 00EB32140759
>> buffer pool services sqlbinit Probe:620
>>
>> Database will come up with hidden buffer pools.
>> totalBufferPool Pages: 0000 0000 0000 0040
>> .......@
>>
>>
>> 2004-09-12-10.07.59.366280 Instance:siebde v Node:000
>> PID:58916(db2ag ent (SIEBEL) 0) TID:1 Appid:
>> *LOCAL.siebdev. 00EB32140759
>> database utilities sqludPrintStart ingMsg Probe:1 Database:SIEBEL
>>
>> Starting a full database restore.
>> Agent PID: 58916
>>
>>
>> 2004-09-12-10.07.59.823955 Instance:siebde v Node:000
>> PID:78808(db2bm .58916.0 0) TID:1 Appid:none
>> database utilities sqludProcessHis toryFile Probe:3
>>
>> An empty database history has been detected.
>> The database history will be overwritten by the backup image.
>>
>>
>> 2004-09-12-10.11.41.039258 Instance:siebde v Node:000
>> PID:21150(db2ag ent (SIEBEL) 0) TID:1 Appid:
>> *LOCAL.siebdev. 040912141141
>> base sys utilities sqleCheckForBac kupRestore Probe:10
>>
>> DIA0001E An internal error occurred. Report the following error code
>> : "ZRC=0xFFFFFBA1 ".
>>
>> 2004-09-12-10.11.41.081622 Instance:siebde v Node:000
>> PID:21150(db2ag ent (SIEBEL) 0) TID:1 Appid:
>> *LOCAL.siebdev. 040912141141
>> base sys utilities sqlePrepareForS erialization Probe:20
>>
>> DIA0001E An internal error occurred. Report the following error code
>> : "ZRC=0xFFFFFBA1 ".
>>
>> Could these be referring to the image copy of the database?
>> Also, I am wondering if large file enabling is set on the target
>> system.
>
>

Nov 12 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
10305
by: Vikrant | last post by:
Hi Kelly This is from old response by you. What is 'callerac' parameter in REDIRECTED restore, how can I provide 'callerac' value ? Thanks, VKG =====
1
2788
by: Jack | last post by:
Is it possible to find out what the tablespace definitions are of database you are about to build using a redirected restore? What I am wanting to do is build a script that can take only a backup file of a database and do a redirected restore into another database. This means I may not know or have access to the database where the backup originated at. It seems like once you start the redirected restore there is no way to do a list...
7
6270
by: CCC via DBMonster.com | last post by:
We use redirected restore to refresh test from prod on different AIX 5.2 servers. The databases have the same number, size and names of cooked containers. The only difference is the fully qualified path contains a different "SID": eg. "/db2/PRD/data1/..." versus "/db2/TST/data1/...". (Please note as an SAP installation I cannot change this layout). We use "set tablespace container" statements to redefine the fully qualified container...
11
13581
by: Chris | last post by:
I have searched this group for answers and tried the responses. I am trying to Use an full online backup from our production server and apply it to our test server. The Tablespaces in the productions server are on the d drive and my test server has no d drive. The restore command i am using is: RESTORE DATABASE CENTRAL FROM "C:\DB2Backups" TAKEN AT 20050620000000 INTO CENT0620 REDIRECT;
1
2206
by: Kent.Brooke | last post by:
When a backup is taken from server a and then redirected restore is done on server b, the tables and data is fine however db2advis says "explain & advise tables not created for user x properly". However user x has access read, insert, delete rights to the advise & explain tables as well the tablespace where tables exist. I am perplexed and for some reason think it has something to do with the redirected restore am I correct. Any replys...
4
5592
by: Laurence | last post by:
Hi there, Command Reference book stated for db2relocatedb command: Copy the files/devices belonging to the databases being copied onto the system where the new instance resides. The path names must be changed as necessary. However, if there are already databases in the directory where the database files are moved to, you can mistakenly overwrite the existing sqldbdir file, thereby removing the references to the existing databases. In...
0
2630
by: Lew | last post by:
Hi, I have a database that I am restoring to another database in the same instance using a redirected restore. It seems to work fine but what is troubling to me is in the diag log i see that it is attempting to remove the original containers from the originating db as part of my redirected restore. It is unable to remove them as they are in use but the idea of it is still troubling to me. Is this working as designed?
1
2528
by: okonita | last post by:
Hi all, This is a very urgent issue for my team. We are trying a Redirected restore the most current online DB2 UDBv8.2 backup copy from prod disk to disk on another/test instance. Our environment is RedHat Linux. We have tried the following with failure: (1) $ db2 restore db AANPDM01 from "/stuff/ftp/bkp" taken at 20070525164103 to "/dmd/data" into AANNDM01 NEWLOGPATH "/dmt/log" redirect without rolling forward; SQL1052N The...
2
8608
by: modeler | last post by:
Hello, I am trying to restore a DB2 9.1 fp2 backup to another DB2 9.1 fp2 machine, both are on Windows. C:\Program Files\IBM\SQLLIB\BIN>db2 -tvf C:\db2_data\test.db2 UPDATE COMMAND OPTIONS USING S ON Z ON MYDB_NODE0000.out V ON DB20000I The UPDATE COMMAND OPTIONS command completed successfully. SET CLIENT ATTACH_DBPARTITIONNUM 0 DB20000I The SET CLIENT command completed successfully.
0
8792
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9266
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9209
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6754
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6054
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4826
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3280
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2748
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2193
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.