* Upgrading from metadata 0.9
@ 2011-05-26 19:23 Phillip Susi
2011-05-27 21:38 ` NeilBrown
0 siblings, 1 reply; 2+ messages in thread
From: Phillip Susi @ 2011-05-26 19:23 UTC (permalink / raw)
To: linux-raid
Is there a way to upgrade an existing raid array using metadata format
0.9 to a 1.x format without loosing data?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Upgrading from metadata 0.9
2011-05-26 19:23 Upgrading from metadata 0.9 Phillip Susi
@ 2011-05-27 21:38 ` NeilBrown
0 siblings, 0 replies; 2+ messages in thread
From: NeilBrown @ 2011-05-27 21:38 UTC (permalink / raw)
To: Phillip Susi; +Cc: linux-raid
On Thu, 26 May 2011 15:23:23 -0400 Phillip Susi <psusi@cfl.rr.com> wrote:
> Is there a way to upgrade an existing raid array using metadata format
> 0.9 to a 1.x format without loosing data?
Not really. It is on my list of nice-to-have features for mdadm, but it is
not near the top.
As 1.x uses less space for metadata you could simply recreate the array as
--metadata=1.0
All the data would still be there.
You should be as explicit as possible in the --create command.
mdadm --create /dev/md0 --level=XX --raid-disks=YY --chunk=ZZ --size=QQ
--layout=LL --assume-clean --metadata=1.0
You can only convert to 1.0 metadata as 1.1 and 1.2 put the metadata on top
of where data currently is.
NeilBrown
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-27 21:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-26 19:23 Upgrading from metadata 0.9 Phillip Susi
2011-05-27 21:38 ` NeilBrown
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).