From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stan Hoeppner Subject: Re: Help creating filesystem (xfs) and partitioning Date: Thu, 25 Jul 2013 18:27:52 -0500 Message-ID: <51F1B478.4050901@hardwarefreak.com> References: <51F19E0F.5000400@tmr.com> Reply-To: stan@hardwarefreak.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-raid-owner@vger.kernel.org To: Roberto Spadim Cc: Bill Davidsen , Linux RAID List-Id: linux-raid.ids On 7/25/2013 5:36 PM, Roberto Spadim wrote: > i don't know what's the best xfs parameters / fdisk parameters to > align disk with filesystem, should i add some parameter? You don't align a filesystem with fdisk. fdisk creates partitions. As I said earlier, start your first partition at sector 2048, and create each successive partition to be of a size evenly divisible by 4096 bytes. WRT mkfs.xfs, use the defaults. It reads the md config and configures automatically. You only need to specify command line values when using hardware RAID or LVM atop hard or software RAID. And in your case, with only two mirrored spindles, you simply can't do anything to tweak XFS performance anyway. -- Stan