1825775 Members
2160 Online
109687 Solutions
New Discussion

replace disk

 
SOLVED
Go to solution
A.G.M. Velthof
Valued Contributor

replace disk

Hello,

On one of our systems it appears 2 disks are defect. It is a rx 2620 server with 11.23 HPUX
First disk is the mirror of boot disk and the second one is a non boot disk and one of a group of 4 disks in a volume group. mirrored and pvgroup.

Both disks are not seen anymore in an ioscan.

Where can I find the exact steps to replace the disks and make sure no data is lost?

Thanks, Alfons
13 REPLIES 13
Ivan Krastev
Honored Contributor

Re: replace disk

James R. Ferguson
Acclaimed Contributor

Re: replace disk

Hi:

It seems unlikely that *two* disks have actually failed. Check your cabling and your disk controllers in 'ioscan'.

Regards!

...JRF...
A.G.M. Velthof
Valued Contributor

Re: replace disk

Hello,

It is a system in another country where the administrator is on vacation.
This morning the machine acted real strange, so I took a look at it.
The non root disk crashed this morning (Oracle Instance running on it)
Looking at the output of ioscan I only did see one root disk. In the syslog I could see that the problem with the root disk started on 17 june.
The disks do have different controlers.

Thanks, Alfons
Deepak Kr
Respected Contributor

Re: replace disk

You can replace boot mirror disk using the doc already mentioned above.

Can you provide following info here. We can help you to make out steps for you then.

#vgdisplay vg00
#vgdisplay -v vg00
#ioscan -fnC disk


#ll -rt /dev/*/group

and vgdisplay -v for another VG.

"There is always some scope for improvement"
Deepak Kr
Respected Contributor

Re: replace disk

Also log a case with local hp support centre for replacing disks.

So that you can minimize the risk of running system on single disk.

Do you have ignite backup on tape using make_tape_recovery?
"There is always some scope for improvement"
Deepak Kr
Respected Contributor
Solution

Re: replace disk

FYI. I have attached a series of steps for guidline.

You can try making as per the details you have.
"There is always some scope for improvement"
SKR_1
Trusted Contributor

Re: replace disk

You need to contact for HP support, it may be some other issue. Two disks cant be defective at sametime.

Thanks

SKR
Patrick Wallek
Honored Contributor

Re: replace disk

>>You need to contact for HP support, it may
>>be some other issue.

Agreed. If you have a support contract you should definitely log a call so HP can analyze and get you the parts, disks or whatever, that you need.

>>Two disks cant be defective at sametime.

That is absolutely NOT true. While the chances are low for 2 to be defective at the same time it is absolutely possible.

If you read one of the responses you will notice that it was said that one shows defective as of June 17. So if the other one failed recently that is essentially a span of 2.5 months between failures, which changes the odds considerably.
A.G.M. Velthof
Valued Contributor

Re: replace disk

Here is the output You asked for. I've put them together in a tar.

Regards, Alfons
Torsten.
Acclaimed Contributor

Re: replace disk

Both disks are not visible in ioscan, because of the last reboot.

/dev/dsk/c2t1d0s2

/dev/dsk/c4t2d0

Both are likely dead and need replacement.

Both VGs are likely mirrored, so you need to replace the disks and sync the mirror.

See the well known document for the steps:

http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.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!   
A.G.M. Velthof
Valued Contributor

Re: replace disk

Hello,

I succeeded to replace the mirrored boot disk and make it all working again thanks to everybody.
The other disk however is part of a volumegroup of 4 disks. Mirrored and striped over 2 disks.

Is it something like:
ioscan
insf -C disk
vgcfgrestore -n /dev/vgora /dev/rdsk/c4t2d0
vgchange -a y /dev/vgora

or am I forgetting something.

Thanks, Alfons
Torsten.
Acclaimed Contributor

Re: replace disk

Yes, you forgot "pvchange -a ..." if your system supports this, see again

http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.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!   
A.G.M. Velthof
Valued Contributor

Re: replace disk

Everything works fine again.

Thanks to all

Alfons