| Summary: | LVM RAID: Unable to activate RAID device with a failed device | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Jonathan Earl Brassow <jbrassow> |
| Component: | lvm2 | Assignee: | Jonathan Earl Brassow <jbrassow> |
| Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.2 | CC: | agk, cmarthal, dwysocha, heinzm, jbrassow, mbroz, prajnoha, prockai, thornber, zkabelac |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | lvm2-2.02.95-1.el6 | Doc Type: | Bug Fix |
| Doc Text: |
New Feature to 6.3. No documentation required.
Bug 732458 is the bug that requires a release note for the RAID features. Other documentation is found in the LVM manual.
Operational bugs need no documentation because they are being fixed before their initial release.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-06-20 15:01:21 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Jonathan Earl Brassow
2012-02-13 19:38:38 UTC
The bug was introduced in commit 02f6f4902fd90709f55e2e97e969ee28c2945c81, but fixed in 9159aec6f1eb36e70ed11691e0704ccf8a718c8f. These are intra-release (2.02.90) commits, so as long as we pull in everything or nothing we should be ok. Fix verified in the latest rpms. 2.6.32-262.el6.x86_64 lvm2-2.02.95-5.el6 BUILT: Thu Apr 19 10:29:01 CDT 2012 lvm2-libs-2.02.95-5.el6 BUILT: Thu Apr 19 10:29:01 CDT 2012 lvm2-cluster-2.02.95-5.el6 BUILT: Thu Apr 19 10:29:01 CDT 2012 udev-147-2.41.el6 BUILT: Thu Mar 1 13:01:08 CST 2012 device-mapper-1.02.74-5.el6 BUILT: Thu Apr 19 10:29:01 CDT 2012 device-mapper-libs-1.02.74-5.el6 BUILT: Thu Apr 19 10:29:01 CDT 2012 device-mapper-event-1.02.74-5.el6 BUILT: Thu Apr 19 10:29:01 CDT 2012 device-mapper-event-libs-1.02.74-5.el6 BUILT: Thu Apr 19 10:29:01 CDT 2012 cmirror-2.02.95-5.el6 BUILT: Thu Apr 19 10:29:01 CDT 2012 # RAID BEFORE A FAILURE [root@taft-02 ~]# lvs -a -o +devices LV VG Attr LSize Copy% Devices synced_primary_raid1_2legs_1 black_bird rwi-aom- 500.00m 100.00 synced_primary_raid1_2legs_1_rimage_0(0),synced_primary_raid1_2legs_1_rimage_1(0),synced_primary_raid1_2legs_1_rimage_2(0) [synced_primary_raid1_2legs_1_rimage_0] black_bird iwi-aor- 500.00m /dev/sdc1(1) [synced_primary_raid1_2legs_1_rimage_1] black_bird iwi-aor- 500.00m /dev/sdb1(1) [synced_primary_raid1_2legs_1_rimage_2] black_bird iwi-aor- 500.00m /dev/sdh1(1) [synced_primary_raid1_2legs_1_rmeta_0] black_bird ewi-aor- 4.00m /dev/sdc1(0) [synced_primary_raid1_2legs_1_rmeta_1] black_bird ewi-aor- 4.00m /dev/sdb1(0) [synced_primary_raid1_2legs_1_rmeta_2] black_bird ewi-aor- 4.00m /dev/sdh1(0) # RAID AFTER A FAILURE [root@taft-02 ~]# lvs -a -o +devices /dev/sdc1: read failed after 0 of 512 at 145669554176: Input/output error /dev/sdc1: read failed after 0 of 512 at 145669664768: Input/output error /dev/sdc1: read failed after 0 of 512 at 0: Input/output error /dev/sdc1: read failed after 0 of 512 at 4096: Input/output error /dev/sdc1: read failed after 0 of 2048 at 0: Input/output error Couldn't find device with uuid 8sibWI-ls8I-NeNt-tVbI-C1l3-VHJ4-kpSJck. LV VG Attr LSize Copy% Devices synced_primary_raid1_2legs_1 black_bird rwi-aom- 500.00m 100.00 synced_primary_raid1_2legs_1_rimage_0(0),synced_primary_raid1_2legs_1_rimage_1(0),synced_primary_raid1_2legs_1_rimage_2(0) [synced_primary_raid1_2legs_1_rimage_0] black_bird iwi-aor- 500.00m unknown device(1) [synced_primary_raid1_2legs_1_rimage_1] black_bird iwi-aor- 500.00m /dev/sdb1(1) [synced_primary_raid1_2legs_1_rimage_2] black_bird iwi-aor- 500.00m /dev/sdh1(1) [synced_primary_raid1_2legs_1_rmeta_0] black_bird ewi-aor- 4.00m unknown device(0) [synced_primary_raid1_2legs_1_rmeta_1] black_bird ewi-aor- 4.00m /dev/sdb1(0) [synced_primary_raid1_2legs_1_rmeta_2] black_bird ewi-aor- 4.00m /dev/sdh1(0) [root@taft-02 ~]# vgchange -an black_bird /dev/sdc1: read failed after 0 of 512 at 145669554176: Input/output error /dev/sdc1: read failed after 0 of 512 at 145669664768: Input/output error /dev/sdc1: read failed after 0 of 512 at 0: Input/output error /dev/sdc1: read failed after 0 of 512 at 4096: Input/output error /dev/sdc1: read failed after 0 of 2048 at 0: Input/output error Couldn't find device with uuid 8sibWI-ls8I-NeNt-tVbI-C1l3-VHJ4-kpSJck. 0 logical volume(s) in volume group "black_bird" now active # ACTIVATE ATTEMPT W/O THE --PARTIAL FLAG [root@taft-02 ~]# vgchange -ay black_bird Couldn't find device with uuid 8sibWI-ls8I-NeNt-tVbI-C1l3-VHJ4-kpSJck. Refusing activation of partial LV synced_primary_raid1_2legs_1. Use --partial to override. 0 logical volume(s) in volume group "black_bird" now active # ACTIVATE ATTEMPT W/ THE --PARTIAL FLAG [root@taft-02 ~]# vgchange --partial -ay black_bird Partial mode. Incomplete logical volumes will be processed. Couldn't find device with uuid 8sibWI-ls8I-NeNt-tVbI-C1l3-VHJ4-kpSJck. 1 logical volume(s) in volume group "black_bird" now active [root@taft-02 ~]# lvs -a -o +devices Couldn't find device with uuid 8sibWI-ls8I-NeNt-tVbI-C1l3-VHJ4-kpSJck. LV VG Attr LSize Copy% Devices synced_primary_raid1_2legs_1 black_bird rwi-a-m- 500.00m 100.00 synced_primary_raid1_2legs_1_rimage_0(0),synced_primary_raid1_2legs_1_rimage_1(0),synced_primary_raid1_2legs_1_rimage_2(0) [synced_primary_raid1_2legs_1_rimage_0] black_bird iwi-a-r- 500.00m unknown device(1) [synced_primary_raid1_2legs_1_rimage_1] black_bird iwi-aor- 500.00m /dev/sdb1(1) [synced_primary_raid1_2legs_1_rimage_2] black_bird iwi-aor- 500.00m /dev/sdh1(1) [synced_primary_raid1_2legs_1_rmeta_0] black_bird ewi-a-r- 4.00m unknown device(0) [synced_primary_raid1_2legs_1_rmeta_1] black_bird ewi-aor- 4.00m /dev/sdb1(0) [synced_primary_raid1_2legs_1_rmeta_2] black_bird ewi-aor- 4.00m /dev/sdh1(0)
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
New Feature to 6.3. No documentation required.
Bug 732458 is the bug that requires a release note for the RAID features. Other documentation is found in the LVM manual.
Operational bugs need no documentation because they are being fixed before their initial release.
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. http://rhn.redhat.com/errata/RHBA-2012-0962.html |