System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

what commands are used to identify the failed disk?

seenivasan
Frequent Advisor

what commands are used to identify the failed disk?

Dear Team,

what commands are used to identify the failed disk?

Regards,
P.Seenivsan
7 REPLIES
likid0
Honored Contributor

Re: what commands are used to identify the failed disk?

You have all the info you need in the doc I have attached

Windows?, no thanks
butti
Frequent Advisor

Re: what commands are used to identify the failed disk?

Hi,

what do you mean.

A failed disk with ioscan. First 'ioscan' and than 'ioscan -funC disk |grep -i NO_HW' .

could you define the problem.

best regards
butti
ani007
Super Advisor

Re: what commands are used to identify the failed disk?

you have assigned points to 0 of 7 responses!!!!!!! please assign points.
P Arumugavel
Respected Contributor

Re: what commands are used to identify the failed disk?

Hi Seenivasan,

#ioscan -funC disk
#diskinfo
#vgdisplay -v
#vgchange -a y vgname
#pvdisplay -v
#look at /var/adm/syslog/syslog.log to find any io errors with dev number and match this with the disk minor number under /dev/*dsk
#dd if=devicefile of=/dev/null bs=1024k
#stm
#dmesg


Rgds \ Vel
vishnu.khandare
Respected Contributor

Re: what commands are used to identify the failed disk?

Hi Seenivasan,

Please refer below link...
U asked the same question in patches also

https://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1453758

Hope this solves ur query.


Regards
Vishnu Khandare
You should deserve before U desire!!!!
Hakki Aydin Ucar
Honored Contributor

Re: what commands are used to identify the failed disk?

Addition to above (they are good examples),
You can also check this way;

echo 2400?20X | adb /dev/dsk/cxtyd0

Command output should be as follows (if there are no disk errors).

2400: 44454645 43543031 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0

Those counters indicate of BBDIR that BadBlockDirectory any Bad Sector occurs in any disk , these numbers will be registered into these counters;
So, any non zero numbers indicate bad blocks and that disk should be changed on the spot !
Ismail Azad
Esteemed Contributor

Re: what commands are used to identify the failed disk?

Sreenivasan,

Look for LBOLT errors in syslog files, this identifies a failed disk at the same time your LVM commands outputs will also show PV status as unavailable. Do assign points !!
Read, read and read... Then read again until you read "between the lines".....