linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Lennert Buytenhek <buytenh@wantstofly.org>
Cc: linux-raid@vger.kernel.org
Subject: Re: nonstandard raid(4-ish) scheme
Date: Tue, 24 Jan 2012 11:22:35 -0500	[thread overview]
Message-ID: <20120124162235.GA15260@infradead.org> (raw)
In-Reply-To: <20120124030015.GQ11921@wantstofly.org>

On Tue, Jan 24, 2012 at 04:00:15AM +0100, Lennert Buytenhek wrote:
> The ideal way of doing this would be to take N-1 disks out of your N
> disk set, and create separate filesystems on each of the disks, and
> store different sets of files on them, while using the last disk,
> disk N, as a parity disk of the N-1 data disks.
> 
> This is equivalent to raid4 with the stripe size equal the size of
> one disk, and where the data disks get individual /dev/mdX entries
> instead of being concatenated into one large /dev/mdX.
> 
> Would this be easy to implement?

I think it would be fairly easy.  Take the existing RAID4 code, and
instead of striping over the data disks use them in a linear, concatenated
fashion.  Then make sure the filesystem places whole directories on
one of them.  Using the "filestreams" mount option in XFS, combined with
aligning the allocation groups to the data disk boundaries should do
that for you.


  parent reply	other threads:[~2012-01-24 16:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-24  3:00 nonstandard raid(4-ish) scheme Lennert Buytenhek
2012-01-24 12:51 ` John Robinson
2012-01-24 16:22 ` Christoph Hellwig [this message]
2012-01-24 20:51 ` David Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120124162235.GA15260@infradead.org \
    --to=hch@infradead.org \
    --cc=buytenh@wantstofly.org \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).