LVM and VxVM

How to replace a hot-swap mirrored boot disk - HPUX 11.00

 
SOLVED
Go to solution
Gino Castoldi_2
Honored Contributor

How to replace a hot-swap mirrored boot disk - HPUX 11.00

Hi,

Server: HPUX 11.00 Mirror/UX MC/SG
L2000/rp5450 hot-swap mirrored boot disks

The primary system boot disk has r/w errors so we are going to replace it.
What steps should I take to do this?

10 points to any good answer.
Thank you.
Gino

4 REPLIES 4
Victor Fridyev
Honored Contributor
Solution

Re: How to replace a hot-swap mirrored boot disk - HPUX 11.00

Hi

You have two possible ways:

1. To get the disk off, replace it with a good one and run vgsync. I personally don't like it, I don't know why, may because it did not work once.

2. To run lvreduce for all logical volumes of vg00 and vgreduce after that in order to exclude the bad disk from the vg. After that to replace the bad disk and to build mirroring. You can use the attached script.


HTH
Entities are not to be multiplied beyond necessity - RTFM
Pete Randall
Outstanding Contributor

Re: How to replace a hot-swap mirrored boot disk - HPUX 11.00

Gino,

Here's an extremely handy document:

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


Pete

Pete
Robert-Jan Goossens
Honored Contributor

Re: How to replace a hot-swap mirrored boot disk - HPUX 11.00

Gino,

There is a complete cookbook on the web.

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

page 20 in your case.

Best regards,
Robert-Jan
Torsten.
Acclaimed Contributor

Re: How to replace a hot-swap mirrored boot disk - HPUX 11.00

It is strongly recommended to use the "pvchange -a n /dev/..." command, like mentioned in the document above.

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!