Re: trying to "brute-force" my RAID 5...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday July 17, quackyo@xxxxxxxx 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.

NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux