From: joystick <joystick@shiftmail.org>
To: George Spelvin <linux@horizon.com>,
linux-raid <linux-raid@vger.kernel.org>
Subject: Re: want-replacement got stuck?
Date: Wed, 21 Nov 2012 20:21:24 +0100 [thread overview]
Message-ID: <50AD29B4.9050004@shiftmail.org> (raw)
In-Reply-To: <20121121163300.30697.qmail@science.horizon.com>
On 11/21/12 17:33, George Spelvin wrote:
> Just to follow up to that earlier complaint, ext4 is now noticing some errors:
>
The following procedure MIGHT provide additional information (but might
also change the state of the array so I'm not 100% sure I'm suggesting
the best thing to do)
cat /sys/block/md5/md/mismatch_cnt
---> record it somewhere because it will be cleared
echo check > /sys/block/md5/md/sync_action
(wait for resync to finish)
(note that this should not alter the data on the disks, it's a read-only
procedure)
cat /sys/block/md5/md/mismatch_cnt
---> record it again now
this is relevant because if the hot replace procedure wrote wrong data
on one disk, it should be possible to determine that from parity as
described.
Another thing you can try, less invasive, is:
for i in /dev/sd[abcde]2 ; do echo $i ; mdadm -X /dev/sdY ; done
this should tell you various things including which flags are on the
metadata of each disk, and which disks believe to be in the array and
which ones believe to be out.
next prev parent reply other threads:[~2012-11-21 19:21 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-20 22:11 want-replacement got stuck? George Spelvin
2012-11-21 16:33 ` George Spelvin
2012-11-21 16:41 ` Roman Mamedov
2012-11-21 18:08 ` George Spelvin
2012-11-21 19:21 ` joystick [this message]
2012-11-21 21:19 ` George Spelvin
2012-11-21 22:56 ` joystick
2012-11-22 3:25 ` George Spelvin
2012-11-22 4:22 ` NeilBrown
2012-11-22 5:27 ` George Spelvin
2012-11-22 5:39 ` George Spelvin
2012-11-22 5:47 ` NeilBrown
2012-11-22 6:45 ` George Spelvin
2012-11-22 11:30 ` George Spelvin
2012-11-22 2:15 ` NeilBrown
2012-11-22 2:10 ` NeilBrown
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=50AD29B4.9050004@shiftmail.org \
--to=joystick@shiftmail.org \
--cc=linux-raid@vger.kernel.org \
--cc=linux@horizon.com \
/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).