Re: filesystem stripe parameters

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

 



Wil Reichert wrote:
On Fri, Jun 19, 2009 at 2:15 AM, Michael Tokarev<mjt@xxxxxxxxxx> wrote:
[]
When everything is properly aligned, it's still worth the effort
IMHO to tell the filesystem about true raid properties.

Several questions answered, more questions arise =)

I'm using 3 1T discs, so it seems I'm in luck.  My chunk size is 128k,
my PE size is the default 4M.  Using mkfs.ext4 as an example, it takes
stride (chunk) and stripe-width ( chunk * (N-1) ) parameters.  So
which would be optimal - using the RAID values (i.e. 128k, 256k) or
the LVM values (i.e. 4M, 8M) when creating the filesystem or is there
no right answer and it just depends on the usage pattern?

No, see my last statement from my initial email, quoted above.
Tell the fs about your raid.  If raid strips are combined using
some other way it's still raid and it's still strip size that
matters much.  After all, you need two parameters for the fs
(chunk + stripe-width) not one (lvm block size) -- this fact
already telling :)

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