Operating System - HP-UX
1753477 Members
5620 Online
108794 Solutions
New Discussion юеВ

Re: Root vg mirror disk Replacement steps

 
Ashok S T
Advisor

Root vg mirror disk Replacement steps

rp8420 server in 11.11 environment,one of the root vg mirror disk has gone bad.I got new disk of 146 gb.kindly let me know the steps to replace the faulty disk.

Thanks in Advance,

Ashok.s.t
4 REPLIES 4
Torsten.
Acclaimed Contributor

Re: Root vg mirror disk Replacement steps

Here are all the steps:

http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Johnson Punniyalingam
Honored Contributor

Re: Root vg mirror disk Replacement steps

Steps to replace faulty root disk mirror
===================================

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
EXAMPLE 1:
***********
1) Remove lvol mirrors:
# lvreduce -m 0 /dev/vg00/lvol2 /dev/dsk/c2t6d0
# lvreduce -m 0 /dev/vg00/lvol1 /dev/dsk/c2t6d0
2) Remove faulty drive from vg00:
# vgreduce /dev/vg00 /dev/dsk/c2t6d0
replacement of hot-swappable drive c2t6d0 at H/W path 0/0/2/1.6.0:
SCSI describe of /dev/rdsk/c2t6d0:
vendor: HP 36.4G
product id: ST336706LC
type: direct access
size: 35566480 Kbytes
bytes per sector: 512
4) When drive is replaced, add back into vg00 and make bootable:
# ioscan -fnC disk
# pvcreate -B /dev/rdsk/c2t6d0
# vgextend /dev/vg00 /dev/dsk/c2t6d0
# mkboot -l /dev/rdsk/c2t6d0
5) Re-mirror logical volumes, must be done in lvol order:
# lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t6d0
# lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c2t6d0
# lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c2t6d0
And repeat for remaining logical volumes lvol4 through lvol13.
Problems are common to all, but attitude makes the difference
Ashok S T
Advisor

Re: Root vg mirror disk Replacement steps

Thanks guys for your valuable Replies.

Johnson Punniyalingam
Honored Contributor

Re: Root vg mirror disk Replacement steps

Hi Ashok,

can please assign points close the thread if you Question resloved..hehe..lol

Thanks,
Best Regards,
Johnson
Problems are common to all, but attitude makes the difference