1835910 Members
2694 Online
110086 Solutions
New Discussion

about make_recovery tape

 
SOLVED
Go to solution
dbw
Advisor

about make_recovery tape

Hi,

how to check when make_recovery tape was made?

(how to read from tape when it was made?)

thanks
7 REPLIES 7
Sundar_7
Honored Contributor
Solution

Re: about make_recovery tape

Try this

# ioscan -fnkC tape

# mt -t /dev/rmt/0m rew

# dd if=/dev/rmt/0m of=/tmp/TAPE bs=1024k count=8

# lifls -l /tmp/TAPE

The time stamp you see is the time your recovery tape was last created.
Learn What to do ,How to do and more importantly When to do ?
Victor Fridyev
Honored Contributor

Re: about make_recovery tape

Hi,

The best way (100%) to check a make_recovery tape, IMHO, is to try to restore from it.
The second way is the following:
mt -f /dev/rmt/0mn fsf 1
tar tvf /dev/rmt/0m

Make_recovery tape consists of two files:
bootable part and tar file after it.

If you can read tar file, 95% that the tape is OK.

You can also try to boot from the tape. If the boot is OK and tar reads the tape, it's OK (99%).

Good luck
Entities are not to be multiplied beyond necessity - RTFM
Tony Contratto
Respected Contributor

Re: about make_recovery tape

Hi,

http://forums1.itrc.hp.com/service/forums/questionanswer.do?admit=716493758+1091825438605+28353475&threadId=178514

I posted a script that will do this in the above thread...

--
Tony
got root?
D Block 2
Respected Contributor

Re: about make_recovery tape

there is a log file created after make_recovery process completes. try to look at the man page.

Also, check files in:
/var/opt/ignite/recovery/

There might be a file called: "latest", which is a link to the most current make_recovery run.

Tape Contents - use the "mt" command.
You can skip the 1st file on the Tape, and then run tar tvf

example:
mt -t /dev/rmt/0m rew
# the above does a "REWind" of the Tape.

mt -t /dev/rmt/0mn fsr
# the above does a "Forward Skip Record"
# note the 'mn', or no-rewind device file.

tar tvf /dev/rmt/0m


note: if you running 11.11 please upgrade using "make_tape_recovery", and you might have to install a "pax" Patch.

hope this helps
Golf is a Good Walk Spoiled, Mark Twain.
Patrick Wallek
Honored Contributor

Re: about make_recovery tape

Sundar,

Great idea!!! I've just looked at a couple of machines and that works like a champ! I'd never thought of doing that.

I would give you 10 points if I could!

(0 points for me please!)
Sundar_7
Honored Contributor

Re: about make_recovery tape

oh, thanks Patrick :-)
Learn What to do ,How to do and more importantly When to do ?
dbw
Advisor

Re: about make_recovery tape

Thank you all!

It works and I have what I need :)