From: Martin Wilck <mwilck@arcor.de>
To: Francis Moreau <francis.moro@gmail.com>
Cc: linux-raid <linux-raid@vger.kernel.org>
Subject: Re: mdadm 3.3 fails to kick out non fresh disk
Date: Tue, 24 Sep 2013 19:38:47 +0200 [thread overview]
Message-ID: <5241CE27.30203@arcor.de> (raw)
In-Reply-To: <CAC9WiBgzfvQkLZXT+9WYuxBUCRJqWZAvbyVmK9-9EsiwNeRxhw@mail.gmail.com>
Hi Francis,
> Could you show me the mdadm command I should use to insert sdb into the array ?
I tried your scenario on HW with LSI fake RAID and encountered the same
problem you had. I have come up with a patch that I've just posted ("Fix
mdadm --add for LSI fake RAID" and follow-ups).
Please try if this patch fixes your problem. To be precise, with this
patch applied, mdadm /dev/md127 --add /dev/sdX should work again. You
should be able to run this on your currently broken system if you
somehow manage to transfer the updated mdadm and mdmon executables to
that system, run mdmon --takeover /dev/md127, and then remove/add sdX again.
The reason for the problem was a difference in the interpretation of the
workspace_lba field in the DDF header between my code and LSI's.
This has nothing to do with my previous patch "compare_super_ddf: fix
sequence number check".
Regards
Martin
next prev parent reply other threads:[~2013-09-24 17:38 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-13 13:22 mdadm 3.3 fails to kick out non fresh disk Francis Moreau
2013-09-13 20:43 ` NeilBrown
2013-09-13 22:35 ` Francis Moreau
2013-09-13 23:56 ` Roberto Spadim
2013-09-14 10:38 ` NeilBrown
2013-09-14 14:33 ` Francis Moreau
2013-09-14 15:06 ` Francis Moreau
2013-09-14 20:43 ` Martin Wilck
2013-09-16 13:56 ` Francis Moreau
2013-09-16 17:04 ` Martin Wilck
2013-09-20 8:56 ` Francis Moreau
2013-09-20 18:07 ` Martin Wilck
2013-09-20 21:08 ` Francis Moreau
2013-09-21 13:22 ` Francis Moreau
2013-09-23 20:02 ` Martin Wilck
2013-09-27 8:26 ` Francis Moreau
2013-09-27 15:47 ` Francis Moreau
2013-10-02 18:33 ` Martin Wilck
2013-10-16 4:57 ` NeilBrown
2013-10-16 20:10 ` Francis Moreau
2013-10-17 10:58 ` NeilBrown
2013-10-19 20:21 ` Martin Wilck
2013-10-20 23:59 ` NeilBrown
2013-09-24 17:38 ` Martin Wilck [this message]
2013-09-24 17:43 ` Martin Wilck
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=5241CE27.30203@arcor.de \
--to=mwilck@arcor.de \
--cc=francis.moro@gmail.com \
--cc=linux-raid@vger.kernel.org \
/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).