linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Replacing failed disk in RAID1
@ 2003-08-17 22:26 Dave Wreski
  0 siblings, 0 replies; only message in thread
From: Dave Wreski @ 2003-08-17 22:26 UTC (permalink / raw)
  To: linux-raid

Hi all,

I spent the last five or six hours working with a failed RAID1 array, 
and was able to get it up and running quite quickly after finding mdadm.

The part I don't understand is why raidhotadd didn't work as I expected. 
/dev/hda1 failed, so I replaced /dev/hda and rebooted. This marked hda 
in md0 and md1 as faulty.

After partitioning the new disk exactly as the old, and marking them as 
raid-autostart, raidhotadd reported:

md: invalid raid superblock magic on ide/host0/bus0/target0/lun0/part1
md: ide/host0/bus0/target0/lun0/part1 has invalid sb, not importing!
md: could not import ide/host0/bus0/target0/lun0/part1!
md: autostart ide/host0/bus0/target0/lun0/part1 failed!

Luckily I was able to use mdadm to find a list of available arrays and 
assemble them. I also tried raidsetfaulty, to no avail.

Also, my lilo.conf stated /dev/md0 (root partition) as its boot 
parameter, but after replacing hda, it would not boot. I had partitioned 
it the same as the defective disk. Changing the first boot disk to hdb 
resulting in "LI". Shouldn't both of these have worked?

What did I do wrong?

Thanks,
Dave

-- 
Dave Wreski                                 Guardian Digital, Inc.
(201) 934-9230                Pioneering.  Open Source.  Security.
dave@guardiandigital.com            http://www.guardiandigital.com


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-08-17 22:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-17 22:26 Replacing failed disk in RAID1 Dave Wreski

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).