1753844 Members
7254 Online
108806 Solutions
New Discussion юеВ

hpux

 
SOLVED
Go to solution
taouw
Frequent Advisor

hpux

Can anyone tell me the steps to change a mirrored bad disk in hp ux??
10 REPLIES 10
OldSchool
Honored Contributor

Re: hpux

refer to the following doc "When Good Disks Go Bad"

http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf
Vishu
Trusted Contributor
Solution

Re: hpux

Hi taouw,

well, if you have OLR installed and disk is hot-swappable then, follow the below process.

1) pvchange -a n /dev/dsk/cXtYdZ

Now replace the bad disk

2) pvchange -a y /dev/dsk/cXtYdZ
3) vgcfgrestore -n /dev/vgXX /dev/rdsk/cXtYdZ
4) vgchange -a y /dev/vgXX
5) vgsync vgXX

Vishu
Trusted Contributor

Re: hpux

Hi again,

The PDF given above my OLDSCHOOL is very good to go through for bad disk replacement. Go through it and you will get your queries answered.

@OLDSCHOOL,
Thanks i was also searching for the same link.
taouw
Frequent Advisor

Re: hpux

there is no vgcfgbackup????
OldSchool
Honored Contributor

Re: hpux

I finally found it by going to google and using the following search:

when_good_disks_go_bad site: docs.hp.com

looked for about 10 minutes with the search tools at the docs site, generated too much fluff to weed through
OldSchool
Honored Contributor

Re: hpux

"is there no vgcfgbackup?"

yes, there is. follow the applicable decision tree in the doc I linked.
Suraj K Sankari
Honored Contributor

Re: hpux

Hi,
>>Can anyone tell me the steps to change a mirrored bad disk in hp ux??

1st you need to check is it root disk or other disk then according to the disk you need to proceed for disk change. best option is see the doc "When_Good_Disks_Go_Bad_WP.pdf"

Suraj
Vishu
Trusted Contributor

Re: hpux

>> no vgcfgbackup <<

there should be. check /etc/lvmconf directory to see if there is any configuration file exists for that VG.
Torsten.
Acclaimed Contributor

Re: hpux

Be aware - steps are different if you have SAS disk!
What server model do you have?

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!