|
IDS Forum
RE: Cross-host restore problem
Posted By: Hubbard, John Date: Wednesday, 19 May 2004, at 4:56 p.m.
In Response To: Cross-host restore problem (Hubbard, John)
I've resigned myself to the belief that the problem I'm running into with this restore is related to a bug with Informix version 9.30FC2. I've tried just about everything to get around this issue. Here is the bug that I found listed on the IBM website under the release notes for version 9.4UC2:
Bug: 161627 RESTORE MAY FAIL WITH "PHYSICAL RESTORE FAILED - I/O WRITE FAILURE ON : PAGE 0". BOGUS EXTENDED RESERVED PAGES FOR PAGE_2MCHUNK.
Here is my error: 2004-05-17 23:25:36 9232 9230 Begin cold level 0 restore rootdbs (Storage Manager copy ID: 28 2004005017). 2004-05-17 23:25:37 9232 9230 Unable to write storage space restore data to the database server: I/O write failure on /dev/lims/rootdbs: page 0.
Since my client does not have Informix support...at the moment, I need to know if anyone out there has ever run into this bug and been able to implement some type of workaround. As you all know, not being able to restore does not make for a good night's sleep -- and this has been going on for quite some time for me. Any help would be greatly appreciated (other than "tell your client to get support" ---- I've already done that.
Thanks,
John
-----Original Message----- From: Martin Fuerderer [mailto:MARTINFU@de.ibm.com] Sent: Monday, April 19, 2004 1:13 AM To: Hubbard, John Cc: forum.subscriber@iiug.org; ids@iiug.org Subject: Re: Cross-host restore problem [2835]
Hi,
you need to check that: - your devices are accessible for user informix. actually they should be owned by user informix, group informix, access right 660 ("ls -l" should show "-rw-rw----"). - you can check this using the "dd" system utility as user informix to see whether the device is writable. Use a command like dd if=/dev/zero of=/dev/lims/rootdbs bs=2048 count=10 (assuming you've a system with 2kB page size). If this produces any error, then you need to fix the problem before further attempting to restore. - IDS is installed properly and the executable binaries have the proper owner, group and access rights. This usually is done by running the "installserver" script followed by the "RUN_AS_ROOT.server" script. In your case especially the ON-Bar binary should be like this : -rwsr-sr-x ... root informix ... $INFORMIXDIR/bin/onbar_d Regards, Martin -- Martin Fuerderer IBM Informix Development Munich Data Management Solutions
forum.subscriber@iiug.org wrote on 16.04.2004 17:51:35:
> Hello everyone, > Been trying to perform a cross-host restore and meeting with little = > success. We are using omniback as our storage manager and we are on IDS = > 9.30.FC2. I have moved the ixbar and oncfg files over to the new = > server, matched the layout of the source server, and verified = > permissions on the chunks already. The restore finds the object in the = > storage manager and then I get this error: > > 2004-03-18 11:24:19 16539 16537 Begin cold level 0 restore rootdbs = > (Storage Manager copy ID: 25 2004003017). > 2004-03-18 11:24:19 16539 16537 Unable to write storage space restore = > data to the database server: I/O write failure on /dev/lims/rootdbs: = > page 0. > > I have turned debugging on and captured this information as well -- here = > is some of it from one of my failed attempts (a little long). Any help = > would be greatly appreciated. > > 2004-03-18 14:34:28 5940 5938 BSAGetObject: output: bufferLen =3D = > 63488, numBytes =3D 63488 > 2004-03-18 14:34:28 5940 5938 BSAGetObject: return 14 (0x0e) > 2004-03-18 14:34:28 5940 5938 od2bar_objdesc: enter > 2004-03-18 14:34:28 5940 5938 od2bar_objdesc: input: object owner = > name createTime > 2004-03-18 14:34:28 5940 5938 od2bar_objdesc: input: INFORMIX informix = > /lims /lims/rootdbs/0 0 0 0 0 0 0 > 2004-03-18 14:34:28 5940 5938 od2bar_objdesc: input: copytype copyid = > restoreOrder size resource type status desc object > Info > 2004-03-18 14:34:28 5940 5938 od2bar_objdesc: input: 3 25 = > 2004003017 0 0 0 0 R 4 1 > 2004-03-18 14:34:28 5940 5938 od2bar_objdesc: output: bar_objdesc > obj_id 0 obj_name 'rootdbs' obj_type 'R' act_id 0 act_type 2 = > act_status 0 > act_start '1900-01-00 00:00:00' act_end '2004-03-17 19:29:50' > ins_time 0 rsam_time 0 level 0 copyid hi:lo 25:2004003017 = > req_act_id 5500 > logstream 0 est_blks 0 first_log 0 chpt_log 0 last_log 0 > partial_flag 0 do_query 0 ins_sm_id 0 ins_sm_name '' > ins_verify 0 ins_verify_date '' restore order 0:0 > objInfo '' > retry 0 in_catalog 0 in_bootfile 0 child_pid 7666643290535493632 = > child_state 0 > bkup_host '' > 2004-03-18 14:34:28 5940 5938 od2bar_objdesc: return 0 (0x00) > 2004-03-18 14:34:28 5940 5938 barGetObject: return 0 (0x00) > 2004-03-18 14:34:28 5940 5938 bar_alarm: enter > 2004-03-18 14:34:28 5940 5938 bar_alarm: input 0 seconds > 2004-03-18 14:34:28 5940 5938 bar_alarm: return 0 (0x00) > 2004-03-18 14:34:28 5940 5938 address flags stamp = > uniqid number > 2004-03-18 14:34:28 5940 5938 -1:20 0x4059099e 13 96 = > 31 > 2004-03-18 14:34:28 5940 5938 -1:4112 0x0000 0 0 = > 31 > 2004-03-18 14:34:28 5940 5938 1048576:4096 0x73324004 0 = > 0 31 > 2004-03-18 14:34:28 5940 5938 1048577:4096 0x7309a269 0 = > 0 31 > 2004-03-18 14:34:28 5940 5938 1048578:4096 0x7381b398 1086510 = > 3 31 > 2004-03-18 14:34:28 5940 5938 1086510:4096 0x7381b399 0 = > 0 31 > 2004-03-18 14:34:28 5940 5938 1086511:4096 0x7381b39a 0 = > 0 31 > 2004-03-18 14:34:28 5940 5938 1086512:4096 0x7381b39b 0 = > 0 31 > 2004-03-18 14:34:28 5940 5938 1048579:4096 0x73817164 1086513 = > 3 31 > 2004-03-18 14:34:28 5940 5938 1086513:4096 0x73817165 0 = > 0 31 > 2004-03-18 14:34:28 5940 5938 1086514:4096 0x73817166 0 = > 0 31 > 2004-03-18 14:34:28 5940 5938 1086515:4096 0x73817167 0 = > 0 31 > 2004-03-18 14:34:28 5940 5938 1048580:4096 0x734f2733 1079731 = > 2 31 > 2004-03-18 14:34:28 5940 5938 1079731:4096 0x734f2734 0 = > 0 31 > 2004-03-18 14:34:28 5940 5938 1079732:4096 0x7309a270 0 = > 0 31 > 2004-03-18 14:34:28 5940 5938 1048581:4096 0x7318d710 1079733 = > 2 31 > 2004-03-18 14:34:28 5940 5938 1079733:4096 0x7318d711 0 = > 0 31 > 2004-03-18 14:34:28 5940 5938 1079734:4096 0x63a497b5 0 = > 0 31 > 2004-03-18 14:34:28 5940 5938 1048582:4096 0x7381b396 1086502 = > 4 31 > 2004-03-18 14:34:28 5940 5938 1086502:4096 0x7309a8de 0 = > 0 31 > 2004-03-18 14:34:29 5940 5938 1086503:4096 0x7309a8df 0 = > 0 31 > 2004-03-18 14:34:29 5940 5938 1086504:4096 0x7309a8e0 0 = > 0 31 > 2004-03-18 14:34:29 5940 5938 1086505:4096 0x7309a8e1 0 = > 0 31 > 2004-03-18 14:34:29 5940 5938 1048583:4096 0x73817162 1086506 = > 4 31 > 2004-03-18 14:34:29 5940 5938 1086506:4096 0x7309a272 0 = > 0 31 > 2004-03-18 14:34:29 5940 5938 1086507:4096 0x7309a273 0 = > 0 31 > 2004-03-18 14:34:29 5940 5938 1086508:4096 0x7309a274 0 = > 0 31 > 2004-03-18 14:34:29 5940 5938 1086509:4096 0x7309a275 0 = > 0 31 > 2004-03-18 14:34:29 5940 5938 1048584:4096 0x0082 0 = > 0 31 > 2004-03-18 14:34:29 5940 5938 1048585:4096 0x57462944 1086496 = > 4 31 > 2004-03-18 14:34:29 5940 5938 1086496:4096 0x53a0e818 0 = > 0 31 > 2004-03-18 14:34:29 5940 5938 do_phys_restore: calling = > bar_phys_write_restore(buf 0x800003ffff801f48, bufnbytes 63488, events, = > err > txt) > 2004-03-18 14:34:29 5940 5938 bar_phys_write_restore: enter > 2004-03-18 14:34:29 5940 5938 bar_phys_write_restore: input buf = > 0x001423c0 bufnbytes 63488 > 2004-03-18 14:34:29 5940 5938 bar_phys_write_restore: output buf = > 0x001423c0 events 0 errtxt > 2004-03-18 14:34:29 5940 5938 bar_phys_write_restore: return 0 (0x00) > 2004-03-18 14:34:29 5940 5938 barGetData: enter > 2004-03-18 14:34:29 5940 5938 BSAGetData: enter > 2004-03-18 14:34:29 5940 5938 BSAGetData: input 5940 > 2004-03-18 14:34:29 5940 5938 BSAGetData: input: bufferLen =3D 63488, = > numBytes =3D 0 > 2004-03-18 14:34:29 5940 5938 BSAGetData: output: bufferLen =3D 63488, = > numBytes =3D 63488 > 2004-03-18 14:34:29 5940 5938 BSAGetData: return 14 (0x0e) > 2004-03-18 14:34:29 5940 5938 barGetData: output last_lap > 2004-03-18 14:34:29 5940 5938 barGetData: return 0 (0x00) > 2004-03-18 14:34:29 5940 5938 address flags stamp = > uniqid number > 2004-03-18 14:34:29 5940 5938 1086497:4096 0x53a0e819 0 = > 0 26656 > 2004-03-18 14:34:29 5940 5938 1086498:4096 0x53a0e81a 0 = > 0 26656 > 2004-03-18 14:34:29 5940 5938 1086499:4096 0x53a0e81b 0 = > 0 26656 > 2004-03-18 14:34:29 5940 5938 1048586:4096 0x734effec 0 = > 0 26656 > 2004-03-18 14:34:29 5940 5938 1048587:4096 0x7318b74f 0 = > 0 26656 > 2004-03-18 14:34:29 5940 5938 -1:4128 0x0000 0 0 = > 26656 > 2004-03-18 14:34:29 5940 5938 0:0 0x0000 0 0 26656 > 2004-03-18 14:34:29 5940 5938 0:0 0x0000 0 0 26656 > 2004-03-18 14:34:29 5940 5938 0:0 0x0000 0 0 26656 > 2004-03-18 14:34:29 5940 5938 0:0 0x0000 0 0 26656 > 2004-03-18 14:34:29 5940 5938 0:0 0x0000 0 0 26656 > 2004-03-18 14:34:29 5940 5938 0:0 0x0000 0 0 26656 > 2004-03-18 14:34:29 5940 5938 0:0 0x0000 0 0 26656 > 2004-03-18 14:34:29 5940 5938 0:0 0x0000 0 0 26656 > 2004-03-18 14:34:29 5940 5938 0:0 0x0000 0 0 26656 > 2004-03-18 14:34:29 5940 5938 0:0 0x0000 0 0 26656 > 2004-03-18 14:34:29 5940 5938 0:0 0x0000 0 0 26656 > 2004-03-18 14:34:29 5940 5938 0:0 0x0000 0 0 26656 > 2004-03-18 14:34:29 5940 5938 0:0 0x0000 0 0 26656 > 2004-03-18 14:34:29 5940 5938 0:0 0x0000 0 0 26656 > 2004-03-18 14:34:29 5940 5938 0:0 0x0000 0 0 26656 > 2004-03-18 14:34:29 5940 5938 0:0 0x0000 0 0 26656 > 2004-03-18 14:34:29 5940 5938 0:0 0x0000 0 0 26656 > 2004-03-18 14:34:29 5940 5938 0:0 0x0000 0 0 26656 > 2004-03-18 14:34:29 5940 5938 0:0 0x0000 0 0 26656 > 2004-03-18 14:34:29 5940 5938 0:0 0x0000 0 0 26656 > 2004-03-18 14:34:29 5940 5938 0:0 0x0000 0 0 26656 > 2004-03-18 14:34:29 5940 5938 0:0 0x0000 0 0 26656 > 2004-03-18 14:34:29 5940 5938 0:0 0x0000 0 0 26656 > 2004-03-18 14:34:29 5940 5938 0:0 0x0000 0 0 26656 > 2004-03-18 14:34:29 5940 5938 0:0 0x0000 0 0 26656 > 2004-03-18 14:34:29 5940 5938 do_phys_restore: calling = > bar_phys_write_restore(buf 0x800003ffff801f48, bufnbytes 63488, events, = > er > txt) > 2004-03-18 14:34:29 5940 5938 bar_phys_write_restore: enter > 2004-03-18 14:34:29 5940 5938 bar_phys_write_restore: input buf = > 0x001423c0 bufnbytes 63488 > 2004-03-18 14:34:29 5940 5938 bar_phys_write_restore: output buf = > 0x001423c0 events 0 errtxt I/O write failure on /dev/lims/rootdb > : page 0 > 2004-03-18 14:34:29 5940 5938 bar_phys_write_restore: return -1 = > (0xffffffff) > 2004-03-18 14:34:29 5940 5938 do_phys_restore: Got 1 buffers for = > rootdbs > 2004-03-18 14:34:30 5940 5938 barEndTxn: enter > 2004-03-18 14:34:30 5940 5938 BSAEndData: enter > 2004-03-18 14:34:30 5940 5938 BSAEndData: return 0 (0x00) > 2004-03-18 14:34:30 5940 5938 BSAEndTxn: enter > 2004-03-18 14:34:30 5940 5938 BSAEndTxn: return 0 (0x00) > 2004-03-18 14:34:30 5940 5938 bar_upd_bootfile: enter > 2004-03-18 14:34:30 5940 5938 bar_upd_bootfile: input: bar_objdesc > obj_id 0 obj_name 'rootdbs' obj_type 'R' act_id 0 act_type 2 = > act_status 131 > act_start '2004-03-18 14:34:28' act_end '2004-03-18 14:34:30' > ins_time 0 rsam_time 0 level 0 copyid hi:lo 25:2004003017 = > req_act_id 5500 > logstream 0 est_blks 0 first_log 0 chpt_log 0 last_log 0 > partial_flag 0 do_query 0 ins_sm_id 0 ins_sm_name '' > ins_verify 0 ins_verify_date '' restore order 0:0 > objInfo '' > retry 0 in_catalog 0 in_bootfile 0 child_pid -9223372032559808512 = > child_state 2 > bkup_host '' > 2004-03-18 14:34:30 5940 5938 bar_upd_bootfile: return 0 (0x00) > 2004-03-18 14:34:30 5940 5938 barEndTxn: return 0 (0x00) > 2004-03-18 14:34:30 5940 5938 do_phys_restore: calling = > bar_phys_close_restore commit_fl > 2004-03-18 14:34:30 5940 5938 bar_phys_close_restore: enter > 2004-03-18 14:34:30 5940 5938 bar_phys_close_restore: input = > commit_flag 1 > 2004-03-18 14:34:30 5940 5938 bar_phys_close_restore: output errtxt = > I/O write failure on /dev/lims/rootdbs: page 0 > 2004-03-18 14:34:30 5940 5938 bar_phys_close_restore: return 0 (0x00) > 2004-03-18 14:34:30 5940 5938 do_phys_restore: starting loop for level = > 1 > 2004-03-18 14:34:30 5940 5938 do_phys_restore: skipping rootdbs, level = > 0, at least for now > 2004-03-18 14:34:30 5940 5938 do_phys_restore: starting loop for level = > 2 > 2004-03-18 14:34:30 5940 5938 do_phys_restore: skipping rootdbs, level = > 0, at least for now > 2004-03-18 14:34:30 5940 5938 barTerminate: enter > 2004-03-18 14:34:30 5940 5938 BSATerminate: enter > 2004-03-18 14:34:30 5940 5938 BSATerminate: return 0 (0x00) > 2004-03-18 14:34:30 5940 5938 barTerminate: return 0 (0x00) > 2004-03-18 14:34:30 5940 5938 do_phys_restore: return 131 (0x83) > 2004-03-18 14:34:30 5940 5938 bar_parallelize: return 131 > 2004-03-18 14:34:30 5940 5938 return from bar_exec 131 > 2004-03-18 14:34:30 5940 5938 bar_unloadXBSA: enter > 2004-03-18 14:34:30 5940 5938 bar_unloadXBSA: return 0 (0x00) > 2004-03-18 14:34:30 5940 5938 bar_main: return 131 (0x83) > 2004-03-18 14:34:30 5940 5938 bar_cleanup: enter > 2004-03-18 14:34:30 5940 5938 bar_api_disconnect: enter > 2004-03-18 14:34:30 5940 5938 bar_api_disconnect: return > 2004-03-18 14:34:30 5940 5938 bar_cleanup: return > > > > Thanks, > > John Hubbard > Database Administrator > OneNeck IT Services, Corporation > 480-315-3060 > > > Privileged/Confidential Information may be contained in this message or = > attachments hereto. Please advise immediately if you or your employer do = > not consent to Internet email for messages of this kind. Opinions, = > conclusions and other information in this message that do not relate to = > the official business of this company shall be understood as neither = > given nor endorsed by it. > > >
Messages In This Thread
IDS Forum is maintained by Administrator with WebBBS 5.12.
|
|