Hide Forgot
Description of problem: [root@host-117 ~]# lvcreate -i 64 --type raid10 -L 100M -n raid6 test Using default stripesize 64.00 KiB. Only up to 64 stripes in raid10 supported currently. Run `lvcreate --help' for more information. [root@host-117 ~]# lvcreate -i 63 --type raid10 -L 100M -n raid6 test Using default stripesize 64.00 KiB. Only up to 64 stripes in raid10 supported currently. Run `lvcreate --help' for more information. [root@host-117 ~]# lvcreate -i 33 --type raid10 -L 100M -n raid6 test Using default stripesize 64.00 KiB. Only up to 64 stripes in raid10 supported currently. Run `lvcreate --help' for more information. [root@host-117 ~]# lvcreate -i 32 --type raid10 -L 100M -n raid6 test Using default stripesize 64.00 KiB. Rounding size 100.00 MiB (25 extents) up to stripe boundary size 128.00 MiB (32 extents). Number of stripes (32) must not exceed number of physical volumes (7) Version-Release number of selected component (if applicable): lvm2-2.02.164-3.el7 BUILT: Wed Aug 24 05:20:41 CDT 2016 lvm2-libs-2.02.164-3.el7 BUILT: Wed Aug 24 05:20:41 CDT 2016 lvm2-cluster-2.02.164-3.el7 BUILT: Wed Aug 24 05:20:41 CDT 2016
Number halved. https://git.fedorahosted.org/cgit/lvm2.git/commit/?id=be85c22f6591435f27380e944f4770612b3b6d3c https://www.redhat.com/archives/lvm-devel/2016-August/msg00129.html
Fix verified in the latest rpms. 3.10.0-497.el7.x86_64 lvm2-2.02.164-4.el7 BUILT: Wed Aug 31 08:47:09 CDT 2016 lvm2-libs-2.02.164-4.el7 BUILT: Wed Aug 31 08:47:09 CDT 2016 lvm2-cluster-2.02.164-4.el7 BUILT: Wed Aug 31 08:47:09 CDT 2016 device-mapper-1.02.133-4.el7 BUILT: Wed Aug 31 08:47:09 CDT 2016 device-mapper-libs-1.02.133-4.el7 BUILT: Wed Aug 31 08:47:09 CDT 2016 device-mapper-event-1.02.133-4.el7 BUILT: Wed Aug 31 08:47:09 CDT 2016 device-mapper-event-libs-1.02.133-4.el7 BUILT: Wed Aug 31 08:47:09 CDT 2016 device-mapper-persistent-data-0.6.3-1.el7 BUILT: Fri Jul 22 05:29:13 CDT 2016 [root@host-117 ~]# lvcreate -i 64 --type raid10 -L 100M -n raid6 test Using default stripesize 64.00 KiB. Only up to 32 stripes in raid10 supported currently. Run `lvcreate --help' for more information. [root@host-117 ~]# lvcreate -i 33 --type raid10 -L 100M -n raid6 test Using default stripesize 64.00 KiB. Only up to 32 stripes in raid10 supported currently. Run `lvcreate --help' for more information. [root@host-117 ~]# lvcreate -i 32 --type raid10 -L 100M -n raid6 test Using default stripesize 64.00 KiB. Rounding size 100.00 MiB (25 extents) up to stripe boundary size 128.00 MiB (32 extents). Number of stripes (32) must not exceed number of physical volumes (7)
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-2016-1445.html