Operating System - HP-UX
1834149 Members
3908 Online
110064 Solutions
New Discussion

how to change failed disk in vg02 if its PVG-strict/distributed

 
SatyaNaryana
Occasional Advisor

how to change failed disk in vg02 if its PVG-strict/distributed

how to change failed disk in vg02 if its PVG-strict/distributed
the disk /dev/dsk/c10t3d0 is hot swappale and LV's are mirrored on the disk /dev/dsk/c10t3d0
The disk /dev/dsk/c10t3d0 is primary mirror copy for few lv's in vg02 and it's secondary mirror copy for few lv's in vg02.
It's hp-ux 11.11
1 REPLY 1
Roopesh Francis_1
Trusted Contributor

Re: how to change failed disk in vg02 if its PVG-strict/distributed

1.Halt LVM access to the disk.
#pvchange -a N /dev/dsk/c10t3d0
2.Replace the disk.
For the hardware details on how to replace the disk, see the hardware administrator's guide for the system or disk array.
If the disk is hot-swappable, replace it.
3.check the disk using ioscan
#ioscan â fC disk
4.Restore LVM configuration information to the new disk.
# vgcfgrestore -n /dev/vg02 /dev/dsk/c10t3d0
5. Restore LVM access to the disk.
# pvchange â a y /dev/dsk/c10t3d0
6.Reattach the disk by reactivating the volume group as follows:
# vgchange -a y /dev/vg02