Re: Large Stripe Size (>4MB)

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

 



On Wednesday March 22, aizvorski@xxxxxxxxx wrote:
> Paul M. <paul <at> gpmidi.net> writes:
> 
> > 
> > Couple questions related to some raid using some firewire disks:
> > 
> > Is it possible to set the stripe size to 16+MB?
> > 
> > Is there a way to force the raid driver to only access one disk at a time?
> > 
> > Thanks,
> > 
> > Paul
> 
> Yes, it's possible - just change the #define MAX_CHUNK_SIZE 
> in linux/include/linux/raid/md_k.h and rebuild your kernel.  I am 
> happily running an array with a 64MB chunk.
> 
> Can some knowledgeable person explain if there is any downside to a very large
> number in that define (as in, a few GB)?  Does it use up any resources or can it
> overflow any arithmetic somewhere in the kernel?

Up to 2Gig should work without problems.  More than that will cause
overflow in the 0.90 superblock.  With the version-1 superblock we
should be able to support chunks upto a terrabyte (I think) but we
would need a code-audit and a fair bit of fixing first.

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