linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: NeilBrown <neilb@suse.de>
To: "Lars Täuber" <taeuber@bbaw.de>
Cc: linux-raid@vger.kernel.org
Subject: Re: migrating from metadata 0.9 to 1.0 before growing?
Date: Wed, 29 Feb 2012 12:29:06 +1100	[thread overview]
Message-ID: <20120229122906.76d08488@notabene.brown> (raw)
In-Reply-To: <20120224113821.c2b14f48bcf7e6809b2cd3a6@bbaw.de>

[-- Attachment #1: Type: text/plain, Size: 880 bytes --]

On Fri, 24 Feb 2012 11:38:21 +0100 Lars Täuber <taeuber@bbaw.de> wrote:

> Hi there.
> 
> I have a RAID6 using disks in an external SATA enclosure.
> Now I started to exchange the disks with others twice as big as the ones the
> RAID was originally created with.
> The RAID uses metadata version 0.9.
> 
> Now I'm thinking about switching to format 1.0 this way:
> 
> * exchange all disks with the bigger ones piece by piece
>   (-f old -r old -a new)
> * wait for rebuild of last disk
> * recreate RAID with --assume-clean and --metadata 1.0 and the same disks in
>   the correct order
> 
> The --grow shouldn't be necessary this way.
> Then I grow the filesystem.
> 
> Is this precedure possible without data loss?
> Or is there a way a metadata version migration could be done more easily?

Yes, this should work.  There is no better way.

NeilBrown

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

  parent reply	other threads:[~2012-02-29  1:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-24 10:38 migrating from metadata 0.9 to 1.0 before growing? Lars Täuber
2012-02-28 16:36 ` Lars Täuber
2012-02-29  1:29 ` NeilBrown [this message]
2012-04-19 14:20   ` Lars Täuber
2012-04-19 21:25     ` NeilBrown

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=20120229122906.76d08488@notabene.brown \
    --to=neilb@suse.de \
    --cc=linux-raid@vger.kernel.org \
    --cc=taeuber@bbaw.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 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).