Operating System - HP-UX
1833187 Members
3259 Online
110051 Solutions
New Discussion

Restore of boot drive without ignite

 
SOLVED
Go to solution

Restore of boot drive without ignite

I have a L2000 running HP-UX 11.00 with 4 internal disks. One is the root/boot drive containing the vg00 volume group. The other three drives are application data and each drive belongs to a separate volume group (vg01, vg02, vg03). I don't have a make_tape_recovery tape from ignite but I do have the new drive that has the OS installed using a ignite build from our vendor (no HP hardware support on this server). The ignite build doesn't have the correct size for /home or /opt. The hard drive totally failed and the system shutdown and could not be rebooted. I can replace the boot drive with the new disk with the OS already installed and the system boots up. Is there a way that I can just restore everything from vg00 off the fbackup that I have from the night before and get everything working? Will the restore increase the size of the /home and /opt directories? What commands do I need to issue in order for the new OS to see the vg01-vg03 volume groups, if any.

Thanks in advance.
4 REPLIES 4
OldSchool
Honored Contributor

Re: Restore of boot drive without ignite

yikes...no root disk mirror?

I think your best bet is to boot off the new disk, install ignite and make a recovery tape (x 2)

then boot off the recovery tape interactively and change the size of /home and /opt as necessary.

then restore you fbackup???

also see
http://www.docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf

the restore should bring back /etc/lvmtab info. at that point the system *should* see the old volume groups.

one thing: once you get everything running, get and keep good ignite backups of vg00.

also, you should really mirror the root drive
Torsten.
Acclaimed Contributor

Re: Restore of boot drive without ignite

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

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Robert-Jan Goossens
Honored Contributor
Solution

Re: Restore of boot drive without ignite

The ignite build doesn't have the correct size for /home or /opt --> You will have to resize your filesystems manualy.

Is there a way that I can just restore everything from vg00 off the fbackup that I have from the night before? --> Yes

Will the restore increase the size of the /home and /opt directories? --> No

What commands do I need to issue in order for the new OS to see the vg01-vg03 volume groups? ---> You can use the vgimport command.

# mkdir /dev/vgXX
# mknod /dev/vgXX/group c 64 0x0X0000
# vgimport vgXY /dev/dsk/cCtTdD
# vgchange -a y vgXX
# vgcfgbackup vgXX
# mkdir /mountpoint
# mount /dev/vgXX/lvolY /mountpoint
add an entry in the /etc/fstab for this filesystem.

Hope this helps a bit.
Regards,
Robert-Jan

Re: Restore of boot drive without ignite

Thanks for the information. I will manually increase the /home and /opt from single user mode and restore all the files from the fbackup.