Operating System - HP-UX
1834290 Members
3267 Online
110066 Solutions
New Discussion

Considerations when splitting a root mirror

 
SOLVED
Go to solution
Rodney Hills
Honored Contributor

Considerations when splitting a root mirror

I have an HPUX 10.20 system with vg00 (root) mirrored . I would like to free up the mirrored disk so I can boot up an 11.11 system on it.

Can I just do lvreduce -m 0?

What about the swap area and other boot info on the disk?

Anyone had any gotcha's I should look out for?

Thanks In Advance

-- Rod Hills
There be dragons...
6 REPLIES 6
John Palmer
Honored Contributor
Solution

Re: Considerations when splitting a root mirror

You should be able to lvreduce each volume then vgreduce the disk out of the VG.

Also check that the removed disk isn't in /stand/bootconf.

Regards,
John
Helen French
Honored Contributor

Re: Considerations when splitting a root mirror

Hi Rod:

There is no problem doing this. Check one of my old thread and see Clay's suggestion and my Update at the last. I was doing an OS upgrade, but reduced the root mirror before that:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xf1c5a2db8513d6118ff40090279cd0f9,00.html

HTH,
Shiju

Life is a promise, fulfill it!
S.K. Chan
Honored Contributor

Re: Considerations when splitting a root mirror

No problem, a straight forword process..(eg : reducing lvol1->3 on my secondary mirror disk c2t2d0)

# lvreduce -m 0 /dev/vg00/lvol2 /dev/dsk/c2t2d0
==> repeat for the rest
# lvlnboot -v
==> just checking
# vgreduce vg00 /dev/dsk/c2t2d0
# lvlnboot -v
==> check again
Patrick Wallek
Honored Contributor

Re: Considerations when splitting a root mirror

Yes, doing the lvreduce on all the logical volumes and then reducing the disk out of VG00 should suffice.

In addition to checking /stand/bootconf you might also want to do a 'lvlnboot -v' to make sure the mirror you just reduced out is not listed.
John Palmer
Honored Contributor

Re: Considerations when splitting a root mirror

One other thing, I once got caught by a 10.20 bug where if the primary mirror disk was removed, the boot information was corrupted. Check that all is well with lvlnboot -v before you reboot.

Regards,
John
Rodney Hills
Honored Contributor

Re: Considerations when splitting a root mirror

Thanks all for your input.

I'm a little paranoid about disk manipulation and glad to see that I was going in the right direction.

Thanks a mil again...

-- Rod Hills
There be dragons...