Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1134577

Summary: resyncing mirror extend behavior change
Product: Red Hat Enterprise Linux 6 Reporter: Corey Marthaler <cmarthal>
Component: lvm2Assignee: LVM and device-mapper development team <lvm-team>
lvm2 sub component: Mirroring and RAID (RHEL6) QA Contact: Cluster QE <mspqa-list>
Status: CLOSED ERRATA Docs Contact:
Severity: unspecified    
Priority: unspecified CC: agk, heinzm, jbrassow, msnitzer, prajnoha, prockai, tlavigne, zkabelac
Version: 6.6Keywords: Regression
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: lvm2-2.02.111-1.el6 Doc Type: Bug Fix
Doc Text:
No documentation needed - regression.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-14 08:26:00 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:
Attachments:
Description Flags
-vvvv of the extend
none
-vvvv of the extend none

Description Corey Marthaler 2014-08-27 20:19:20 UTC
Created attachment 931673 [details]
-vvvv of the extend

Description of problem:

Mirror volumes that are currently syncing are now *allowed* to be resized in the latest 6.6 build. It this the new expected behavior or a regression? It wasn't allowed in the previous 6.6 rpm build with the error "cannot be extended while it is recovering."

2.6.32-495.el6.x86_64

lvm2-2.02.110-1.el6    BUILT: Tue Aug 26 10:53:52 CDT 2014
lvm2-libs-2.02.110-1.el6    BUILT: Tue Aug 26 10:53:52 CDT 2014
lvm2-cluster-2.02.110-1.el6    BUILT: Tue Aug 26 10:53:52 CDT 2014
udev-147-2.57.el6    BUILT: Thu Jul 24 08:48:47 CDT 2014
device-mapper-1.02.89-1.el6    BUILT: Tue Aug 26 10:53:52 CDT 2014
device-mapper-libs-1.02.89-1.el6    BUILT: Tue Aug 26 10:53:52 CDT 2014
device-mapper-event-1.02.89-1.el6    BUILT: Tue Aug 26 10:53:52 CDT 2014
device-mapper-event-libs-1.02.89-1.el6    BUILT: Tue Aug 26 10:53:52 CDT 2014
device-mapper-persistent-data-0.3.2-1.el6    BUILT: Fri Apr  4 08:43:06 CDT 2014
cmirror-2.02.110-1.el6    BUILT: Tue Aug 26 10:53:52 CDT 2014

Comment 2 Corey Marthaler 2014-08-27 20:34:27 UTC
Created attachment 931675 [details]
-vvvv of the extend

This is the same command but from the .109-1 rpm

Comment 6 Corey Marthaler 2014-09-03 19:53:31 UTC
Back to normal in the latest rpms.

2.6.32-495.el6.x86_64
lvm2-2.02.111-2.el6    BUILT: Mon Sep  1 06:46:43 CDT 2014
lvm2-libs-2.02.111-2.el6    BUILT: Mon Sep  1 06:46:43 CDT 2014
lvm2-cluster-2.02.111-2.el6    BUILT: Mon Sep  1 06:46:43 CDT 2014
udev-147-2.57.el6    BUILT: Thu Jul 24 08:48:47 CDT 2014
device-mapper-1.02.90-2.el6    BUILT: Mon Sep  1 06:46:43 CDT 2014
device-mapper-libs-1.02.90-2.el6    BUILT: Mon Sep  1 06:46:43 CDT 2014
device-mapper-event-1.02.90-2.el6    BUILT: Mon Sep  1 06:46:43 CDT 2014
device-mapper-event-libs-1.02.90-2.el6    BUILT: Mon Sep  1 06:46:43 CDT 2014
device-mapper-persistent-data-0.3.2-1.el6    BUILT: Fri Apr  4 08:43:06 CDT 2014
cmirror-2.02.111-2.el6    BUILT: Mon Sep  1 06:46:43 CDT 2014


[root@host-050 ~]# lvs -a -o +devices
  LV                              Attr       LSize Cpy%Sync Devices
  resync_mirror_extend            Mwi-a-m--- 1.00g    75.39 resync_mirror_extend_mimage_0(0),resync_mirror_extend_mimage_1(0)
  [resync_mirror_extend_mimage_0] Iwi-aom--- 1.00g          /dev/sdb2(0)
  [resync_mirror_extend_mimage_1] Iwi-aom--- 1.00g          /dev/sdb1(0)

[root@host-050 ~]# lvextend -L +500M mirror_sanity/resync_mirror_extend
  Extending 2 mirror images.
  mirror_sanity/resync_mirror_extend cannot be extended while it is recovering.

Comment 7 errata-xmlrpc 2014-10-14 08:26:00 UTC
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-2014-1387.html