linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Neil Brown <neilb@suse.de>
To: Janek Kozicki <janek_listy@wp.pl>
Cc: linux-raid@vger.kernel.org
Subject: Re: Roadmap for md/raid ???
Date: Mon, 19 Jan 2009 11:54:00 +1100	[thread overview]
Message-ID: <18803.53032.383350.741460@nbeee.brown> (raw)
In-Reply-To: message from Janek Kozicki on Tuesday December 30

On Tuesday December 30, janek_listy@wp.pl wrote:
> Neil Brown said:     (by the date of Fri, 19 Dec 2008 15:10:49 +1100)
> 
> > - raid5->raid6 conversion.
> >    This is also a fairly commonly asked for feature.
> 
> I can be one of the first ones to test that :)
> 

How brave do you feel?
If you clone a recent kernel then
  git pull git://neil.brown.name/md md-scratch

and compile that, you can convert a raid5 to a raid6.
Or maybe you will corrupt your data....
It worked OK for me, but I make no promises.

You cannot use mdadm.  You need to

  echo raid6 > /sys/block/mdX/md/level

The raid6 layout it uses is not the standard layout in that the
Q block is always stored on the last device rather than being
rotated around.
I plan to add support for restriping the array to get the standard
layout.  That will be a slow process and may not be worth the
effort in all cases.

There are issues with the code that make it not ready for
upstream yet.  But it is worth experimenting with if
anyone is interested...

NeilBrown

  parent reply	other threads:[~2009-01-19  0:54 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-19  4:10 Roadmap for md/raid ??? Neil Brown
2008-12-19 15:44 ` Chris Worley
2008-12-19 15:51   ` Justin Piszcz
2008-12-19 16:13     ` Bernd Schubert
2008-12-30 18:12 ` Janek Kozicki
2008-12-30 18:15   ` Janek Kozicki
2009-01-19  0:54   ` Neil Brown [this message]
2009-01-19 12:25     ` Keld Jørn Simonsen
2009-01-19 19:03       ` thomas62186218
2009-01-19 20:00         ` Jon Nelson
2009-01-19 20:18           ` Greg Freemyer
2009-01-19 20:30             ` Jon Nelson
2009-01-11 18:14 ` Piergiorgio Sartor
2009-01-19  1:40   ` Neil Brown
2009-01-19 18:19     ` Piergiorgio Sartor
2009-01-19 18:26       ` Peter Rabbitson
2009-01-19 18:41         ` Piergiorgio Sartor
2009-01-19 21:08       ` Keld Jørn Simonsen
2009-01-14 20:43 ` Bill Davidsen
2009-01-19  2:05   ` Neil Brown
     [not found]     ` <49740C81.2030502@tmr.com>
2009-01-19 22:32       ` Neil Brown
2009-01-21 17:04         ` Bill Davidsen
  -- strict thread matches above, loose matches on Subject: below --
2008-12-19  9:01 Aw: " piergiorgio.sartor
2008-12-19 17:01 ` Dan Williams

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=18803.53032.383350.741460@nbeee.brown \
    --to=neilb@suse.de \
    --cc=janek_listy@wp.pl \
    --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).