linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Evans <mjevans1983@gmail.com>
To: "Patrick J. LoPresti" <lopresti@gmail.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: Resize RAID-0?
Date: Thu, 11 Mar 2010 21:17:36 -0800	[thread overview]
Message-ID: <4877c76c1003112117q55547296oabfd3925496b33c@mail.gmail.com> (raw)
In-Reply-To: <23986fd91003111939w102813c6r8d1b51a387784a71@mail.gmail.com>

On Thu, Mar 11, 2010 at 7:39 PM, Patrick J. LoPresti <lopresti@gmail.com> wrote:
> From reading the documentation and source code, I gather "mdadm
> --grow" is not supported for RAID-0 devices.
>
> In my application, I am using md RAID-0 to stripe among several
> (identical) hardware RAID-0 chassis.  I would like to extend my setup
> by adding another chassis, but apparently, I cannot (?).
>
> The next time I build a system like this, is there any way to get what
> I want using Linux?  That is, striping among devices, no parity, but
> with the ability to grow in the future?
>
> Thanks!
>
>  - Pat
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

I THINK that LVM may allow you to do that.  I know the newer version
of the labels supports /mixing/ how many stripes are in a given
segment of storage. You may be able to, via some slightly non-trivial
complexity but with existing commands and a little free space, shuffle
your data out of an M device set of storage in to an N device set of
storage striping.

I don't actually see any technical reason why restriping raid0 or
another raid level to any other should be impossible to support. I
just don't believe the feature currently exists, and possibly that the
metadata might need changes to allow for different segments of backing
storage and use within the same md container.  However were it even
possible to store two types then only a small critical window would
need backup, and everything else could sync to the largest portion of
non-overlap.  The worse case would be same size to same size reshape;
a literal nightmare performance wise since the whole set would be a
critical section.  Even reserving a fraction of a megabyte at creation
time would at least allow the operation on /that/ to be done as a
non-critical section.  Alternatively if a write-intent map were in use
it could instead be destroyed and it's space used for the critical
section.  The map might then flop between front and back during
different reshapes or shifts.

I just got done glancing at a few locations (website, documentation,
and kernel code) and didn't see anything like a representation of what
the metablock might look like, so I can't say for sure if looks like I
expect from the behavior.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2010-03-12  5:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-12  3:39 Resize RAID-0? Patrick J. LoPresti
2010-03-12  5:17 ` Michael Evans [this message]
2010-03-12 10:40 ` John Robinson
2010-03-12 11:53   ` Neil Brown
2010-03-12 11:36 ` Kristleifur Daðason
2010-03-12 17:03   ` Patrick J. LoPresti
2010-03-13  0:09     ` Patrick J. LoPresti
2010-03-13  0:50       ` Neil 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=4877c76c1003112117q55547296oabfd3925496b33c@mail.gmail.com \
    --to=mjevans1983@gmail.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=lopresti@gmail.com \
    /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).