All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Busby <michael.a.busby@gmail.com>
To: NeilBrown <neilb@suse.de>
Cc: john.robinson@anonymous.org.uk, linux-raid@vger.kernel.org
Subject: Re: Raid5 to another raid level??
Date: Fri, 2 Sep 2011 11:35:30 +0100	[thread overview]
Message-ID: <CAFsPQ_-CfsAbqj-m3biVas0Cyv_+gkrNhHWWR_FkVNSDPB6dMg@mail.gmail.com> (raw)
In-Reply-To: <20110902202235.0194d779@notabene.brown>

Great, will test that in a bit

will mdadm 3.2.2 support converting raid4 to raid5

"A RAID4 can change the number of devices or the size of individual
devices. It cannot be converted to RAID5 yet (though that should be
trivial to implement)"

On 2 September 2011 11:22, NeilBrown <neilb@suse.de> wrote:
> On Fri, 2 Sep 2011 10:12:32 +0100 Michael Busby <michael.a.busby@gmail.com>
> wrote:
>
>> Thanks Neil
>>
>> Is there anyway back from raid0 to raid4 as i know once at raid0 i
>> will no longer be able to add any disks, in theory i could change
>> echo raid0 > /sys/block/md0/md/level,but this would require adding a
>> missing disk to the raid4 at the same time, not sure how easy that
>> would be todo
>>
>
> Yes, you can switch from RAID0 to RAID4 in much the same way as you switch
> from RAID4 to RAID0.
> You can then freeze/add-disk/change-size/unfreeze/wait/switch-back-to-RAID0
> to add more devices.
>
> mdadm-3.2.2 should be able to do all this for you.  i.e. you ask it to --grow
> a RAID and --add some disks at the same time, and it will do all the required
> magic.
>
> This hasn't been tested extensively, but should work in simple cases.
>
> Of course the more devices you have in a RAID0, the less reliability you have
> - but e.g. as a cache for a tape backup system a large RAID0 is fine.
>
> NeilBrown
>
>
>
--
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:[~2011-09-02 10:35 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-01 23:50 Raid5 to another raid level?? Michael Busby
2011-09-02  0:54 ` Michael Busby
2011-09-02  2:19   ` NeilBrown
2011-09-02  9:12     ` Michael Busby
2011-09-02 10:22       ` NeilBrown
2011-09-02 10:35         ` Michael Busby [this message]
2011-09-02 12:49           ` NeilBrown
2011-09-02 13:11             ` Michael Busby
2011-09-07  1:07               ` NeilBrown
  -- strict thread matches above, loose matches on Subject: below --
2011-09-07 16:26 Michael Busby
     [not found] ` <CAFsPQ__YdDnJw=qgLAq10vRbNPy4B_EhkV4FU0JAfovxnw9TxQ@mail.gmail.com>
2011-10-10 21:47   ` Michael Busby
2011-10-12  4:10     ` NeilBrown
2011-10-12  9:25       ` Michael Busby
2011-10-12 10:14         ` NeilBrown
2011-10-12 16:01           ` Michael Busby
2011-09-01 21:50 Michael Busby
2011-09-01 22:34 ` John Robinson

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=CAFsPQ_-CfsAbqj-m3biVas0Cyv_+gkrNhHWWR_FkVNSDPB6dMg@mail.gmail.com \
    --to=michael.a.busby@gmail.com \
    --cc=john.robinson@anonymous.org.uk \
    --cc=linux-raid@vger.kernel.org \
    --cc=neilb@suse.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.