Bug 170864 - device-mapper mirroring backwards compatibility issue
Summary: device-mapper mirroring backwards compatibility issue
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Jonathan Earl Brassow
QA Contact: Brian Brock
URL:
Whiteboard:
: 173360 (view as bug list)
Depends On:
Blocks: 168429
TreeView+ depends on / blocked
 
Reported: 2005-10-14 19:58 UTC by Jonathan Earl Brassow
Modified: 2007-11-30 22:07 UTC (History)
4 users (show)

Fixed In Version: RHSA-2006-0132
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-03-07 20:25:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
proposed backwards compatibility patch (6.46 KB, patch)
2005-10-14 20:00 UTC, Jonathan Earl Brassow
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2005:808 0 normal SHIPPED_LIVE Important: kernel security update 2005-10-27 04:00:00 UTC
Red Hat Product Errata RHSA-2006:0132 0 qe-ready SHIPPED_LIVE Moderate: Updated kernel packages available for Red Hat Enterprise Linux 4 Update 3 2006-03-09 16:31:00 UTC

Description Jonathan Earl Brassow 2005-10-14 19:58:03 UTC
Description of problem:
The original mirroring code ignored device failures.  The current code
raises an event and blocks I/O completion notices until a user-space
daemon responds to the event.  Old LVM code would not be listening for
dm events, and would therefore leave the device in a blocking state.
This is not a big problem for RHEL, as we ship a current LVM.  However,
the pvmove code has not yet been updated to take advantage of the
event notifications - it just thinks it means the device is in-sync.
This makes pvmove believe that its done its job, but the device is
left in a blocking state.  Since pvmove may be used to move data off
of a failing device, this is not a good situation to have.

The fix is to cause the mirror code to behave as before unless a
flag is specified letting the kernel code know that it is ok to
raise events and block I/O completion.  The pvmove code (and previous
versions of LVM) will not use this flag and will get the behaviour
they expect.  Current LVM code will use the flag and will be able
to respond to the events.

Version-Release number of selected component (if applicable):
RHEL4-U2

Comment 1 Jonathan Earl Brassow 2005-10-14 20:00:41 UTC
Created attachment 119997 [details]
proposed backwards compatibility patch

This patch has not yet been reviewed or tested

Comment 3 Alasdair Kergon 2005-11-16 19:06:49 UTC
*** Bug 173360 has been marked as a duplicate of this bug. ***

Comment 7 Red Hat Bugzilla 2006-03-07 20:25:55 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2006-0132.html



Note You need to log in before you can comment on or make changes to this bug.