xfs
[Top] [All Lists]

Re: linux software raid5 on lvm: sunit/swidth required?

To: Thomas Molszich <Thomas.Molszich@xxxxxxxxxxxxxxx>
Subject: Re: linux software raid5 on lvm: sunit/swidth required?
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Mon, 17 Jun 2013 10:18:59 -0500
Cc: "xfs@xxxxxxxxxxx" <xfs@xxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <57FC0B2322184044812B39B9440D8AF662898079AA@xxxxxxxxxxxx>
References: <57FC0B2322184044812B39B9440D8AF662898079AA@xxxxxxxxxxxx>
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130509 Thunderbird/17.0.6
On 6/17/13 10:06 AM, Thomas Molszich wrote:
> Hello all,
> 
>  
> 
> At present, does one still need to calculate and pass the sunit/swidth to 
> mkfs.xfs or does xfs calculate
> 
> All this on its own?
> 
> Xfsprogs 3.1.7, linked against libblkid, kernel 3.2.48 (Ubuntu 12.04 LTS), 
> 6x3000GB Hitachi 4k sectors
> 
> with 512b emulation, partitions and lvm 4k aligned already.

You've not provided much info, but lvm does export stripe geometry if present, 
and mkfs.xfs will pick it up from lvm.

run mkfs.xfs and it'll tell you what it used for stripe geometry if any, and 
you'll know if it's right.  :)

-Eric
 
> 
> If manual calculation is still required, where can I read up on that?
> 
>  
> 
> With kind regards
> 
>  
> 
> Thomas Molszich
> 
>  
> 

<Prev in Thread] Current Thread [Next in Thread>