From: Milan Broz <mbroz@redhat.com>
To: lvm-devel@redhat.com
Subject: [PATCH 2/3] Fix possible lost of temporary devices in pvmove.
Date: Tue, 29 Sep 2009 08:13:26 +0200 [thread overview]
Message-ID: <4AC1A586.4080303@redhat.com> (raw)
In-Reply-To: <20090928194440.GL5351@agk-dp.fab.redhat.com>
Alasdair G Kergon wrote:
> On Thu, Sep 17, 2009 at 05:25:43PM +0200, Milan Broz wrote:
>> - if pvmove fails, try to sleep some time and retry. Usually device is locked
>> by scan from wrong udev rule and remapping to error target causes all scanning
>> programs to quickly fail.
>
> I'd rather see the real problem addressed: people fixing misbehaving udev
> rules. There should be no need for workarounds like this in lvm2, which would
> only perpetuate the problem. Presumably the problem will disappear anyway
> when the udev integration work is activated.
Of course the real problem must be addressed. But this is not the first time someone
had idea to scan all devices in system. Now udev calling dmsetup from rules,
DevKit doing the same using own programs, various GUI disk utilities etc.
Maybe even some monitoring systems do that...
If there is no such workaround, pvmove is no longer reliable in such enviroment.
The problem exists in most of recent distros.
And it leads to data corruption, see https://bugzilla.redhat.com/show_bug.cgi?id=520913
I would prefer adding simple and documented workaround then lose users' data.
Milan
next prev parent reply other threads:[~2009-09-29 6:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-17 15:25 [PATCH 2/3] Fix possible lost of temporary devices in pvmove Milan Broz
2009-09-28 19:44 ` Alasdair G Kergon
2009-09-29 6:13 ` Milan Broz [this message]
2009-09-29 11:08 ` Alasdair G Kergon
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=4AC1A586.4080303@redhat.com \
--to=mbroz@redhat.com \
--cc=lvm-devel@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.