RE: Restore (ontape -r) problems
Posted in 2005
The boxes would appear to be binary compatible if you can simply copy
IDS from one to the other and ontape will run.
Why did you say 'y'es to backing up logical logs? This has taken the
logs from the machine to which you are restoring and written them to
tape over the top of your archive (unless you changed tapes !!). Say
'n'o and watch the restore run through.
Keith
-> -----Original Message-----
-> From: Cats [mailto:ramwater@uk2.net]
-> Sent: Friday, August 12, 2005 2:35 PM
-> To: informix-list@iiug.org
-> Subject: Restore (ontape -r) problems
->
->
-> Hi
->
-> We have two SPARC machines running Solaris 8 & IDS 7.31.UD6.
-> One is a
-> Sun (test), the other a Futjitsu(live).
->
-> The test box has an instance of online running, with an exact copy of
-> the onconfig from the live box. All that has been changed is
-> commenting out the DBTEMP lines, and swapping the two tape
-> devices over
-> as only /dev/rmt/1 is a DDS4 drive. However although all the logical
-> bits of disk are present only the rootdbs is initialised.
-> We have not
-> created the other database spaces & chunks
->
-> There is an identical set of symbolic links to the actual
-> bits of disks
-> on both boxes, and the kernel parameters have been altered
-> in the same
-> way on both.
->
-> So, stopped IDS (having managed to initialise it) on the
-> test box, put
-> a level 0 tape from the live box into the drive, and ran 'ontape -r'.
-> (logged in as 'informix') The archive information was
-> displayed, then a
-> correct list of spaces to restore, then a correct list of dbspaces,
-> then a correct list of chunks. Then this:
->
-> ===============================
-> Continue restore? (y/n)y
-> Do you want to back up the logs? (y/n)y
-> Please mount tape 1 on /dev/rmt/0n and press Return to continue ...
-> Would you like to back up log 1? (y/n) y
-> Please label this tape as number 1 in the log tape sequence.
-> This tape contains the following logical logs:
-> 1
-> Log salvage is complete, continuing restore of archive.
-> Physical restore failed - function read archive backup failed code 1
-> errno 2
-> Program over.
-> ================================
->
-> Frustration!
->
-> Is this a tape drive problem? (no sign of it in the messages file)
->
-> Or a tape problem? Clearly it has *started* to read the tape.
->
-> Or because although *both* machines are SPARC Solaris 8 IDS 7.31.UC6
-> (and the RDS was simply copied over & seems to work) they are *still*
-> not similar enough?
->
-> Any advice welcome...
->
**********************************************************************************
This message is sent in strict confidence for the addressee only. It may
contain legally privileged information. The contents are not to be disclosed
to anyone other than the addressee. Unauthorised recipients are requested
to preserve this confidentiality and to advise the sender immediately of any
error in transmission.
This footnote also confirms that this email message has been swept for the
presence of computer viruses, however we cannot guarantee that this message
is free from such problems.
**********************************************************************************
sending to informix-list