Operating System - HP-UX
1833789 Members
2592 Online
110063 Solutions
New Discussion

Re: Create a system recovery tape with make_tape_recovery.

 
Kevin.Wang
Frequent Advisor

Create a system recovery tape with make_tape_recovery.

My VG00 is so large,about 50GB,I want to create a system recovery tape with make_tape_recovery,but error message occurs,make_tape_recovery completed unsuccessfully. you can see the attachment. Who can help me? Thanks in advance.
16 REPLIES 16
Sridhar Bhaskarla
Honored Contributor

Re: Create a system recovery tape with make_tape_recovery.

Hi Kevin,

This is a known issue with your version of Ignite (B.3.4) that has been fixed in later versions. Try installing the recent version of Ignite from the following link

http://www.software.hp.com/products/IUX/download.html

When you get a chance, move the logical volumes that do not correspond to your OS to another volumegroup. Make your root volume group as small as possible.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Fragon
Trusted Contributor

Re: Create a system recovery tape with make_tape_recovery.

I found that /vg00/lvol30(/oradata) is skipped and you didn't exclude it at all.
Do you have >2G file(s) in /oradata?
Kevin.Wang
Frequent Advisor

Re: Create a system recovery tape with make_tape_recovery.

Hi,Bhaskavla
I should remove ignite(version B3.4)and download the lastest ignite unix. and try later.
Helen French
Honored Contributor

Re: Create a system recovery tape with make_tape_recovery.

If it doesn't solve your problem with the excellent answer given by Sri, try this:

I have seen these messages when a logical volume which is not mounted, but is included in the volume group which is being backed by make_tape_recovery. For eg: you might have created a logical volume - /dev/vg00/lvol10 and has a file system which normally mounts in /dir1. But /dir1 might not be mounted at this time.

If this your case, then either remove the LV (if not needed) or mount it. Then try the recovery command again.

Just thought of adding this...
Life is a promise, fulfill it!
Fragon
Trusted Contributor

Re: Create a system recovery tape with make_tape_recovery.

Hi,
please try by excluding /oradata ,just like this:
#./make_tape_recovery -a /dev/rmt/0mn -x inc_entire=vg00 -x exclude=/u01 -x exclude=/u02 -x exclude=/backuporadata -x exclude=/oradata
If error occur again, it should be the version problem of Ignite-UX!

Good luck!
yogesh_4
Regular Advisor

Re: Create a system recovery tape with make_tape_recovery.

Dear kevin,
along with make_tape_recovery you can give -i option which will give you GUI window in which you can include and exclude the filesystems. I feel if you are giong to create the system recovery tape then you should not include other lvols like /u01,/u02 ,/oradata etc. Also there is one more option that you cam select by giving command #./make_tape_recovery -a /dev/rmt/0mn -x inc_entire=vg00 -x exclude=/oradata -x exclude=/backuporadta -x exclude=/uo1 -x .... your other lvols other than system lvols.


Kevin.Wang
Frequent Advisor

Re: Create a system recovery tape with make_tape_recovery.

I have updated the ignite unix(Ignite-UX-11-00_B.4.1.61_HP-UX_B.11.22_IA+PA.depot), then I run make_tape_recovery, but this time it said

* Testing pax for needed patch
WARNING: The version of pax on the system to be archived needs to be
patched with one of the following patches or newer ones. If you do not
load the pax patch some files will not be correctly archived
(See the Ignite-UX release notes for details):

System OS Patch needed
--------- ------------
10.01 PHCO_11975
10.10 PHCO_11976
10.20 PHCO_20388
10.30 PHCO_11978
11.00 PHCO_25418
11.11 PHCO_26422

So I have to install the patch(PHCO_26422),from the website I saw the installation instructions
5. Run swinstall to install the patch:

swinstall -x autoreboot=true -x patch_match_target=true -s /tmp/PHCO_26422.depot

I don't know if I shall reboot the system?
Michael Tully
Honored Contributor

Re: Create a system recovery tape with make_tape_recovery.

The patch is not a rebootable one, therefore the command string your using will work anyway. You could also run it like this.

# swinstall -s /tmp/PHCO_26422.depot \*

The latest pax patch is PHCO_28414
Anyone for a Mutiny ?
Kevin.Wang
Frequent Advisor

Re: Create a system recovery tape with make_tape_recovery.

Hello, i have patched PHCO_28414.

but I still cannot create a system recovery tape successfully.

would you please help me?
Kevin.Wang
Frequent Advisor

Re: Create a system recovery tape with make_tape_recovery.

successfully.
Kevin.Wang
Frequent Advisor

Re: Create a system recovery tape with make_tape_recovery.

but how to verify the tape what i created is right? I am not sure that the tape shall work normally .
Ivan_42
Advisor

Re: Create a system recovery tape with make_tape_recovery.

You can try to execute a list files stored into the tapes. It's not a guarantee but it could help you to know which files were backed up.
you can try to execute this two commands:
mt -t /dev/rmt/0mn fsf 1
tar tvf /dev/rmt/omn >storedfiles.out

It could be a possibily.
Bye,
Ivan
Ivan_42
Advisor

Re: Create a system recovery tape with make_tape_recovery.

You can try to execute a list files stored into the tapes. It's not a guarantee but it could help you to know which files were backed up.
you can try to execute this two commands:
mt -t /dev/rmt/0mn fsf 1
tar tvf /dev/rmt/0mn >storedfiles.out

It could be a possibily.
Bye,
Ivan
Michael Tully
Honored Contributor

Re: Create a system recovery tape with make_tape_recovery.

The tape will work fine. These are warnings only. Suggest you make sure that you create one of these tapes at least once a week.

Good luck.
Michael
Anyone for a Mutiny ?
Helen French
Honored Contributor

Re: Create a system recovery tape with make_tape_recovery.

The best way to test the recovery tape is to do an actual recovery. Otherwise you can see the content of the media with the option given above. If you have a test system, you can test your recovery tape easily.

Will you be able to share with us, which solution helped you solving the issue - Patch?, new version of Ignite?, mount LVs?
Life is a promise, fulfill it!
Kevin.Wang
Frequent Advisor

Re: Create a system recovery tape with make_tape_recovery.

Hi,everyone.That's my solution

1)swremove Ignite-UX Revision B.3.4.115

2)swinstall -s /tmp/Ignite-UX-11-11_B.4.1.61_HP-UX_B.11.22_IA+PA.depot

3)swinstall -x autoreboot=true -x patch_match_target=true -s /tmp/PHCO_28414.depot

4)/opt/ignite/bin/make_tape_recovery -a /dev/rmt/0mn -x inc_entire=vg00 -x exclude=/u01 -x exclude=/u02 -x

exclude=/backuporadata -I -v