Operating System - HP-UX
1834796 Members
2513 Online
110070 Solutions
New Discussion

extraction from make_recovery tape

 
sanjeev gupta_1
Occasional Contributor

extraction from make_recovery tape

Hi all
i take back-up of a system using make_recovery as
# make_recovery -A

after taking back-up in tape #1, it asked to
enter another tape. after taking back-up in tape #2. it was successfully completed.
now i can see the contents in tape #1 as
#mt fsf 1
#tar -tvf /dev/rmt/0m

now my problem is this that i am not in position to see contents of second tape.
when i use above above way, it gives directory
check-sum error, or block size=0, broken pipe .
pl. supply necessary information so that i can see or extract contents of second tape

thanks
sanjeev gupta


5 REPLIES 5
Stefan Schulz
Honored Contributor

Re: extraction from make_recovery tape

Hi,

did you do a mt -fsf 1 on the second tape also?

I don't think the second tape has an ignite file on it. So you don't have to skip the first file on tape.

Hope this helps

Regards Stefan
No Mouse found. System halted. Press Mousebutton to continue.
Elif Gius
Valued Contributor

Re: extraction from make_recovery tape

Hello,

Did you do a make_recovery using a no-rewind option for the tape ???
/dev/rmt/0mn

/dev/rmt/0mn--->no rewind option on the tape.
You are using the no-rewind option with the mt command.

Look at the man page for "make_tape_recovery"
+++++++++++++++++++
Extracting files from tape
After the system recovery tape has been created, a single file or files can be extracted from tape by seeking to the tape position where the archive is located. The mt command can be used to seek to the appropriate location, and pax or tar can be used to extract files from the archive.

To extract a single file from the recovery archive:

mt -t /dev/rmt/0mn fsf 1
tar -xvf /dev/rmt/0m filename
+++++++++++++++++++

When you want to recover you have to use the no-rewind option with the 'mt' command to skip over the LIF area written on the tape by Ignite

You can use tvf option with tar to check the file on the tape.
sanjeev gupta_1
Occasional Contributor

Re: extraction from make_recovery tape

Hi
i have done all things mention in man pages and by u people, as i have told that in first tape it is not a problem , only in second tape i am facing problem
regards
sanjeev gupta
Jean-Louis Phelix
Honored Contributor

Re: extraction from make_recovery tape

Hello,

I didn't see if you had or not skipped the first file on the second tape. I also think that you don't have to, because it's a boot lif area needed only for the first tape. You just have to use tar directly. another possibility is that you second tape was not rewinded when you used it, so it would be hard to find the beginning of your writes now.

Regards,

Jean-Louis.
It works for me (© Bill McNAMARA ...)
Elif Gius
Valued Contributor

Re: extraction from make_recovery tape

Hi,

you can also use pax to extract files...pax can read many archives...