Operating System - HP-UX
1832276 Members
1904 Online
110041 Solutions
New Discussion

make_tape_recovery question

 
SOLVED
Go to solution
Heath Ramos
Frequent Advisor

make_tape_recovery question

I made a tape with the following command:

make_tape_recovery -I -x inc_entire = vg00

I am trying to use this tape but I have never used a ignite tape before. I booted off the tape, said no to ipl interaction and then it put me at a menu. It asks if I want to install HP-UX or get a Recovery Shell.

How do I use this tape to recover my VG00?
12 REPLIES 12
James R. Ferguson
Acclaimed Contributor
Solution

Re: make_tape_recovery question

Hi:

Choose "Install HP-UX/Media Only".

Select the "Advanced Installation" tab for the most flexability afterwards. For instance, by doing so, you can (in turn) select the "Filesystems" tab and resize your vg00 logical volumes for the installation.

Regards!

...JRF...
Nesan
Advisor

Re: make_tape_recovery question

Hello

You need to select to install allow the install process to complete automatically.

Good luck!

Reference from man pages.
-------------------------

Using the Recovery Tape to Boot a System
To recover a failed system disk or volume group, the user would

+ Insert the System Recovery tape into the tape drive

+ boot the system

+ interrupt the boot sequence to redirect it to the tape drive

+ elect no intervention with ISL

+ allow the install process to complete automatically.
Everything you don't know is an opportunity to learn
Heath Ramos
Frequent Advisor

Re: make_tape_recovery question

thanks for the help

I need to learn how to read
S.K. Chan
Honored Contributor

Re: make_tape_recovery question

Select "Install HP-UX" in the Ignite screen and then select "media only installation" from the "User Interface and Media Option" menu. Advance installation would give you the opportunity to resize your volume group if needed.
Steven E. Protter
Exalted Contributor

Re: make_tape_recovery question

A bit more detail on the boot.

After inserting the tape and rebooting.


Hit a key during the 10 second prompt to interupt boot.

Type sea
Hit enter

You'll see a list, including a sequential(tape) device. There will be a number like P3 associated with that device.

Bo P3 make the P# entry match the tape device.

N When prompted to interact with the ISL

If there is a need, you can interupt the Ignite recovery to make changes to fs size or other issues prior to finishing the recovery as noted above.

SEP
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
Heath Ramos
Frequent Advisor

Re: make_tape_recovery question

Okay...I finished recreating vg00 but I am having problems with my volume groups.

This tape is an attempt to cloan one server to a near identical one.

After I finished restoring vg00, I am having problems with the volume groups that aren't on the new server. My plan was to recreate them and restore the files. I am having problems recreating them.

I can't just recreate them since they are listed as deactivated. I tried vgexport and then removed the lv's from fstab.

Now it says that a volume group is already using this major and minor number. Please check the minor number of the group device file.
Patrick Wallek
Honored Contributor

Re: make_tape_recovery question

It sounds as if the VGs didn't get fully exported.

How did you do the vgexport? Did you get any errors?

The error you are seeing is arising from the fact that you have a /dev/vg??/group file with the same minor number (0x0?0000) of the one you are attempting to create.

You can remove the /dev/vg?? directory structures if you are ABSOLUTELY SURE those VGs do not exist on this sytem. Typically vgexport will remove this, but it sounds like it didn't for some reason.
Heath Ramos
Frequent Advisor

Re: make_tape_recovery question

I just entered vgexport /dev/vg01

I manually deleted this directory and tried it again.

This time I couldn't do it because of a reference in the lvmtab file.

It seems like after it errors out, it recreates the /dev/vg01 directory.
Nesan
Advisor

Re: make_tape_recovery question

you can try 'vgscan -a -v ' which will try to recreate lvmtab file .

After vgscan completes successfully, run the vgimport command on each
set of unmatched physical volumes

Hope this helps.
Regards
Nesan
Everything you don't know is an opportunity to learn
James R. Ferguson
Acclaimed Contributor

Re: make_tape_recovery question

Hi:

If you are cloning using Ignite, it is not unexpeted that your non-vg00 volume groups will not be imported. Either you have device files ('/dev/vg*/group') with minor numbers that match volumes you are trying to import, or the pv_paths for the volume group are different from those on the corresponding server where you made the recovery tape.

If the 'group' file's minor numbers are duplicates, you can (1) remove them on the target server if you don't need them; therefore reusing them; or (2) you can choose unique numbers for new group files and manually 'vgimport'.

If the pv_paths are all that are different, simply specify the correct paths and manually 'vgimport'.

See tha man pages for 'vgimport' for more information.

Regards!

...JRF...
Heath Ramos
Frequent Advisor

Re: make_tape_recovery question

at this point, I have no idea what to try.

I have attached the vgscan I did.
Heath Ramos
Frequent Advisor

Re: make_tape_recovery question

Thanks for the help.

Finally got it to work.

At least part of the problem was that the vg's remained in memory after I did the vgexport for some reason. After I rebooted, the vgcreate statement worked.