Hello Folk's,
I have an hpux box which has vxvm root disk, I have a primary disk which is working fine, my secondary needs to be replaced, i have followed that steps which are required to do the root mirror, but looks like the its not in right way.
cphppts2 # vxvmboot -v /dev/rdsk/c2t0d0 <<=== secondary disk after mirrioring
LIF Label File @ (1k) block # 1476 on VxVM Disk /dev/rdsk/c2t0d0:
Label Entry: 0, Boot Volume start: 24745056; length: 512 MB
Label Entry: 1, Root Volume start: 26317920; length: 512 MB
Label Entry: 2, Swap Volume start: 3168; length: 4096 MB
Label Entry: 3, Dump Volume start: 3168; length: 4096 MB
cphppts2 # vxvmboot -v /dev/rdsk/c2t1d0 <<=== Primary disk LIF area
LIF Label File @ (1k) block # 1476 on VxVM Disk /dev/rdsk/c2t1d0:
Label Entry: 0, Boot Volume start: 3168; length: 512 MB
Label Entry: 1, Root Volume start: 4721760; length: 512 MB
Label Entry: 2, Swap Volume start: 527456; length: 4096 MB
Label Entry: 3, Dump Volume start: 527456; length: 4096 MB
cphppts2 # /etc/vx/bin/vxrootmir -v -b c2t0d0
VxVM vxrootmir INFO V-5-2-2501 00:06: Gathering information on the current VxVM root configuration
VxVM vxrootmir INFO V-5-2-2441 00:06: Checking specified disk(s) for usability
VxVM vxrootmir INFO V-5-2-2566 00:06: Preparing disk c2t0d0 as a VxVM root disk
VxVM vxrootmir INFO V-5-2-2410 00:06: Adding disk c2t0d0 to rootdg as DM rootdisk02
VxVM vxrootmir INFO V-5-2-1646 00:06: Mirroring all volumes on root disk
VxVM vxrootmir INFO V-5-2-1648 00:06: Mirroring volume swapvol
VxVM vxrootmir INFO V-5-2-1648 00:08: Mirroring volume usrvol
VxVM vxrootmir INFO V-5-2-1648 00:09: Mirroring volume varvol
VxVM vxrootmir INFO V-5-2-1648 00:13: Mirroring volume swvol
VxVM vxrootmir INFO V-5-2-1648 00:17: Mirroring volume lpvol
VxVM vxrootmir INFO V-5-2-1648 00:17: Mirroring volume abbvol
VxVM vxrootmir INFO V-5-2-1648 00:18: Mirroring volume homevol
VxVM vxrootmir INFO V-5-2-1648 00:19: Mirroring volume optvol
VxVM vxrootmir INFO V-5-2-1648 00:21: Mirroring volume standvol
VxVM vxrootmir INFO V-5-2-1648 00:21: Mirroring volume tmpvol
VxVM vxrootmir INFO V-5-2-1649 00:22: Mirroring volume rootvol
VxVM vxrootmir INFO V-5-2-2462 00:22: Current setboot values:
VxVM vxrootmir INFO V-5-2-2569 00:22: Primary: 0/1/1/0.1.0
VxVM vxrootmir INFO V-5-2-2416 00:22: Alternate: 0/1/1/0.0.0
VxVM vxrootmir INFO V-5-2-2551 00:22: Making mirror disk c2t0d0 (0/1/1/0.0.0) the alternate boot disk
VxVM vxrootmir INFO V-5-2-1616 00:22: Disk c2t0d0 is now a mirrored root disk
from the above logs, the issue is it should have boot/root/swap but the these volumes are not mirrored in-order,
the system is unable to boot from alternate disk as its not able to find /stand/vmunix.
Please let me know if there is way to resolve this?
Thanks & Regards,
Govinda.