LVM and VxVM

What is the procedure to identify a failed hard disk and for replacing the same in LVM.

 
SOLVED
Go to solution
kunjuttan
Super Advisor

What is the procedure to identify a failed hard disk and for replacing the same in LVM.

Hi all,
What is the procedure to identify a failed hard disk and for replacing the same in LVM?Hoping step by step procedure.
13 REPLIES 13
Torsten.
Acclaimed Contributor
Solution

Re: What is the procedure to identify a failed hard disk and for replacing the same in LVM.

This helps:

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!   
cnb
Honored Contributor

Re: What is the procedure to identify a failed hard disk and for replacing the same in LVM.

cnb
Honored Contributor

Re: What is the procedure to identify a failed hard disk and for replacing the same in LVM.

LOL. Beat me to it!
Johnson Punniyalingam
Honored Contributor

Re: What is the procedure to identify a failed hard disk and for replacing the same in LVM.

>>What is the procedure to identify a failed hard disk and for replacing the same in LVM?Hoping step by step procedure.<<<<<

ioscan -fnC disk|grep NO -> look for not claimes Hard disk

1. vgreduce the failed disk

replace the faulty disk

2. pvcreate

3. vgextend /dev/vgxx

mirror back all the logica volumes

4.lvextend -1 /dev/vgxx/lvolxx /dev/dsk/cxtxdx



Most recommended follow official document

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

Problems are common to all, but attitude makes the difference
kunjuttan
Super Advisor

Re: What is the procedure to identify a failed hard disk and for replacing the same in LVM.

Thanks to all.I would like to ask Mr.Johson that if the ioscan output shows an unclaimed ststus for a particular disk,can we able to confirm that the particular disk is having problem?
kunjuttan
Super Advisor

Re: What is the procedure to identify a failed hard disk and for replacing the same in LVM.

Thanks to all.I would like to ask Mr.Johson that if the ioscan output shows an unclaimed ststus for a particular disk,can we able to confirm that the particular disk is having problem?
And one more thing-the ioscan command will only give the H?W path of the disk.How can we able to identify the devicefile attatched to it?
Torsten.
Acclaimed Contributor

Re: What is the procedure to identify a failed hard disk and for replacing the same in LVM.

We need to see

# model
# ioscan -fn

first.

Follow the steps in the document!

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!   
Matti_Kurkela
Honored Contributor

Re: What is the procedure to identify a failed hard disk and for replacing the same in LVM.

In general, NO_HW in ioscan means that the system can no longer get any response at all from that device: the system thinks the device is not there any more.

If the device is in fact still connected and properly powered on, and its configuration has not been changed, that usually means the device has experienced a total failure, i.e. "died".

Sometimes a NO_HW indication is because of an intentional configuration change: for example, when you unpresent LUNs from a SAN, HP-UX will show the unpresented LUNs in NO_HW state. You can use the "rmsf" command to clean up such intentionally removed devices: in effect, you're telling the system that the device isn't expected to return to a working state.

MK
MK
kunjuttan
Super Advisor

Re: What is the procedure to identify a failed hard disk and for replacing the same in LVM.

Thanks.
And one more thing-the ioscan command will only give the H?W path of the disk.How can we able to identify the devicefile attatched to it?