Re: mdsadm -A won't assemble my array

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

 



After doing a lot more reading... I think I'm getting down to running
something like this.  assemble force isn't doing much.

mdadm --create --assume-clean --level=5 --verbose --chunk 512K
--raid-devices=4 /dev/md3 /dev/sdb /dev/sdk /dev/sdo /dev/sdp

But as per the big warning... says to check with you guys first, also
need help writing the command (since it seems to be a one shot type
thing)

Here's the key information I think I need from the examine:

Raid level: 5
Chunk Size: 512K
Used Dev Size: 7813774336
/dev/sdb: AA..   (state: clean - active device 0)
/dev/sdk: AAAA   (state: active - active device 1)
/dev/sdo: A.AA   (state: clean  - active device 2)
/dev/sdp: A.AA   (state: clean - active device 3)

thanks

On Mon, Feb 9, 2015 at 3:21 PM, G. Michael Carter <mikey@xxxxxxxxxxxxxxx> wrote:
> Some time last night my machine had a kernel panic.  Two of the arrays
> didn't start up.
>
> One I managed to fix as a mdadm -E clued me in that three of the
> drives were ok.  So I just reassembled the three and added the fourth.
> Then it just started no problem.
>
> My big array however I'm not so lucky.
>
> I've got a state of
>
>
> Raid level: 5
> /dev/sdb: AA..   (state: clean)
> /dev/sdk: AAAA   (state: active)
> /dev/sdo: A.AA   (state: clean)
> /dev/sdp: A.AA   (state: clean)
>
> Thus can only get two drives to match in any config.  How do I get out
> of this mess?



-- 

G. Michael Carter
Contact: H: 1-519-940-8935 | W: 1-905-267-8494 | M: 1-519-215-1869 |
F: 1-519-941-0009
Google Talk: xmpp:mikeycarter1974@xxxxxxxxx
--
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