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 1194464 - raid4/5 creation now allows the -m option as well
Summary: raid4/5 creation now allows the -m option as well
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: lvm2
Version: 7.1
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: LVM and device-mapper development team
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-19 21:28 UTC by Corey Marthaler
Modified: 2021-09-03 12:38 UTC (History)
8 users (show)

Fixed In Version: lvm2-2.02.125-1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-19 12:46:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:2147 0 normal SHIPPED_LIVE lvm2 bug fix and enhancement update 2015-11-19 11:11:07 UTC

Description Corey Marthaler 2015-02-19 21:28:49 UTC
Description of problem:

# RHEL7.0 

[root@host-117 ~]# lvcreate --type raid4 -i 2 -m 2 -n myvol -L 600M vg
  Using default stripesize 64.00 KiB
  Mirror argument cannot be used with segment type, raid4
  Run `lvcreate --help' for more information.


# RHEL7.1 

[root@host-113 ~]# lvcreate --type raid4 -i 2 -m 2 -n myvol -L 600M vg
  Using default stripesize 64.00 KiB
  Logical volume "myvol" created.
[root@host-113 ~]# lvs -a -o +devices
  LV               VG   Attr       LSize   Cpy%Sync Devices
  myvol            vg   rwi-a-r--- 600.00m 100.00   myvol_rimage_0(0),myvol_rimage_1(0),myvol_rimage_2(0),myvol_rimage_3(0),myvol_rimage_4(0),myvol_rimage_5(0),myvol_rimage_6(0)
  [myvol_rimage_0] vg   iwi-aor--- 100.00m          /dev/sda1(1)
  [myvol_rimage_1] vg   iwi-aor--- 100.00m          /dev/sdb1(1)
  [myvol_rimage_2] vg   iwi-aor--- 100.00m          /dev/sdc1(1)
  [myvol_rimage_3] vg   iwi-aor--- 100.00m          /dev/sdd1(1)
  [myvol_rimage_4] vg   iwi-aor--- 100.00m          /dev/sde1(1)
  [myvol_rimage_5] vg   iwi-aor--- 100.00m          /dev/sdf1(1)
  [myvol_rimage_6] vg   iwi-aor--- 100.00m          /dev/sdg1(1)
  [myvol_rmeta_0]  vg   ewi-aor---   4.00m          /dev/sda1(0)
  [myvol_rmeta_1]  vg   ewi-aor---   4.00m          /dev/sdb1(0)
  [myvol_rmeta_2]  vg   ewi-aor---   4.00m          /dev/sdc1(0)
  [myvol_rmeta_3]  vg   ewi-aor---   4.00m          /dev/sdd1(0)
  [myvol_rmeta_4]  vg   ewi-aor---   4.00m          /dev/sde1(0)
  [myvol_rmeta_5]  vg   ewi-aor---   4.00m          /dev/sdf1(0)
  [myvol_rmeta_6]  vg   ewi-aor---   4.00m          /dev/sdg1(0)


Version-Release number of selected component (if applicable):
3.10.0-229.el7.x86_64
lvm2-2.02.115-3.el7    BUILT: Wed Jan 28 09:59:01 CST 2015
lvm2-libs-2.02.115-3.el7    BUILT: Wed Jan 28 09:59:01 CST 2015
lvm2-cluster-2.02.115-3.el7    BUILT: Wed Jan 28 09:59:01 CST 2015
device-mapper-1.02.93-3.el7    BUILT: Wed Jan 28 09:59:01 CST 2015
device-mapper-libs-1.02.93-3.el7    BUILT: Wed Jan 28 09:59:01 CST 2015
device-mapper-event-1.02.93-3.el7    BUILT: Wed Jan 28 09:59:01 CST 2015
device-mapper-event-libs-1.02.93-3.el7    BUILT: Wed Jan 28 09:59:01 CST 2015
device-mapper-persistent-data-0.4.1-2.el7    BUILT: Wed Nov 12 12:39:46 CST 2014
cmirror-2.02.115-3.el7    BUILT: Wed Jan 28 09:59:01 CST 2015

Comment 1 Corey Marthaler 2015-02-19 21:34:39 UTC
Appears to be another iteration of bug 842019 that was fixed in 6.4.

Comment 2 Peter Rajnoha 2015-06-17 09:13:56 UTC
Should be fixed now, see also bug #1209445.

Comment 4 Roman Bednář 2015-09-14 12:04:49 UTC
Marking as verified: 

[root@host-054 vedder-ng]# lvcreate --type raid4 -i 2 -m 2 -n myvol -L 600M vg
  Using default stripesize 64.00 KiB.
  Mirror argument cannot be used with segment type, raid4
  Run `lvcreate --help' for more information.

[root@host-054 vedder-ng]# lvcreate --type raid4 -m 2 -n myvol -L 600M vg
  Mirror argument cannot be used with segment type, raid4
  Run `lvcreate --help' for more information.

[root@host-054 vedder-ng]# lvcreate --type raid5 -m 2 -n myvol -L 600M vg
  Mirror argument cannot be used with segment type, raid5
  Run `lvcreate --help' for more information.

Verified with: 

3.10.0-315.el7.x86_64

lvm2-2.02.130-1.el7    BUILT: Wed Sep  9 02:44:18 CDT 2015
lvm2-libs-2.02.130-1.el7    BUILT: Wed Sep  9 02:44:18 CDT 2015
lvm2-cluster-2.02.130-1.el7    BUILT: Wed Sep  9 02:44:18 CDT 2015
device-mapper-1.02.107-1.el7    BUILT: Wed Sep  9 02:44:18 CDT 2015
device-mapper-libs-1.02.107-1.el7    BUILT: Wed Sep  9 02:44:18 CDT 2015
device-mapper-event-1.02.107-1.el7    BUILT: Wed Sep  9 02:44:18 CDT 2015
device-mapper-event-libs-1.02.107-1.el7    BUILT: Wed Sep  9 02:44:18 CDT 2015
device-mapper-persistent-data-0.5.5-1.el7    BUILT: Thu Aug 13 09:58:10 CDT 2015
cmirror-2.02.130-1.el7    BUILT: Wed Sep  9 02:44:18 CDT 2015

Comment 5 errata-xmlrpc 2015-11-19 12:46:10 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.

https://rhn.redhat.com/errata/RHBA-2015-2147.html


Note You need to log in before you can comment on or make changes to this bug.