Re: How to recreate a dmraid RAID array with mdadm

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

 



On Wed, 17 Nov 2010 17:36:23 -0500
Mike Viau <viaum@xxxxxxxxxxxxxxx> wrote:

> 
> > On Wed, 17 Nov 2010 14:15:14 +1100 <neilb@xxxxxxx> wrote:
> >
> > This looks wrong. mdadm should be looking for the container as listed in
> > mdadm.conf and it should find a matching uuid on sda and sdb, but it doesn't.
> >
> > Can you:
> >
> > mdadm -E /dev/sda /dev/sdb ; cat /etc/mdadm/mdadm.conf
> >
> > so I can compare the uuids?
> >
> 
> Sure.
> 
> # definitions of existing MD arrays ( So you don't have to scroll down :P )
> 
> 
> ARRAY metadata=imsm UUID=084b969a:0808f5b8:6c784fb7:62659383
> 
> ARRAY /dev/md/OneTB-RAID1-PV container=084b969a:0808f5b8:6c784fb7:62659383 member=0 UUID=ae4a1598:72267ed7:3b34867b:9c56497a
> 
....
>            UUID : 084b969a:0808f5b8:6c784fb7:62659383
> [OneTB-RAID1-PV]:
>            UUID : ae4a1598:72267ed7:3b34867b:9c56497a
....
> # definitions of existing MD arrays
> ARRAY metadata=imsm UUID=084b969a:0808f5b8:6c784fb7:62659383
> ARRAY /dev/md/OneTB-RAID1-PV container=084b969a:0808f5b8:6c784fb7:62659383 member=0 UUID=ae4a1598:72267ed7:3b34867b:9c56497a

Yes, the uuids are definitely all correct.
This really should work.  I just tested a similar config and it worked
exactly as exported.
Weird.

Whatever version of mdadm are you running???
Can you try getting the latest (3.1.4) from
     http://www.kernel.org/pub/linux/utils/raid/mdadm/

and see how that works.
Just
    make
    ./mdadm -Asvv

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