* Using a newer mdadm version just for re-adding a device
@ 2012-05-30 17:38 Sven Hartrumpf
2012-05-31 17:24 ` Sven Hartrumpf
0 siblings, 1 reply; 3+ messages in thread
From: Sven Hartrumpf @ 2012-05-30 17:38 UTC (permalink / raw)
To: linux-raid
Hello.
Is it safe to mix mdadm versions in the following scenario?
openSUSE 12.1 comes with mdadm 3.2.2 (and kernel 3.1), which works fine
except that I am hit by the re-add bug:
I removed a partition (after "mdadm --manage --set-faulty ...") from a perfectly
working /dev/md1, but re-adding with "mdadm /dev/md1 -a ..." fails.
Reading the mailing list and the Changelog, I understand that
this is fixed in mdadm 3.2.5.
Hence, I compiled mdadm 3.2.5 from source.
Now my question is:
Can I safely use the resulting binary (renamed to mdadm325 to avoid confusion)
to re-add the device and then continue to use the 3.2.2 package from openSUSE?
Thanks for reading
Sven
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Using a newer mdadm version just for re-adding a device
2012-05-30 17:38 Using a newer mdadm version just for re-adding a device Sven Hartrumpf
@ 2012-05-31 17:24 ` Sven Hartrumpf
2012-06-04 4:15 ` NeilBrown
0 siblings, 1 reply; 3+ messages in thread
From: Sven Hartrumpf @ 2012-05-31 17:24 UTC (permalink / raw)
To: linux-raid
To answer my own question (about a RAID-1):
Wed, 30 May 2012 19:38:15 +0200 (CEST), I wrote:
> Is it safe to mix mdadm versions in the following scenario?
...
> Now my question is:
> Can I safely use the resulting binary (renamed to mdadm325 to avoid confusion)
> to re-add the device and then continue to use the 3.2.2 package from openSUSE?
I made a backup and tried the above: it worked perfectly.
Sven
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Using a newer mdadm version just for re-adding a device
2012-05-31 17:24 ` Sven Hartrumpf
@ 2012-06-04 4:15 ` NeilBrown
0 siblings, 0 replies; 3+ messages in thread
From: NeilBrown @ 2012-06-04 4:15 UTC (permalink / raw)
To: Sven Hartrumpf; +Cc: linux-raid
[-- Attachment #1: Type: text/plain, Size: 986 bytes --]
On Thu, 31 May 2012 19:24:14 +0200 (CEST) Sven Hartrumpf <hartrumpf@gmx.net>
wrote:
> To answer my own question (about a RAID-1):
>
> Wed, 30 May 2012 19:38:15 +0200 (CEST), I wrote:
> > Is it safe to mix mdadm versions in the following scenario?
> ...
> > Now my question is:
> > Can I safely use the resulting binary (renamed to mdadm325 to avoid confusion)
> > to re-add the device and then continue to use the 3.2.2 package from openSUSE?
>
> I made a backup and tried the above: it worked perfectly.
I like it when people work out the answer themselves :-)
The only possible issue is that when 3.2.5 adds a new device it will try to
give it a larger "Data Offset". This won't confuse md, but it might confuse
you in later life.
About the only time you need to ensure you have a consistent version of mdadm
is when re-creating an array that died in some way and you want to recover
the data off it, but "-assemble --force" doesn't work.
NeilBrown
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-06-04 4:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-30 17:38 Using a newer mdadm version just for re-adding a device Sven Hartrumpf
2012-05-31 17:24 ` Sven Hartrumpf
2012-06-04 4:15 ` 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).