Operating System - HP-UX
1748079 Members
5279 Online
108758 Solutions
New Discussion юеВ

replacing a failing primary mirrored boot disk

 
BR86528
Occasional Advisor

Re: replacing a failing primary mirrored boot disk

Hi:

Btw, here is the actual commands issues during disk replacement (n-class):

#pvchange -a n /dev/dsk/c0t6d0
Replace the disk.
#ioscan -fnC disk
#vgcfgrestore -n /dev/vg00 /dev/rdsk/c0t6d0
#pvchange -a y /dev/dsk/c0t6d0
#vgchange -a y /dev/vg00
#mkboot -l /dev/rdsk/c0t6d0
#lifls -l /dev/rdsk/c0t6d0
#mkboot -a "hpux -lq" /dev/rdsk/c0t6d0
#lifcp /dev/rdsk/c0t6d0:AUTO -
#vgsync /dev/vg00

#lvlnboot -r /dev/vg00/lvol3
#lvlnboot -b /dev/vg00/lvol1
#lvlnboot -s /dev/vg00/lvol2
#lvlnboot -d /dev/vg00/lvol2
#lvlnboot -v
#lvlnboot -R

Shutdown -ry -> to check if it will boot.

The procedures is a success.
Sandeep_Chaudhary
Trusted Contributor

Re: replacing a failing primary mirrored boot disk

looks OK. one correction
if u have multiple paths pointing to ur disk better to use "pvchange -a N /dev/dsk/c0t6d0"

N Detach the given path and all other
paths to the physical volume. LVM
closes all the paths to the PV and
no longer directs any I/O
operations to the PV.
SUDHAKAR_18
Trusted Contributor

Re: replacing a failing primary mirrored boot disk

Hello,

At last your problem is solved!

But you need to mention the model no of server(PARISC/IA) and OS version.(mirror differs in PA and IA)
which will be helpfull instead of asking questions again.

All the best,
Regards,