Operating System - HP-UX
1829624 Members
1942 Online
109992 Solutions
New Discussion

VxVM Mirror Disk Replacement

 
SOLVED
Go to solution
MikeL_4
Super Advisor

VxVM Mirror Disk Replacement

We had a failure of the rootdisk01 which was replaced this morning.
I followed the replacement documentation in the troubleshooting guide but when I get to running vxbootsetup it is failing with:

[/root]:=>vxvmboot -v /dev/rdsk/c2t1d0
vxvmboot: Disk /dev/rdsk/c2t1d0 does not contain a valid LIF volume.
[/root]:=>/opt/VRTS/bin/vxbootsetup rootdisk01
vxbootsetup: ERROR: Disk rootdisk01 (c2t1d0) priv offset = 128, S/B 2144

How do I get this back to being a bootable disk, other than this everything looks good with the recovery.

4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: VxVM Mirror Disk Replacement

In the lvm world these commands 32 bit on the top 64 bit OS second copy the LIf volume from disk to disk.

# mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?

If you are running 64-bit OS:

# mkboot -b /usr/sbin/diag/lif/updatediaglif2 -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?

The commands do not appear to be LVM specific and may work for you.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Steven E. Protter
Exalted Contributor

Re: VxVM Mirror Disk Replacement

Errr oops!

From the CSE guide vxvm chapter.

lifcp /dev/rdsk/c3t8d0:AUTO -
mkboot -a "hpux /stand/vmuix" /dev/rdsk/c3t8d0
lifcp /dev/rdsk/c3t8d0:AUTO -

should yeild result.

hpux /stand/vmunux

Well its the mkboot command anyway.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sanjay_6
Honored Contributor
Solution

Re: VxVM Mirror Disk Replacement

Hi Mike,

Maybe this link from itrc would help,

http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000068881735

The itrc doc id is KBAN00000984.

Hope this helps.

Regds
MikeL_4
Super Advisor

Re: VxVM Mirror Disk Replacement

Thanks, I missed the step:
# /etc/vx/bin/vxdisksetup -iB c0t0d0 privlen=1024