linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* trying to "brute-force" my RAID 5...
@ 2006-07-16 22:02 Sevrin Robstad
  2006-07-17 11:13 ` Molle Bestefich
  2006-07-18  1:39 ` Neil Brown
  0 siblings, 2 replies; 10+ messages in thread
From: Sevrin Robstad @ 2006-07-16 22:02 UTC (permalink / raw)
  To: linux-raid

I have written some posts about this before... My 6 disk RAID 5 broke 
down because of hardware failure. When I tried to get it up'n'running again
I did a --create without any missing disk, which made it rebuild. I have 
also lost all information about how the old RAID was set up..

I got a friend of mine to make a list of all the 6^6 combinations of dev 
1 2 3 4 5 missing, and set it up this way :

"mdadm --create -n 6 -l 5  dev1 2 3 4 5 missing ; fdisk -l /dev/md0 ; 
mdadm --stop /dev/md0" .
But a "cat logfile | grep Linux" of the output of this script tells me 
that on no of these combination does it find a valid "type 83" partition.

shouldn't this work ???

Sevrin

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: trying to "brute-force" my RAID 5...
@ 2006-07-18 21:14 Sevrin Robstad
  2006-07-23 12:28 ` Tuomas Leikola
  0 siblings, 1 reply; 10+ messages in thread
From: Sevrin Robstad @ 2006-07-18 21:14 UTC (permalink / raw)
  To: linux-raid

Neil Brown wrote:
 >
 >>I have written some posts about this before... My 6 disk RAID 5 broke
 >>down because of hardware failure. When I tried to get it up'n'running 
again
 >>I did a --create without any missing disk, which made it rebuild. I have
 >>also lost all information about how the old RAID was set up..
 >>
 >>I got a friend of mine to make a list of all the 6^6 combinations of dev
 >>1 2 3 4 5 missing, and set it up this way :
 >>
 >>"mdadm --create -n 6 -l 5  dev1 2 3 4 5 missing ; fdisk -l /dev/md0 ;
 >>mdadm --stop /dev/md0" .
 >>But a "cat logfile | grep Linux" of the output of this script tells me
 >>that on no of these combination does it find a valid "type 83" partition.
 >>
 >>shouldn't this work ???
 >
 > No.
 >
 > What are you expecting fdisk to tell you?  fdisk lists partitions and
 > I suspect you didn't have any partitions on /dev/md0
 > More likely you want something like
 >    fsck -n -f /dev/md0
 >
 > and see which one produces the least noise.

They all produce

"Bad magic number in super-block while trying to open /dev/md0" .

I tried file -s /dev/md0 also, and with one of the disk as first disk I 
got "ext 3 filedata (needs journal recovery) (errors)" .

but as fsck -n -f can't do anything with it, there might not be any hope ?


Or can it still be that I have some wrong setting?

Chunk size is (and was) default 64k, yes?

Sevrin

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

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

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-16 22:02 trying to "brute-force" my RAID 5 Sevrin Robstad
2006-07-17 11:13 ` Molle Bestefich
     [not found]   ` <44BBFF5A.7010702@start.no>
2006-07-17 21:23     ` Sevrin Robstad
2006-07-18 14:04       ` Molle Bestefich
2006-07-18  1:39 ` Neil Brown
2006-07-18  8:17   ` Francois Barre
2006-07-18  8:30     ` Brad Campbell
2006-07-18  8:56       ` Francois Barre
  -- strict thread matches above, loose matches on Subject: below --
2006-07-18 21:14 Sevrin Robstad
2006-07-23 12:28 ` Tuomas Leikola

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