| Summary: | nosync mirror is extended even when it reports "cannot be extended while it is recovering" | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Corey Marthaler <cmarthal> |
| Component: | lvm2 | Assignee: | Peter Rajnoha <prajnoha> |
| Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.3 | CC: | agk, dwysocha, heinzm, jbrassow, mbroz, nperic, prajnoha, prockai, thornber, zkabelac |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | lvm2-2.02.95-1.el6 | Doc Type: | Bug Fix |
| Doc Text: |
No documentation needed.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-06-20 15:00:59 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 791145 | ||
|
Description
Corey Marthaler
2012-01-30 22:54:59 UTC
Just missing correct return value in lv_extend fn, patch in 2.02.91. [0] nostromo/~ # lvcreate -l 25%FREE -m 1 --nosync --corelog vg WARNING: New mirror won't be synchronised. Don't read what you didn't write! Logical volume "lvol0" created [0] nostromo/~ # lvs vg/lvol0 LV VG Attr LSize Pool Origin Data% Move Log Copy% Convert lvol0 vg Mwi-a-m- 764.00m 100.00 [0] nostromo/~ # lvchange -an vg/lvol0 [0] nostromo/~ # lvchange -ay vg/lvol0 [0] nostromo/~ # lvextend -L +100M vg/lvol0 Extending 2 mirror images. Extending logical volume lvol0 to 864.00 MiB vg/lvol0 cannot be extended while it is recovering. [0] nostromo/~ # lvs vg/lvol0 LV VG Attr LSize Pool Origin Data% Move Log Copy% Convert lvol0 vg Mwi-a-m- 764.00m 41.88 ... [0] nostromo/~ # lvs LV VG Attr LSize Pool Origin Data% Move Log Copy% Convert lvol0 vg Mwi-a-m- 764.00m 100.00 [0] nostromo/~ # lvextend -L +100M vg/lvol0 Extending 2 mirror images. Extending logical volume lvol0 to 864.00 MiB Logical volume lvol0 successfully resized [0] nostromo/~ # lvs vg/lvol0 LV VG Attr LSize Pool Origin Data% Move Log Copy% Convert lvol0 vg Mwi-a-m- 864.00m 100.00 (07:12:14) [root@node02:~]$ lvs LV VG Attr LSize Pool Origin Data% Move Log Copy% Convert lv_root VolGroup -wi-ao-- 7.54g lv_swap VolGroup -wi-ao-- 1.97g lvol0 vg Mwi-a-m- 4.76g 35.44 (07:12:24) [root@node02:~]$ lvextend -L +150M vg/lvol0 Rounding up size to full physical extent 152.00 MiB Extending 2 mirror images. Extending logical volume lvol0 to 4.91 GiB vg/lvol0 cannot be extended while it is recovering. Verified with: lvm2-libs-2.02.95-3.el6.x86_64 lvm2-cluster-2.02.95-3.el6.x86_64 lvm2-2.02.95-3.el6.x86_64 cmirror-2.02.95-3.el6.x86_64 device-mapper-1.02.74-3.el6.x86_64 device-mapper-libs-1.02.74-3.el6.x86_64 device-mapper-event-1.02.74-3.el6.x86_64 device-mapper-event-libs-1.02.74-3.el6.x86_64
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:
No documentation needed.
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 |