xfs
[Top] [All Lists]

Re: Stripe alignment with RAID volumes

To: xfs@xxxxxxxxxxx
Subject: Re: Stripe alignment with RAID volumes
From: Dave Lloyd <dlloyd@xxxxxxxxx>
Date: Mon, 17 Jul 2006 12:26:14 -0500
In-reply-to: <20060717144623.GA2114946@melbourne.sgi.com>
References: <e692861c0607161423o552588a3yd603a423afc71004@mail.gmail.com> <20060717144623.GA2114946@melbourne.sgi.com>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Thunderbird 1.5 (X11/20051201)
David Chinner wrote:

>
> Device mapper is your friend - you can offset the start of the volume
> on each device you use.
>
> We've done this in the past to allow multiple volume managers to coexist
> on the same luns. e.g. first volume manager exists in 0-4MiB of each
> lun, so we tell dm that each device starts at offset 4MiB rather than
> at 0....

Device Mapper?  I haven't heard about this.

>> Would it be possible to add a stripe start offset to XFS?
>
> Maybe, but I can't see how it would be a simple thing to do because
> it would require on-disk format changes...
>
> Anyway, if you were configuring an XFS filesystem to do this, you
> still need to understand the underlying geometry to get it right.
> You may as well get your volume manager configuration correct, and
> then we don't have to worry about it in XFS.

The latest parted will let you use bytes to size the partitions.  Stripe
aligning the begining and the end of the partition does give better
performance.

--
Dave Lloyd
Test Engineer, Exegy, Inc.
314.450.5342
dlloyd@xxxxxxxxx


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