From: Artur Paszkiewicz <artur.paszkiewicz@intel.com>
To: Matthias Dahl <ml_linux-raid@binary-island.eu>,
linux-raid@vger.kernel.org
Subject: Re: IMSM RAID10: Rebuild/Resync difference on Linux vs Windows
Date: Thu, 23 Feb 2017 16:27:51 +0100 [thread overview]
Message-ID: <4f749c02-3478-cafc-2ae4-40af25459f65@intel.com> (raw)
In-Reply-To: <055fbb58-fb5f-5d69-0974-aaa234c99028@binary-island.eu>
On 02/22/2017 02:41 PM, Matthias Dahl wrote:
> Hello @everyone,
>
> I had an unclean shutdown today and the RAID was (as expected) out of
> sync -- so with the next boot, Linux started a resync.
>
> A while into the resync, I had to fire up Windows due to work, and the
> Intel Rapid Storage Manager took over the rebuild as expected. But there
> was a crucial difference: When I left Linux, I was at somewhat ~35% with
> another 2 hours or so to go for the resync, whereas IRSM was at 97% from
> the get-go and took just another 10 minutes or so to (apparently) finish
> the job.
>
> On Linux, the resync was taking place at 150 MiB/s to 200 MiB/s. So even
> if Windows was syncing faster (as-in: transfer-speed wise), there is no way to account for a jump from ~35% to 97%.
>
> That is quite a huge difference and got me worried, since I ran into my fair share of bugs with imsm on Linux, unfortunately.
>
> Is this to be expected and normal behavior? Does IRSM on Win use some kind of optimization/shortcut during rebuild that is not implemented on Linux? Or should this really not be happening and I should indeed be worried that the resync was done improperly now?
>
> This happened with kernel 4.9.5 and mdadm/mdmon 4.0 with a RAID10.
>
> If there you need any more information, please don't hesitate to ask and
> I will gladly provide it and help figure this out.
>
> Thanks in advance for any help.
Windows IRSM should not make any "shortcuts" in this case. If you
suspect that resync was not completed properly in Windows, you can run
it manually by writing "repair" to /sys/block/<dev>/md/sync_action. When
it finishes you can check md/mismatch_cnt if there were any
unsynchronized blocks.
Can you share the output of mdadm -E <raid disks> and mdadm --detail-platform?
What version of RST software are you using on Windows?
Thanks,
Artur
next prev parent reply other threads:[~2017-02-23 15:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-22 13:41 IMSM RAID10: Rebuild/Resync difference on Linux vs Windows Matthias Dahl
2017-02-23 15:27 ` Artur Paszkiewicz [this message]
2017-02-27 9:30 ` Matthias Dahl
2017-04-20 7:44 ` Matthias Dahl
2017-04-20 10:06 ` Artur Paszkiewicz
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=4f749c02-3478-cafc-2ae4-40af25459f65@intel.com \
--to=artur.paszkiewicz@intel.com \
--cc=linux-raid@vger.kernel.org \
--cc=ml_linux-raid@binary-island.eu \
/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).