linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* raid5:bad sectors after lost power
@ 2012-09-13  8:43 vincent
  2012-09-13  8:57 ` Mathias Buren
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: vincent @ 2012-09-13  8:43 UTC (permalink / raw)
  To: linux-raid

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=gb2312, Size: 1280 bytes --]

Hi everyone:
    I have a problem about raid5.
    I created a raid5 with the command ¡°mdadm ¨CCv --chuck=128 /dev/md0 ¨C
l5 ¨Cn4 sd[abcd]¡± for write performance test, the capacity of each disk is
2TB. After the array was created, I modified the strip_catch_size of it to
2048. 
    Then I used a program to parallel write 150 files to the array, the
speed of each is 1MB/s. Unfortunately, the electricity went off suddenly at
the time. when I turn on the device again, I found the raid5 is in recovery.
When     the progress of the recovery went up to 98%, there was a write
error occurred. I used ¡°smartctl ¨CA /dev/sd*¡± to check the heath status
of these disks. I found the ¡°RAW_VALUE¡± of the attribute whose name was
¡°Current_Pending_Sector¡± of sda and sdb were 1.
¡¡¡¡Then I used ¡°HDD_Regenerator¡± to check if there were bad blocks in the
disks. The result of the output indicated that sda and sdb did have a bad
sector. 
    These disks were used for the first time after purchased. Is it normal
to have bad sectors? Could you please help me? 


--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-09-13 20:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-13  8:43 raid5:bad sectors after lost power vincent
2012-09-13  8:57 ` Mathias Buren
2012-09-13 10:48 ` Mikael Abrahamsson
2012-09-13 20:00 ` Peter Grandi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).