System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

make_tape_recovery including too many volume groups

Steve Murphy_3
Occasional Advisor

make_tape_recovery including too many volume groups

Hi,

I am running make_tape_recovery on one of my servers, an RX2600 running 11.23, and am using the -A option.
On my other servers on our site, I am using the -A option, and when make_tape_recovery runs the save_config step, it just includes VG00.
However, on my RX2600, it includes two other volume groups as well as VG00, which causes tape fill problems.
Has anyone else experienced this?
11 REPLIES
Peter Godron
Honored Contributor

Re: make_tape_recovery including too many volume groups

Steve,
please check your
/opt/ignite/recovery/mnr_essentials
file. Are there any non-vg00 files listed ?

Please see:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=679080

Chan 007
Honored Contributor

Re: make_tape_recovery including too many volume groups

Hi Steve,

Why not use

"-x inc_entire=vg00 -x exclude=/tmp -x exclude=/var/adm/crash"

something like this. Only vg00 is most important. So avoid taking all in you ignite archive.

Take vg00 in ignite and use normal backup for other vg00.

During failure, use ignite "vg00" to recover and then restore from your normal backup for other 2 vgs.

Chan
Fabian Briseño
Esteemed Contributor

Re: make_tape_recovery including too many volume groups

Hello steve.

yes i have experienced this problem, and my solution was to use the following instruction.
make_net_recovery -Av -x inc_entire=vg00.

This solved my problem.
Knowledge is power.
Calandrello
Trusted Contributor

Re: make_tape_recovery including too many volume groups

Friend
the commands to effect are in the answers above. ja I used this option and in the hour of restore I had problems therefore the added VG being the VG00 did not come back completely.
Bill Hassell
Honored Contributor

Re: make_tape_recovery including too many volume groups

Using the -A option is not recommended since it is not predictable as to which volume groups will be included. The Ignite/UX product is designed to copy and restore the bootable volume group VG00 and while other may be specified, it is not recommended due to efficiency and time requirements, and of course, tape length. It is assumed that you vahe a reasonably-sized VG00 (not 100's of Gb). Use this as your MTR backup string:

make_tape_recovery -I -v -x inc_entire=vg00 -a /dev/rmt/



Bill Hassell, sysadmin
Steve Murphy_3
Occasional Advisor

Re: make_tape_recovery including too many volume groups

Thank you all for your responses, and there are several ways around this I can use.
However I am trying to understand why the other volume groups are included. I suspect that there are symbolic links withing vg00 to the other volume groups (though for the life of me I cannot find them).
Does anyone know why using the -A option would cause these VGs to be included as part of the inc_all_affected in the archive_content file under /var/opt/ignite/recovery/2006-12-11,14:50
Fabian Briseño
Esteemed Contributor

Re: make_tape_recovery including too many volume groups

Hello steve.

check your /var/opt/ignite/local/ directory

There you will find the configuration info for your ignite backup.

Knowledge is power.
Patrick Wallek
Honored Contributor

Re: make_tape_recovery including too many volume groups

If you read the make_tape_recovery man page, the info for '-A' says:


Based on the files that are specified for nclusion, this option determines which disk(s) and/or volume group(s) contain those specified files, and includes all files from those disk(s) and/or volume group(s) in the archive.


So basically, there are files listed for inclusion that reside in other VGs. As a result the ENTIRE VG that contains those files is included.

Have a look at your file system list and file list and see what is being included. If possible remove those non-vg00 files and filesystems and your problem should go away.

Steven E. Protter
Exalted Contributor

Re: make_tape_recovery including too many volume groups

Shalom,

My two shekels.

Ignite will not get a clean backup of an open database anyway, so exclude such volume groups. Ignite is as stated best used for saving bootable images. I've used it for system replication with all databases down and that DOES work, but its not practical to take backup s that way.

SEP
More like a shekel and a half.
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Margarida Brito
Frequent Advisor

Re: make_tape_recovery including too many volume groups

Recently I upgrade my ignite to version C.7.7.98

I also include in my make_tape_recovery command the -AIv and -l option

/opt/ignite/bin/make_tape_recovery -AIv -a /dev/rmt/0mn -v -l -x inc_entire=vg00 -x exclude=/tmp

The result was:

In servers HP-UX 11.31 everything run OK
In servers HP-UX 11.23 the excluded filesystem were NOT excluded ???????

Maybe there is a bug in this ignite, when is running on 11.23 HP-UX OS
Fabio Ettore
Honored Contributor

Re: make_tape_recovery including too many volume groups

Hi Margarida,

it should be better to open a new thread rather than replying to an old one. Anyway why do you use -A option on make_tape_recovery?

If you aren't interested to include anything from file /var/opt/ignite/recovery/mnr_essentials don't use that. Bill Hassell's comments above on the option -A are most valuable than many words.

Please try the same your command but without -A on make_tape_recovery and check results.

Best regards,
Fabio
WISH? IMPROVEMENT!