Operating System - HP-UX
1833736 Members
2945 Online
110063 Solutions
New Discussion

Re: checking make_recovery tape

 
Bob McConnell
New Member

checking make_recovery tape

I realize that by checking the ignite/logs you can verify whether the make_recovery process was successful or not but is there also a way one could check the tape itself to ensure that we do indeed have a good tape?
4 REPLIES 4
Germán Orozco
Occasional Contributor

Re: checking make_recovery tape

Well, I think that the only way for test a make_recovery tape is boot a server using this tape. However, you should verify the information in this tae using:

# mt -t /dev/rmt/0mn fsf 1 (Jump to data files. The firts block keep boot image)
# tar -tvf /dev/rmt/0m filename (view or restore datafiles)
rajsri
Frequent Advisor

Re: checking make_recovery tape

Hi ,
1.boot from the tape and cancell the operation when it prompts for the " Press within 10 seconds to cancel batch-mode installation:"

2.you can test bu doing following .as well

mt -t < device name > rew ex: /dev/rmt/0m
mt -t < device name > fsf 1 ex: /dev/rmt/0mn
cd /tmp
tar xvf < device name > etc/passwd ex: /dev/rmt/0mn
After seeing that etc/passwd is restored, press Ctrl-C to cancel the operation. Otherwise, process will not be completed till it reaches the end of tape.
diff /etc/passwd /tmp/etc/passwd
mt -t rew ex:/dev/rmt/0m
Keep the tape safe.

bye
Carlos Fernandez Riera
Honored Contributor

Re: checking make_recovery tape

Hi:

You can test the first part of tape, perhaps the most important.

You must copy to disk using dd:

dd if=/dev/rmt/0mn of=/tmp/LIFfile bs=2k

Now the LIF is into your disk and you can do:

lifls /tmp/LIFfile -l

and see some of its file w/

lifcp /tmp/LIFfile:CONFIG /tmp/config
vi /tmp/config.

See in ignite documents for more information.


HTH








unsupported
CHRIS_ANORUO
Honored Contributor

Re: checking make_recovery tape

After using the make recovery command: "make_recovery -A -C -d /dev/rmt/0m", use the tape on the same server and not any other server 'cos this is server specific.
When booting with tape, after scanning the hardwares and identifying all components it gets to a point where you are asked to continue, modify, ... reboot. Please reboot that means your tape is okey.
Note make recovery tapes are server specific. The -C option is for creating a check_recovery file called makrec.last.

Bye

When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.