raid10n2/xfs setup guidance on write-cache/barrier
Brian Candler
B.Candler at pobox.com
Fri Mar 16 12:15:09 CDT 2012
On Fri, Mar 16, 2012 at 11:36:07AM +0800, Jessie Evangelista wrote:
> I'm still scouring the internet for a best practice recipe for
> implementing xfs/mdraid.
> I am open to writing one and including the inputs everyone is contributing here.
> In my search, I also saw some references of alignment issues for partitions.
> this is what I used to setup the partitions for the md device
>
> sfdisk /dev/sdb <<EOF
> unit: sectors
>
> 63,104872257,fd
> 0,0,0
> 0,0,0
> 0,0,0
> EOF
>
> I've read a recommendation to start the partition on the 1MB mark.
> Does this make sense?
I would just make the raw disks members of the RAID array, e.g.
/dev/sdb, /dev/sdc etc and not partition them.
More information about the xfs
mailing list