Operating System - HP-UX
1747992 Members
5077 Online
108756 Solutions
New Discussion юеВ

Re: Mirroring root disk on Itanium with VxVM

 
SOLVED
Go to solution
GXW_1
Frequent Advisor

Mirroring root disk on Itanium with VxVM

Hi, I just installed 11i v3 out-of-the-box but with VxVM selected as the volume manager and selecting both my internal disks to be used.
It came up by default with no mirroring (as expected) so I used vxrootmir to mirror the other disk, but I got this error message:

# /etc/vx/bin/vxrootmir -v -b c0t1d0
VxVM vxrootmir INFO V-5-2-2501 10:06: Gathering information on the current VxVM root configuration
VxVM vxrootmir INFO V-5-2-2441 10:06: Checking specified disk(s) for usability
VxVM vxrootmir INFO V-5-2-2571 10:07: Priv region on rootdg01 (128) needs to start at 2144
VxVM vxrootmir INFO V-5-2-2477 10:07: Disk rootdg01 (c0t1d0) will be reinitialized
VxVM vxrootmir INFO V-5-2-2566 10:07: Preparing disk c0t1d0 as a VxVM root disk
VxVM vxdisk ERROR V-5-1-3421 Device c0t1d0s2 is already in use by LVM.
VxVM vxrootmir INFO V-5-2-3766 10:07: Disk c0t1d0 is now EFI partitioned disk c0t1d0s2
VxVM vxrootmir INFO V-5-2-2410 10:07: Adding disk c0t1d0s2 to rootdg as DM rootdisk02
VxVM vxdg ERROR V-5-1-6479 Device c0t1d0s2 is already in use by a foreign Volume Manager
VxVM vxrootmir ERROR V-5-2-2407 Adding c0t1d0s2 as DM rootdisk02 to rootdg
#

How on earth did LVM get a hold of anything when I installed with VxVM??

No LVM commands return anything other than the (to be expected) "cannot display physical volume", "volume group not found" etc.

How do I convince VxVM that it ISN'T an LVM disk? There doesn't appear to be a force option. Any ideas? I tried vxdisk init but even that gave me an error:

# vxdisk -f init c0t1d0s2
VxVM vxdisk ERROR V-5-1-3421 Device c0t1d0s2 is already in use by LVM.
2 REPLIES 2
J. Bravo
Respected Contributor
Solution

Re: Mirroring root disk on Itanium with VxVM

Hi:

Do you have tried to "pvcreate -f" on the LVM disk and then pvremove?

Regards;

J. Bravo.
GXW_1
Frequent Advisor

Re: Mirroring root disk on Itanium with VxVM

Awesome! Thanks, pvcreate/pvremove did the trick. Now mirrored up nicely.