linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* hardware raid 5 and software raid 0 stripe broke.
@ 2006-05-12  2:02 Ken
  2006-05-12  2:28 ` Neil Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Ken @ 2006-05-12  2:02 UTC (permalink / raw)
  To: linux-raid

We have a Linux box running redhat 7.2   We have two hardware 
controllers in it with about 500gig's each.   They're raid 5.   We were 
using a software raid to combine them all together.   1 hard drive went 
down so we replaced it and now the system won't boot.   We have used a 
Knoppix boot cd to get into a linux system.   We can see /dev/sda1 and 
/dev/sdb1.   However, /dev/md0 cannot be accessed.   Is there a safe way 
to create the software raid from the cd to see if maybe mdadm on the 
original system got corrupt?   any help would be greatly appreciated.

Sincerly,
Ken

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

* Re: hardware raid 5 and software raid 0 stripe broke.
  2006-05-12  2:02 hardware raid 5 and software raid 0 stripe broke Ken
@ 2006-05-12  2:28 ` Neil Brown
  2006-05-12 13:07   ` Ken
  0 siblings, 1 reply; 3+ messages in thread
From: Neil Brown @ 2006-05-12  2:28 UTC (permalink / raw)
  To: Ken; +Cc: linux-raid

On Thursday May 11, Ken@4dcsi.com wrote:
> We have a Linux box running redhat 7.2   We have two hardware 
> controllers in it with about 500gig's each.   They're raid 5.   We were 
> using a software raid to combine them all together.   1 hard drive went 
> down so we replaced it and now the system won't boot.   We have used a 
> Knoppix boot cd to get into a linux system.   We can see /dev/sda1 and 
> /dev/sdb1.   However, /dev/md0 cannot be accessed.   Is there a safe way 
> to create the software raid from the cd to see if maybe mdadm on the 
> original system got corrupt?   any help would be greatly appreciated.

What booted off knoppix, what does

 mdadm -E /dev/sda1
 mdadm -E /dev/sdb1

produce?

How about
  mdadm -A /dev/md0 /dev/sda1 /dev/sdb1

NeilBrown

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

* Re: hardware raid 5 and software raid 0 stripe broke.
  2006-05-12  2:28 ` Neil Brown
@ 2006-05-12 13:07   ` Ken
  0 siblings, 0 replies; 3+ messages in thread
From: Ken @ 2006-05-12 13:07 UTC (permalink / raw)
  To: Neil Brown; +Cc: linux-raid

Neil Brown wrote:
> On Thursday May 11, Ken@4dcsi.com wrote:
>   
>> We have a Linux box running redhat 7.2   We have two hardware 
>> controllers in it with about 500gig's each.   They're raid 5.   We were 
>> using a software raid to combine them all together.   1 hard drive went 
>> down so we replaced it and now the system won't boot.   We have used a 
>> Knoppix boot cd to get into a linux system.   We can see /dev/sda1 and 
>> /dev/sdb1.   However, /dev/md0 cannot be accessed.   Is there a safe way 
>> to create the software raid from the cd to see if maybe mdadm on the 
>> original system got corrupt?   any help would be greatly appreciated.
>>     
>
> What booted off knoppix, what does
>
>  mdadm -E /dev/sda1
>  mdadm -E /dev/sdb1
>
> produce?
>
> How about
>   mdadm -A /dev/md0 /dev/sda1 /dev/sdb1
>
> NeilBrown
>
>   
Thank you for your response Neil.   We got it up and running again.   I 
don't remember what we did though.   We've been going on no sleep all 
week trying to setup a new server and right before the old one crashed 
we were all ready to go home and take a little rest.

Thanks again.

--Ken

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

end of thread, other threads:[~2006-05-12 13:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-12  2:02 hardware raid 5 and software raid 0 stripe broke Ken
2006-05-12  2:28 ` Neil Brown
2006-05-12 13:07   ` Ken

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