Thanks for the patch. I will check how it will go. ;-)
On 2/28/12, Francois Tigeot <ftig...@wolfpond.org> wrote: > Hi, > > On Mon, Feb 27, 2012 at 12:28:00PM +0000, Alex Hornung wrote: >> >> On 27/02/12 12:20, Zenny wrote: >> > I tried to create a RAID10 with natacontrol with 4 2TB HDDs, but it >> > only shows 2TB (1718306MB) size of ar0 created instead of 4TB. >> >> In principle there is no such limit that I'm aware of, apart from the >> MBR partition size limit. It all depends where you are seeing those 2 >> TB. If it's a partition size, try using GPT. > > Nataraid itself doesn't seem to be limited to 2TB RAID volumes but some > of the on-disk metadata format it uses are. > > By default, when no BIOS-created metadata is recognized, natacontrol > creates a volume using the Promise metadata format -- and this one has > an inherent limit of 32-bit disk sectors. > > The Intel MatrixRAID format moves this limit to 64-bit sectors, way > beyond the 2TB barrier. > > The attached patch changes nataraid to use it by default instead of the > Promise format. It _could_ allow the creation of > 2TB RAID volumes on > unrecognized controllers. > > -- > Francois Tigeot >