From: Martin Hermanowski <martin@martin.mh57.net>
To: linux-raid@vger.kernel.org
Subject: raid1 over lvm and nbd => recovery thread fails
Date: Fri, 5 Jul 2002 12:52:15 +0200 [thread overview]
Message-ID: <20020705105215.GK26595@martin.mh57.net> (raw)
Hello,
I've made a raid1 mirror of an lvm partition and an nbd from another
machine. Then I created an ext3 fs on it. I patched nbd-client.c to
close the socket on network failure to prevent some kind of dead-lock
when the connection between the two machines dies.
This all works quite well, but after about 6~12 disconnects and
reconnects of the nbd (disc-failures for the raid) while the recovery
thread is working, the recovery thread is show as folling in
/proc/mdstat:
| [>....................] recovery = 0.0% (0/16777152)
| finish=461360.7min speed=0K/sec
So there is no recovery :-(
I'm not shure whether this only happens if there is write activity on
the raid, but in most cases there was. The recovery thread did never
complete because I disconnected after ~30s after reconnect.
mdrecoveryd and raid1d show up normal in top, they are just not running.
Not to forget, /proc/mdstat shows the recovery stats also when I remove
the disc again.
Is there any way to stop the recovery thread manually?
Regards,
Martin
next reply other threads:[~2002-07-05 10:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-05 10:52 Martin Hermanowski [this message]
2002-07-07 18:47 ` raid1 over lvm and nbd => recovery thread fails Paul Clements
2002-07-07 21:07 ` Martin Hermanowski
2002-07-09 17:25 ` Martin Hermanowski
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=20020705105215.GK26595@martin.mh57.net \
--to=martin@martin.mh57.net \
--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