Operating System - HP-UX
1753636 Members
5958 Online
108798 Solutions
New Discussion юеВ

Re: creation of boot partition with LVM

 
SOLVED
Go to solution
benseghir_1
Advisor

creation of boot partition with LVM

whow to create boot partition with LVM
3 REPLIES 3
Kent Ostby
Honored Contributor

Re: creation of boot partition with LVM

One of the key elements here is that the "pvcreate" must be done with the -B option.

If its not then you don't have space allocated for your boot elements.



"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Ranjith_5
Honored Contributor
Solution

Re: creation of boot partition with LVM

Hi,

Following may be helpful to you.

#pvcreate -B PV_NAME
#mkboot PV_NAME


regards,
Syam

A. Clay Stephenson
Acclaimed Contributor

Re: creation of boot partition with LVM

Your first task is a pvcreate -B /dev/rdsk/xxxxxxx --- the -B cxreates the reserved areas for boot. You then issue a mkboot /dev/rdsk/xxxxxx command on this same disk and then a
mkboot -a "hpux (;0)/stand/vmunix" /dev/rdsk/xxxxx

You have to create a VG and then add the LVOLS. lvol1 must be /stand, lvol2 must be primary swap and lvol3 must be / and all of these must be contiguously allocated LVOL's.

If it ain't broke, I can fix that.