Re: Can't start array and Negative "Used Dev Size"

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

 



On Tue, 28 Jun 2011 22:24:41 -0700 Simon Matthews
<simon.d.matthews@xxxxxxxxx> wrote:

> Neil,
> 
> 
> 
> On Tue, Jun 28, 2011 at 10:18 PM, NeilBrown <neilb@xxxxxxx> wrote:
> >  mdadm -S /dev/md5
> >  mdadm -C /dev/md5 --metadata 1.0 -l1 -n2 --assume-clean
> 
> Will I lose data if I do this? Should I use metadata 1.2 ?

If you use 1.2 you will lose data.  If you use 1.0 you will not.

With 0.90 and 1.0 the data starts at the start of each device. so 1.0 will
see the same data as 0.90 would.

With 1.2 there is some metadata first and the start starts later, so if you
use that the data will appear in the wrong place.

NeilBrown

> 
> >
> > Then all should be happiness.
> >>
> >
> >  mdadm -S /dev/md4
> >  mdadm -A /dev/md4 /dev/sdc1 /dev/sdd1 --verbose
> 
> That solved it. The array started.
> 
> Thanks!
> 
> Simon
> --
> 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

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