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

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

 



Neil,

On Tue, Jun 28, 2011 at 10:18 PM, NeilBrown <neilb@xxxxxxx> wrote:
> On Tue, 28 Jun 2011 21:29:37 -0700 Simon Matthews
> <simon.d.matthews@xxxxxxxxx> wrote:
>
>> Problem 1: "Used Dev Size"
>> ====================
>> Note: the system is a Gentoo box, so perhaps I have missed a kernel
>> configuration option or use flag to deal with large hard drives.
>>
>> A week or two ago, I resized a raid1 array using 2x3TB drives. I went
>
> Oopps.  That array is using 0.90 metadata which can only handle up to 2TB
> devices.  The 'resize' code should catch that you are asking the impossible,
> but it doesn't it seems.
>
> You need to simply recreate the array as 1.0.
> i.e.
>  mdadm -S /dev/md5
>  mdadm  -C /dev/md5 --metadata 1.0 -l1 -n2 --assume-clean

Before I do this (tomorrow), do I need to add the partitions to the command:

mdadm  -C /dev/md5 --metadata 1.0 -l1 -n2 --assume-clean /dev/sdd2 /dev/sdc2

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


[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