Operating System - HP-UX
1833324 Members
3122 Online
110051 Solutions
New Discussion

Re: Mirror boot disk with a bigger disk.

 
echong
Regular Advisor

Mirror boot disk with a bigger disk.

I have a 4 GB boot disk. Is it possible to mirror it to a 9 GB disk? I know it will be complicate because the max pe was set too low for 9 GB. But someone told me that I can't mirror the boot disk to different size even I re-create the vg00 to fit the 9 GB disk. Is it true?

Thanks for any help.

Eric
5 REPLIES 5
Andreas Voss
Honored Contributor

Re: Mirror boot disk with a bigger disk.

Yes that's true because mirroring fs at logical volume level.
So you can mirror the extends from the 4GB disk to the extends of the 9GB disk.
Of course you have to recreate the vg to set the new max PE to add the 9GB disk into your vg.

Regards

Andrew
Brian M. Fisher
Honored Contributor

Re: Mirror boot disk with a bigger disk.

Mirroring the 4G disk to a 9G disk should NOT cause you any problems.

Brian
<*(((>< er
Perception IS Reality
Ruediger Noack
Valued Contributor

Re: Mirror boot disk with a bigger disk.

... and you can use the remaining 5GB for other lvols (unmirrored for non critical data) !

Ruediger
Jason Luginbuhl
Frequent Advisor

Re: Mirror boot disk with a bigger disk.

You can certainly use a larger disk for mirroring your root disk IF AND ONLY IF you do as you say "recreate the volume group". However, that sounds fairly easy but it really is not. Recreating your existing root basically requires and OS install. You can perform the cold install manually or use Ignite (make_recovery, etc.) to assist. But the bottom line still remains that this box will have to be reinstalled to recreate the root vg. I just wanted to make sure this was clear as the other comments seem to make this sound awfully straight-forward.

There are other methods for creating an alternate boot vg that could save the reinstall/ignite but these are also complicated and hairy.
"Unfortunately you can't out-program stupidity"
Dave Wherry
Esteemed Contributor

Re: Mirror boot disk with a bigger disk.

As you said you know your max pe is too low. That does not matter. You can use the 9GB drive in the existing volume group without rebuilding it. You can mirror from your smaller drive to the larger drive. It all works.
From your question I think you understand that you will not be able to use the rest (5GB) of that drive without rebuilding the volume group.
As you stated the question, yes it will work. You will be wasting over half of that 9GB drive.