Re: Physical restore failed - read archive backup



--> The linkhttp://www-1.ibm.com/support/docview.wss?uid=swg21197558suggests
to
--> change TAPEDEV to a rewindable tape device.


i guess the above is the manual. afaik no nonrewindable tapes...

--> Again, the tape is positioned at top of fifth partition, then we
change
--> TAPEDEV to /dev/st0, try "ontape -r" but get this error "Physical
restore

if the backup is at offset X where X is the distance from the start to
the fith partition, do you really think that will work??
ontape expects the sys reserved pages at the beginning and it opens
the dev reads the res. pages displays the chunk info
closes the tapedev so it rewinds and starts reading again from the
start when restore is chosen.

you could dd the contents of to disk. and try and restore from there.

ex:

dd if=/dev/nst0 of=<somedirwhich allows big files and lots of space>/
somefile bs=32k

do try a restore from there so set TAPEDEV to <somedirwhich allows
big files and lots of space>/somefile
that may fail due to a 2GB limit; you could set TAPEDEV to
<yourhostname>:<somedirwhich allows big files and lots of space>/
somefile bs=32k
to try and trick ontape
otherwise

i would dd the stuff back to a new tape using /dev/st0 eq

dd of=/dev/st0 if=<somedirwhich allows big files and lots of space>/
somefile bs=32k

Superboer.

way fast=http://www.clipjes.nl/clip/nederlands/n/normaal_-
_oerend_hard.html
On 28 mei, 06:49, "gpgiral" <u43871@uwe> wrote:
Hi everyone. We have the following:

IDS 10.00.FC5
Linux Red Hat Kernel 2.6.9-42 on an x86_64
Tape Params:
TAPEDEV /dev/nst0 # Nonrewind tape device
TAPEBLK 32
TAPESIZE 400000000

We use "ontape -s -L 0" as fifth partition of seven that the tape contains.
This works ok.

Then, the tape is positioned at top of fifth partition, and we try "ontape -
r" but get this error "Physical restore failed - restore reserved pages
failed".
The linkhttp://www-1.ibm.com/support/docview.wss?uid=swg21197558suggests to
change TAPEDEV to a rewindable tape device.
Again, the tape is positioned at top of fifth partition, then we change
TAPEDEV to /dev/st0, try "ontape -r" but get this error "Physical restore
failed - read archive backup". This error arise after answer "n" to the
question "Do you want to back up the logs? (y/n)".

We have only one tape device for that reason we use "tape partitions".

Ideas ? We need your help. Regards.

.



Relevant Pages

  • Re: Physical restore failed - read archive backup
    ... Restore works from tape, it's necessary to rewind for another window before ... --> change TAPEDEV to a rewindable tape device. ...
    (comp.databases.informix)
  • Re: function write to tape failed code -1 errno 16
    ... Error number 16 may indicate the tape is already busy, ... TAPEDEV and LTAPEDEV pointing at the same device? ... sizes, use dd to write to the tape and specify bs= whatever block size ...
    (comp.databases.informix)
  • Re: Exchange Server Restore From Backup - Help Needed
    ... had to modify the backup so that the Exchange Server files were only ... when I come to do a restore the only option I ... get is to restore to the current machine or to another Exchange Server. ... Because the Travan Tape only holds 20GB uncompressed 40GB compressed, ...
    (microsoft.public.windows.server.sbs)
  • Re: Dump/restore mystery (off topic)
    ... Triffid wrote: ... > from tape, and restore the latest backup. ... The restore script reported numerous instances ...
    (comp.unix.solaris)
  • Re: Dump/restore mystery (off topic)
    ... Triffid wrote: ... > from tape, and restore the latest backup. ... The restore script reported numerous instances ...
    (comp.unix.solaris)