* How to recover from a drive failure.
@ 2004-11-12 14:05 David Greaves
0 siblings, 0 replies; only message in thread
From: David Greaves @ 2004-11-12 14:05 UTC (permalink / raw)
To: IDE Linux
Hi
I have raid5 setup and a disk died a couple of weeks back.
The RMA return arrived this morning and, as luck would(n't) have it,
another raid disk died too.
The disks are Maxtor 250Gb SATA running through a Promise TX4.
It's a shame SMART doesn't work yet - but they are running cool (12cm
fan pointed at them) and well powered.
Anyways, now I have a dead raid device :(
Since I have a good disk I was going to:
* insert new drive as /dev/sdd1
* dd if=/dev/sda1 of=/dev/sdd1
* mdadm /dev/md0 --remove /dev/sda1
* physically swap /dev/sda and /dev/sdd so /dev/sdd
* mdadm /dev/md0 --add /dev/sda1
Is this the best approach?
Especially the dd?
I think I saw a 'better way' but can't find it despite some concerted
googling.
Any suggestions gratefully recv'd.
David
PS yes I'm buying a hot spare.
Yes I wish I'd done that before but you have to balance risk and I
didn't expect 2 new Maxtor drives to die within a few months of
purchase. 1million hours MTBF - yeah, right.
Equally why should a two sets of bad blocks screw up my raid array. <sigh>
No, I don't have a backup of 1Tb of data - I'm a home user.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-11-12 14:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-12 14:05 How to recover from a drive failure David Greaves
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).