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 836376

Summary: upconverting raid volumes can fail due to suspend issues
Product: Red Hat Enterprise Linux 6 Reporter: Corey Marthaler <cmarthal>
Component: lvm2Assignee: LVM and device-mapper development team <lvm-team>
Status: CLOSED DUPLICATE QA Contact: Cluster QE <mspqa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.3CC: agk, dwysocha, heinzm, jbrassow, msnitzer, prajnoha, prockai, thornber, zkabelac
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-18 11:13:26 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:

Description Corey Marthaler 2012-06-28 21:12:46 UTC
Description of problem:
Raid upconvert attempts can fail from time to time due to suspend errors.

./raid_sanity -o hayes-01 -l /home/msp/cmarthal/work/sts/sts-root -r /usr/tests/sts-rhel6.3 -e mirror_up_converts -t raid1 -i 3

============================================================
Iteration 1 of 3 started at Thu Jun 28 14:55:24 CDT 2012
============================================================
SCENARIO (raid1) - [mirror_up_converts]
Create a mirror and then attempt to up convert it
hayes-01: lvcreate --type raid1 -m 1 -n mirror_up_converts -L 100M raid_sanity
Upconvert to 2 redundant legs
raid convert (lvconvert --type raid1 -m 2 raid_sanity/mirror_up_converts)
Upconvert to 3 redundant legs
raid convert (lvconvert --type raid1 -m 3 raid_sanity/mirror_up_converts)
Upconvert to 4 redundant legs
raid convert (lvconvert --type raid1 -m 4 raid_sanity/mirror_up_converts)
Deactivating raid mirror_up_converts... and removing


============================================================
Iteration 2 of 3 started at Thu Jun 28 14:55:38 CDT 2012
============================================================
SCENARIO (raid1) - [mirror_up_converts]
Create a mirror and then attempt to up convert it
hayes-01: lvcreate --type raid1 -m 1 -n mirror_up_converts -L 100M raid_sanity
Upconvert to 2 redundant legs
raid convert (lvconvert --type raid1 -m 2 raid_sanity/mirror_up_converts)
Upconvert to 3 redundant legs
raid convert (lvconvert --type raid1 -m 3 raid_sanity/mirror_up_converts)
Upconvert to 4 redundant legs
raid convert (lvconvert --type raid1 -m 4 raid_sanity/mirror_up_converts)
Deactivating raid mirror_up_converts... and removing


============================================================
Iteration 3 of 3 started at Thu Jun 28 14:55:55 CDT 2012
============================================================
SCENARIO (raid1) - [mirror_up_converts]
Create a mirror and then attempt to up convert it
hayes-01: lvcreate --type raid1 -m 1 -n mirror_up_converts -L 100M raid_sanity
Upconvert to 2 redundant legs
raid convert (lvconvert --type raid1 -m 2 raid_sanity/mirror_up_converts)
  device-mapper: reload ioctl on  failed: Invalid argument
  Failed to suspend raid_sanity/mirror_up_converts before committing changes
  Device '/dev/etherd/e1.1p5' has been left open.
  Device '/dev/etherd/e1.1p10' has been left open.
  Device '/dev/etherd/e1.1p6' has been left open.
  Device '/dev/etherd/e1.1p7' has been left open.
  Device '/dev/etherd/e1.1p6' has been left open.
  Device '/dev/etherd/e1.1p1' has been left open.
  Device '/dev/etherd/e1.1p2' has been left open.
  Device '/dev/etherd/e1.1p5' has been left open.
  Device '/dev/etherd/e1.1p9' has been left open.
  Device '/dev/etherd/e1.1p8' has been left open.
  Device '/dev/etherd/e1.1p3' has been left open.
  Device '/dev/etherd/e1.1p4' has been left open.
  Device '/dev/etherd/e1.1p7' has been left open.
  Device '/dev/etherd/e1.1p4' has been left open.
  Device '/dev/etherd/e1.1p2' has been left open.
  Device '/dev/etherd/e1.1p8' has been left open.
  Device '/dev/etherd/e1.1p9' has been left open.
  Device '/dev/etherd/e1.1p3' has been left open.
  Device '/dev/etherd/e1.1p10' has been left open.
  Device '/dev/etherd/e1.1p1' has been left open.
should have been able to up convert mirror


Version-Release number of selected component (if applicable):
2.6.32-278.el6.x86_64
lvm2-2.02.95-10.el6    BUILT: Fri May 18 03:26:00 CDT 2012
lvm2-libs-2.02.95-10.el6    BUILT: Fri May 18 03:26:00 CDT 2012
lvm2-cluster-2.02.95-10.el6    BUILT: Fri May 18 03:26:00 CDT 2012
udev-147-2.41.el6    BUILT: Thu Mar  1 13:01:08 CST 2012
device-mapper-1.02.74-10.el6    BUILT: Fri May 18 03:26:00 CDT 2012
device-mapper-libs-1.02.74-10.el6    BUILT: Fri May 18 03:26:00 CDT 2012
device-mapper-event-1.02.74-10.el6    BUILT: Fri May 18 03:26:00 CDT 2012
device-mapper-event-libs-1.02.74-10.el6    BUILT: Fri May 18 03:26:00 CDT 2012
cmirror-2.02.95-10.el6    BUILT: Fri May 18 03:26:00 CDT 2012

Comment 2 Peter Rajnoha 2012-07-18 11:13:26 UTC

*** This bug has been marked as a duplicate of bug 836381 ***