* linux software raid5 on lvm: sunit/swidth required?
@ 2013-06-17 15:06 Thomas Molszich
2013-06-17 15:18 ` Eric Sandeen
2013-06-18 7:03 ` Stan Hoeppner
0 siblings, 2 replies; 3+ messages in thread
From: Thomas Molszich @ 2013-06-17 15:06 UTC (permalink / raw)
To: xfs@oss.sgi.com
[-- Attachment #1.1: Type: text/plain, Size: 422 bytes --]
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.
If manual calculation is still required, where can I read up on that?
With kind regards
Thomas Molszich
[-- Attachment #1.2: Type: text/html, Size: 2856 bytes --]
[-- Attachment #2.1: Type: text/plain, Size: 902 bytes --]
Think green: do you really need to print this e-mail?
Diese E-Mail enthält vertrauliche und/oder rechtlich
geschützte Informationen. Wenn Sie nicht der richtige
Adressat sind oder diese E-Mail irrtümlich erhalten
haben, informieren Sie bitte den Absender und löschen
Sie diese Mail. Das unerlaubte Kopieren sowie die
unbefugte Weitergabe dieser E-Mail und der
darin enthaltenen Informationen sind nicht gestattet.
This e-mail may contain confidential and/or privileged
information. If you are not the intended recipient
(or have received this e-mail in error) please notify the
sender immediately and delete this e-mail. Any
unauthorized copying, disclosure or distribution of
the material in this e-mail is strictly forbidden.
Vanderlande Industries GmbH
Sitz der Gesellschaft: Dortmund, Deutschland
Amtsgericht Dortmund: HRB 8539
Geschäftsführer: Peter Stuer
[-- Attachment #2.2: Type: text/html, Size: 1341 bytes --]
[-- Attachment #3: Type: text/plain, Size: 121 bytes --]
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: linux software raid5 on lvm: sunit/swidth required?
2013-06-17 15:06 linux software raid5 on lvm: sunit/swidth required? Thomas Molszich
@ 2013-06-17 15:18 ` Eric Sandeen
2013-06-18 7:03 ` Stan Hoeppner
1 sibling, 0 replies; 3+ messages in thread
From: Eric Sandeen @ 2013-06-17 15:18 UTC (permalink / raw)
To: Thomas Molszich; +Cc: xfs@oss.sgi.com
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
>
>
>
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: linux software raid5 on lvm: sunit/swidth required?
2013-06-17 15:06 linux software raid5 on lvm: sunit/swidth required? Thomas Molszich
2013-06-17 15:18 ` Eric Sandeen
@ 2013-06-18 7:03 ` Stan Hoeppner
1 sibling, 0 replies; 3+ messages in thread
From: Stan Hoeppner @ 2013-06-18 7:03 UTC (permalink / raw)
To: xfs
On 6/17/2013 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.
Your subject says Linux software RAID5, i.e. the md driver. But you
don't mention md in your msg body, only "partitions and LVM 4K aligned
already".
If you layer LVM atop a striped md array then mkfs.xfs cannot see the
geometry of the md array. LVM is not aware of it because LVM isn't
providing the striping function, and it does not perform "pass through"
of the md geometry. So in this case you must manually align XFS,
assuming your workload will benefit from alignment. It may not, in
which case using the default 4K alignment would be better.
mkfs.xfs will auto configure stripe geometry if directly targeting an md
striped array. It will not with LVM atop the striped array.
--
Stan
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-06-18 7:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-17 15:06 linux software raid5 on lvm: sunit/swidth required? Thomas Molszich
2013-06-17 15:18 ` Eric Sandeen
2013-06-18 7:03 ` Stan Hoeppner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox