Bug 1389546 - LVM striped: Can no longer create LVs with more than 8 stripes
Summary: LVM striped: Can no longer create LVs with more than 8 stripes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: lvm2
Version: 7.2
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: rc
: ---
Assignee: Heinz Mauelshagen
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
: 1393296 1393301 (view as bug list)
Depends On:
Blocks: 1289208 1384842 1459654
TreeView+ depends on / blocked
 
Reported: 2016-10-27 20:36 UTC by Jonathan Earl Brassow
Modified: 2021-09-03 12:52 UTC (History)
16 users (show)

Fixed In Version: lvm2-2.02.169-1.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1459654 (view as bug list)
Environment:
Last Closed: 2017-08-01 21:49:49 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:2222 0 normal SHIPPED_LIVE lvm2 bug fix and enhancement update 2017-08-01 18:42:41 UTC

Description Jonathan Earl Brassow 2016-10-27 20:36:23 UTC
RHEL7.3
# lvcreate -i 9 -L 1G -n striped vg
  Using default stripesize 64.00 KiB.
  Only up to 8 stripes in striped supported currently.
  Run `lvcreate --help' for more information.

RHEL7.2
# lvcreate -i 9 -L 1G -n striped vg
  Using default stripesize 64.00 KiB.
  Rounding size (256 extents) up to stripe boundary size (261 extents).
  Logical volume "striped" created.
# lvs -o name,attr,segtype,stripes vg
  LV      Attr       Type    #Str
  striped -wi-a----- striped    9

Comment 2 Peter Rajnoha 2016-11-09 11:51:52 UTC
*** Bug 1393301 has been marked as a duplicate of this bug. ***

Comment 3 Peter Rajnoha 2016-11-09 12:29:44 UTC
*** Bug 1393296 has been marked as a duplicate of this bug. ***

Comment 4 Matus Kocka 2016-12-02 13:22:39 UTC
Is there any fix for this issue?

Comment 7 Heinz Mauelshagen 2017-03-10 17:57:56 UTC
Upstream commit 2fcbe34fe85f

Comment 10 Corey Marthaler 2017-04-19 16:20:23 UTC
Fix verified in the latest 7.4 rpms.

3.10.0-651.el7.x86_64
lvm2-2.02.170-2.el7    BUILT: Thu Apr 13 14:37:43 CDT 2017
lvm2-libs-2.02.170-2.el7    BUILT: Thu Apr 13 14:37:43 CDT 2017
lvm2-cluster-2.02.170-2.el7    BUILT: Thu Apr 13 14:37:43 CDT 2017
device-mapper-1.02.139-2.el7    BUILT: Thu Apr 13 14:37:43 CDT 2017
device-mapper-libs-1.02.139-2.el7    BUILT: Thu Apr 13 14:37:43 CDT 2017
device-mapper-event-1.02.139-2.el7    BUILT: Thu Apr 13 14:37:43 CDT 2017
device-mapper-event-libs-1.02.139-2.el7    BUILT: Thu Apr 13 14:37:43 CDT 2017
device-mapper-persistent-data-0.7.0-0.1.rc6.el7    BUILT: Mon Mar 27 10:15:46 CDT 2017



[root@host-126 ~]# lvcreate --type striped -i 9 -L 1G VG
  Using default stripesize 64.00 KiB.
  Rounding size 1.00 GiB (256 extents) up to stripe boundary size <1.02 GiB(261 extents).
  Logical volume "lvol0" created.

[root@host-126 ~]# lvcreate --type raid0 -i 9 -L 1G VG
  Using default stripesize 64.00 KiB.
  Rounding size 1.00 GiB (256 extents) up to stripe boundary size <1.02 GiB(261 extents).
  Logical volume "lvol1" created.

[root@host-126 ~]# lvcreate --type raid0_meta -i 9 -L 1G VG
  Using default stripesize 64.00 KiB.
  Rounding size 1.00 GiB (256 extents) up to stripe boundary size <1.02 GiB(261 extents).
  Logical volume "lvol2" created.

[root@host-126 ~]# lvcreate --type raid4 -i 9 -L 1G VG
  Using default stripesize 64.00 KiB.
  Rounding size 1.00 GiB (256 extents) up to stripe boundary size <1.02 GiB(261 extents).
  Logical volume "lvol3" created.

[root@host-126 ~]# lvcreate --type raid5 -i 9 -L 1G VG
  Using default stripesize 64.00 KiB.
  Rounding size 1.00 GiB (256 extents) up to stripe boundary size <1.02 GiB(261 extents).
  Logical volume "lvol4" created.

[root@host-126 ~]# lvcreate --type raid6 -i 9 -L 1G VG
  Using default stripesize 64.00 KiB.
  Rounding size 1.00 GiB (256 extents) up to stripe boundary size <1.02 GiB(261 extents).
  Logical volume "lvol5" created.

[root@host-126 ~]# lvcreate --type raid10 -i 9 -L 1G VG
  Using default stripesize 64.00 KiB.
  Rounding size 1.00 GiB (256 extents) up to stripe boundary size <1.02 GiB(261 extents).
  Logical volume "lvol6" created.

[root@host-126 ~]# lvs -o lv_name,segtype,stripes
  LV    Type       #Str
  lvol0 striped       9
  lvol1 raid0         9
  lvol2 raid0_meta    9
  lvol3 raid4        10
  lvol4 raid5        10
  lvol5 raid6        11
  lvol6 raid10       18

Comment 14 errata-xmlrpc 2017-08-01 21:49:49 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://access.redhat.com/errata/RHBA-2017:2222


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