Thread (8 messages) 8 messages, 5 authors, 2006-09-21

Re: RAID5 Problem - $1000 reward for help

From: Tuomas Leikola <hidden>
Date: 2006-09-17 07:37:03

On 9/15/06, Reza Naima [off-list ref] wrote:
I've picked up two 500G disks, and am in the process of dd'ing the
contents of the raid partitions over.  The 2nd failed disk came up just
fine, and has been coping the data over without fault.  I expect it to
finish, but thought I would send this email now.  I will include some
data that I captured before the system failed.
Note that if there are bad blocks, dd might not be reliable,
"ddrescue" will do a better job of filling the gaps with zeroes
(silent data corruption may result).

The theory with your problem is to recreate the raid in degraded mode
(the replaced drive as missing), something like

mdadm --create /dev/md0 --chunk=256 --layout=left-symmetric
--raid-devices=4 /dev/hda3 missing /dev/hdf1 /dev/hdg1

after which see if the filesystem mounts and is ok, if so, add the
remaining drive back to the array.

It's recommended to use a script to scrub the raid device regularly,
to detect sleeping bad blocks early.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help