Operating System - HP-UX
1833917 Members
2467 Online
110063 Solutions
New Discussion

make_tape_recovery to only include vg00, but vg01 also included?

 
Hanry Zhou
Super Advisor

make_tape_recovery to only include vg00, but vg01 also included?

I use the command to make a recovery tape:
/opt/ignite/bin/make_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/0mn

However, the message shows vg01 also partially included. By looking into recovery.log file, it seems two logical volumes in vg01 are included, and they are all mounted as /etc/opt/...:
/dev/vg01/lvol4 /etc/opt/xyz
/dev/vg01/lvol5 /etc/opt/abc

How did that happen? what I can do to exclude these two vg01 file systems. I used the option of inc_entire=vg00, so vg01 should not be included.

Thanks,

none
2 REPLIES 2
Tony Scully_2
Valued Contributor

Re: make_tape_recovery to only include vg00, but vg01 also included?

Hanry,

Have the files in these directories really been included, or has ignite just included the soft link references out of /etc/opt (which would be in vg00).

Certainly the syntax you have used is correct, and you should not have any files forn vg01 in your archive.

Cheers,

Tony.
You CAN do that on HP
Robert-Jan Goossens
Honored Contributor

Re: make_tape_recovery to only include vg00, but vg01 also included?

Hi,

--
The contents of the system recovery archive will always include all files and directories that are considered essential to bringing up a functional system. This essential list is pre-defined by make_tape_recovery and is located in the following file:

/opt/ignite/recovery/mnr_essentials
--
http://docs.hp.com/en/B2355-90872/ch09s02.html

/etc is an essential filesystem, you will need to exclude the /etc/opt/xyz etc filesystems.

# /opt/ignite/bin/make_tape_recovery -x inc_entire=vg00 -x exclude=/etc/opt/xyz -x exclude=/etc/opt/abc -I -v -a /dev/rmt/0mn

Hope this helps
Robert-Jan