Operating System - HP-UX
1833788 Members
2506 Online
110063 Solutions
New Discussion

Re: Boot disk - Replacement.

 
Mark Sosa
New Member

Boot disk - Replacement.

Hello All!

The boot disk, c0t5d0, failed on one of the servers running HP/UX 11.0. Since the volumes are mirrored, the system is still up.

VG00 has 2 disks, c0t5d0 and c5t5d0.

I have a spare disk, c0t6d0 of the same size. Since the bad disk and the spare disk are internal on a K580, i cannot do a hotswap.

How do i go about fixing this?

Can i boot from alternate disk in maintenance mode and use vgcfgrestore onto the spare disk?

How do i remove reference to the bad disk in vg00?

Or do i need to replace the bad disk at the h/w path and follow the standard procedure?

I am trying not to replace the bad disk and instead use the spare disk for mirroring.

Any suggestions would be greatly appreciated?

Also, i remember reading about a procedure to create alternate boot disk (in vgroot) in KB. I am not able to get to that anymore. Can someone point me to the Doc ID?

TIA..
I am no Sammy Sosa
5 REPLIES 5
Uday_S_Ankolekar
Honored Contributor

Re: Boot disk - Replacement.



Here is the doc ...
Let Forum know if you are not abel to access this .

http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=20000006
2909815

-USA..
Good Luck..
S.K. Chan
Honored Contributor

Re: Boot disk - Replacement.

In your case what you need to do is try to lvreduce all the LVs from the bad disk. Try this ..
# lvreduce -m 0 /dev/vg00/lvol1 /dev/dsk/c0t5d0
==> Repeat for the rest of the lvols. If this does not work you got to use the "disk-key" removal method. This is how ..
# lvdisplay -v -k /dev/vg00/lvol1
==> Take note of the "disk-key" valeue (either 0 or 1).
# lvreduce -m 0 -k /dev/vg00/lvol1 1
==> Now remove it with the disk-key value specified.

After all the LVs are out, continue ..

# lvlnboot -v
==> Check to make sure the LVs for c0t5d0 no longer show up.
# vgreduce vg00 /dev/dsk/c0t5d0
==> vgreduce it
# lvlnboot -v
==> Check again.

Now you show be able to remirror you root disk to that spare disk (c0t6d0). I assume you have the steps to do that.
Attached is the procedure to manually duplicate a LVM boot disk. Change the parameter accordiingly.
Robert-Jan Goossens
Honored Contributor

Re: Boot disk - Replacement.

KCS_1
Respected Contributor

Re: Boot disk - Replacement.

 
Easy going at all.
Steven E. Protter
Exalted Contributor

Re: Boot disk - Replacement.

I'd take an Ignite make_tape_recovery backup of vg00 before I touched anything.

You then have the option of booting off the Ignite tape, intervening in the Ignite process and changing your disk layout in a screen that looks a lot like the OS cold install screen.

Easy, reliable, I've done it a few times.

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