Bug 1089369
| Summary: | RAID1 not successfully repaired upon failure when lvmetad is running. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Nenad Peric <nperic> |
| Component: | lvm2 | Assignee: | Petr Rockai <prockai> |
| lvm2 sub component: | Mirroring and RAID | QA Contact: | Cluster QE <mspqa-list> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | unspecified | ||
| Priority: | unspecified | CC: | agk, cmarthal, heinzm, jbrassow, msnitzer, prajnoha, prockai, zkabelac |
| Version: | 7.0 | ||
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | lvm2-2.02.115-1.el7 | Doc Type: | Bug Fix |
| Doc Text: |
Cause: When using lvmetad, dmeventd could see metadata that was not up to date at a time of a RAID volume repair.
Consequence: The repair would not proceed, as based on the outdated information, the RAID volume was healthy.
Fix: The repair code now forces a refresh of metadata for the PVs that host the RAID volume.
Result: Automatic RAID volume repair using dmeventd and manual repair using lvconvert --repair now work as expected with or without lvmetad enabled.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-03-05 13:08:21 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1085553 | ||
| Bug Blocks: | |||
|
Description
Nenad Peric
2014-04-18 14:17:23 UTC
Forgot to write versions: lvm2-2.02.105-14.el7.x86_64 device-mapper-1.02.84-14.el7.x86_64 This is a duplicate of bug 1085553, but i'd rather allow this bug to stay open and dependent on 1085553 since it is not immediately obvious. This request was not resolved in time for the current release. Red Hat invites you to ask your support representative to propose this request, if still desired, for consideration in the next release of Red Hat Enterprise Linux. Should be fixed along with bug 1085553 and for same reason as bug 892991. This was tested with a scratch build and works in it. Jan 20 16:39:10 tardis-03 lvm[2085]: Monitoring RAID device vg-raid_lv for events. Jan 20 16:39:10 tardis-03 lvm[2085]: Monitoring mirror device vg-mirror_lv for events. Jan 20 16:39:10 tardis-03 lvm: 2 logical volume(s) in volume group "vg" now active Jan 20 16:39:10 tardis-03 lvm[2085]: vg-mirror_lv is now in-sync. Jan 20 16:42:15 tardis-03 lvm[2085]: Device #1 of raid1 array, vg-raid_lv, has failed. Jan 20 16:42:15 tardis-03 lvm[2085]: /dev/sdf1: read failed after 0 of 2048 at 0: Input/output error Jan 20 16:42:15 tardis-03 lvm[2085]: No PV label found on /dev/sdf1. Jan 20 16:42:15 tardis-03 lvm[2085]: WARNING: Device for PV Y6H7MU-ZVl5-nztA-Xlne-eANW-BgVQ-lM4KlU not found or rejected by a filter. Jan 20 16:42:23 tardis-03 lvm[2085]: Monitoring RAID device vg-raid_lv for events. Jan 20 16:42:32 tardis-03 lvm[2085]: Monitoring RAID device vg-raid_lv for events. Jan 20 16:42:32 tardis-03 lvm[2085]: Faulty devices in vg/raid_lv successfully replaced. Jan 20 16:42:32 tardis-03 lvm[2085]: raid1 array, vg-raid_lv, is not in-sync. Jan 20 16:42:32 tardis-03 lvm[2085]: raid1 array, vg-raid_lv, is not in-sync. Jan 20 16:42:34 tardis-03 lvm[2085]: device-mapper: waitevent ioctl on failed: Interrupted system call Jan 20 16:42:34 tardis-03 lvm[2085]: No longer monitoring RAID device vg-raid_lv for events. Jan 20 16:42:36 tardis-03 lvm[2085]: device-mapper: waitevent ioctl on failed: Interrupted system call Jan 20 16:42:36 tardis-03 lvm[2085]: No longer monitoring RAID device vg-raid_lv for events. Jan 20 16:42:58 tardis-03 lvm[2085]: raid1 array, vg-raid_lv, is now in-sync. Will open a separate bug for these device-mapper errors, since they appear after any raid/mirror sync has completed. Marking this one VERIFIED with: 3.10.0-223.el7.x86_64 lvm2-2.02.114-6.el7 BUILT: Tue Jan 20 14:49:01 CET 2015 lvm2-libs-2.02.114-6.el7 BUILT: Tue Jan 20 14:49:01 CET 2015 lvm2-cluster-2.02.114-6.el7 BUILT: Tue Jan 20 14:49:01 CET 2015 device-mapper-1.02.92-6.el7 BUILT: Tue Jan 20 14:49:01 CET 2015 device-mapper-libs-1.02.92-6.el7 BUILT: Tue Jan 20 14:49:01 CET 2015 device-mapper-event-1.02.92-6.el7 BUILT: Tue Jan 20 14:49:01 CET 2015 device-mapper-event-libs-1.02.92-6.el7 BUILT: Tue Jan 20 14:49:01 CET 2015 device-mapper-persistent-data-0.4.1-2.el7 BUILT: Wed Nov 12 19:39:46 CET 2014 cmirror-2.02.114-6.el7 BUILT: Tue Jan 20 14:49:01 CET 2015 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-0513.html |