Skip to contentSkip to conversation

Question: how to identify failing disk in a RAID1

DISCUSSION David Lethe 1 participant 1 message Apr 18, 2008 MD RAID

lore
Share & tools
lore
#0 lore raw

The sympoms are indicative of a standard bad block reallocation. Depending on make, model, firmare rev and even location of the new defect it could take several seconds for the disk to grab a spare from the reserved are and fix the defect. No reason for concern ... The system worked like it was desigmed to .

-----Original Message-----

From:  "Bill Davidsen" <[email protected]>
Subj:  Re: Question: how to identify failing disk in a RAID1
Date:  Fri Apr 18, 2008 8:15 am
Size:  2K
To:  "Maurice Hilarius" <[email protected]>
cc "vger majordomo for lists" <[email protected]>
Quoted 43 lines · Maurice Hilarius
Quoted 10 lines · Bill Davidsen
Quoted 7 lines · Maurice Hilarius

Morning Bill.

BTW< I want to say "Thanks for your help with this" first. Just in case I forgot.

So, I ran "check" once. It complained, and failed.

Does the failure provide any useful information?

No.
Here is what I got the first time:

root@localhost md]# echo check >sync_action; cat mismatch_cnt -bash: echo: write error: Device or resource busy
0

Later, on my second try, a few hours later, it worked, reporting no error. ..
[maurice@localhost ~]$ su -
Password:
[root@localhost ~]# cd /sys/block/md0/md
[root@localhost md]# cat /proc/mdstat
Personalities : [raid1] [raid6] [raid5] [raid4]
md0 : active raid1 sda3[0] sdb2[1]

      386403328 blocks [2/2] [UU] 

unused devices: <none>
[root@localhost md]# echo check >sync_action; cat mismatch_cnt 0

Quoted 4 lines

I think it's time to be keeping a good backup, and hopefully someone else has a good thought on running this down more.

Thanks, updated that backup at the first sign of trouble

Quoted 6 lines
Quoted 1 line

Any thoughts on that?

The only thought I have at the moment is marginal power supply, and that's just because it can generate all manner of odd behaviors, rather than any other hints. Sorry.

Quoted 8 lines

Yeah. I am going to replace *both* disks, and then run the manufacturers utility (Seatest) on them.

Quoted 3 lines

If you aren't getting errors from SMART or logs, and I don't remember you sending me that info, I'm not sure how you determine which drive is the problem.

Exactly.

Thanks a LOT for trying, Bill..

Actually, my though is that you may not actually be getting hardware errors, which is why they are not being report by either the kernel or SMART. That's why I thought of memory and/or power issues, either of which could cause what you are seeing.

Guess I have to leave it there, maybe someone else will have a thought.

Signature · 9 lines
Bill Davidsen <[email protected]> 
  "Woe unto the statesman who makes war without a reason that will still 
  be valid when the war is over..." Otto von Bismark  
 
 
-- 
To unsubscribe from this list: send the line "unsubscribe linux-raid" in 
the body of a message to [email protected] 
More majordomo info at  http://vger.kernel.org/majordomo-info.html