HPE 9000 and HPE e3000 Servers
cancel
Showing results for 
Search instead for 
Did you mean: 

replacing mirror disk hard disk off-line procedure

 
KAT_5
Advisor

replacing mirror disk hard disk off-line procedure

I need to replace the root mirror disk (non hot plugable ) off line. Server has only two disk installed. I am having I/O error but not sure is it primary mirror or sec disk. I am loking for steps to find out the disk and replace it off line.
7 REPLIES 7
Khairy
Esteemed Contributor

Re: replacing mirror disk hard disk off-line procedure

can you describe a little bit more about your server. K class? N class? D class? rps?

WOuld also help if you could post :
# ioscan -funC disk
# vgdisplay -v vg00

Rgds
Patrick Wallek
Honored Contributor

Re: replacing mirror disk hard disk off-line procedure

What kind of I/O error? If you post the details we may be able to deduce the device that is giving you problems.
KAT_5
Advisor

Re: replacing mirror disk hard disk off-line procedure

Its A-class server.
Torsten.
Acclaimed Contributor

Re: replacing mirror disk hard disk off-line procedure

Hi,

since the A180 is the only a-class with non hotpluggable disks, you need to do this

- run "ioscan -fnCdisk"
to get your disk device files

- run "dd" against it
(e.g. "dd if=/dev/dsk/c0t5d0 of=/dev/null" - use your device files)

- if you get an IO error, take note of the scsi ID - in the example above it is 5)

- shutdown and open the box, take a look at the jumpers to find the right disk

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!   
KAT_5
Advisor

Re: replacing mirror disk hard disk off-line procedure

I have pin point the disk. What next steps to configure the mirror
Patrick Wallek
Honored Contributor

Re: replacing mirror disk hard disk off-line procedure

This document is a good reference for replacing disks.

When Good Disks Go Bad
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
Khairy
Esteemed Contributor

Re: replacing mirror disk hard disk off-line procedure

Well to answer your 1st question, which disk your system is booting on, type the following command:

# echo "boot_strings/S" | adb /dev/vmunix /dev/kmem

it will show you something like this..
boot_string:
boot_string: disk(0/0/1/1.15.0.0.0.0;0)/stand/vmunix

run lssf against c1t15d0 or c3t15d0 in your a class to verify which disk in the above said position. Replace it. Make sure your server can boot from alternate path and boot the secondary boot disk.

Once you login to the system, restore the appropriate vg information to the new replace disk.
# vgcfgrestore -n /dev/vg00 /dev/rdsk/c1t15d0

Activate vg00
# vgchange -a y vg00

Reinstate the boot device and LIF data
# mkboot -b /dev/rdsk/c1t15d0

Verify.
# lifls -l /dev/rdsk/c1t15d0
# mkboot -a "hpux -lq" /dev/rdsk/c1t15d0
# lvlnboot -vR /dev/vg00

Synchronized vg00. This make take a while...
# vgsync vg00

Once complete, check status by running lvdisplay to confirm there is no stale extents.

Rgds