Labels

hpunix (63) marathi kavita (52) linux (21) solaris11 (11) AWS (5) numerology (5)

Friday, September 12, 2014

How to Identify failed disks + HPUX

How to Identify/validate failed disks:

1. By using ioscan command:

check the s/w state of the disk. If it is having claimed status means the disk is functioning and responding to controller. If it is having s/w status No_HW or Unclaimed means the disk is suspicious.

#ioscan -fnCdisk |grep -v claimed

2. By using diskinfo command

check the disk information like vendor, product ID, SIZE etc... If the size of disk is 0 means the disk is malfunctioning

#diskinfo /dev/rdsk/c0t1d2

3. Final check by using dd command:

Try to read small portion of disk by using dd command. We will not get any I/O error if the disk is functioning properly.

# dd if=/dev/rdsk/c0t1d2 of=/dev/null bs=1024k count=64
64+0 records in
64+0 records out




Thanks...
Kiran Jadhav


**Let's Share our knowledge and keep visiting here**

No comments:

Post a Comment