Re: migrating from metadata 0.9 to 1.0 before growing?

From
NeilBrown <hidden>
Date
2012-02-29 01:29:06
Reply to
Lars Täuber, 2012-02-24
On Fri, 24 Feb 2012 11:38:21 +0100 Lars Täuber [off-list ref] 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

Attachments

Thread (5 messages) 5 messages, 2 authors, last reply 2012-04-19
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help