Bug 1698225 - Region size is smaller than the chunk size
Summary: Region size is smaller than the chunk size
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: lvm2
Version: 8.0
Hardware: x86_64
OS: Linux
urgent
low
Target Milestone: rc
: 8.0
Assignee: Heinz Mauelshagen
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-09 20:29 UTC by Corey Marthaler
Modified: 2021-09-07 11:49 UTC (History)
9 users (show)

Fixed In Version: lvm2-2.03.07-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-28 16:58:57 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-26242 0 None None None 2021-09-07 11:49:14 UTC
Red Hat Product Errata RHEA-2020:1881 0 None None None 2020-04-28 16:59:11 UTC

Description Corey Marthaler 2019-04-09 20:29:52 UTC
Description of problem:

[root@host-083 ~]# pvscan
  PV /dev/vda2   VG rhel_host-083   lvm2 [<7.00 GiB / 1.40 GiB free]
  PV /dev/sda1   VG my_vg           lvm2 [<29.99 GiB / <29.99 GiB free]
  PV /dev/sdb1   VG my_vg           lvm2 [<29.99 GiB / <29.99 GiB free]
  PV /dev/sdc1   VG my_vg           lvm2 [<29.99 GiB / <29.99 GiB free]
  PV /dev/sdd1   VG my_vg           lvm2 [<29.99 GiB / <29.99 GiB free]
  PV /dev/sde1   VG my_vg           lvm2 [<29.99 GiB / <29.99 GiB free]
  PV /dev/sdf1   VG my_vg           lvm2 [<29.99 GiB / <29.99 GiB free]
  PV /dev/sdg1   VG my_vg           lvm2 [<29.99 GiB / <29.99 GiB free]
  PV /dev/sdh1   VG my_vg           lvm2 [<29.99 GiB / <29.99 GiB free]
  Total: 9 [246.90 GiB] / in use: 9 [246.90 GiB] / in no VG: 0 [0   ]

[root@host-083 ~]# lvcreate --type raid6 -i 3 -L 1G --stripesize 4096 -n my_lv my_vg
  Rounding size 1.00 GiB (256 extents) up to stripe boundary size <1.01 GiB(258 extents).
  device-mapper: reload ioctl on  (253:16) failed: Invalid argument
  Failed to activate new LV my_vg/my_lv.

[449299.250813] device-mapper: table: 253:16: raid: Region size is smaller than the chunk size
[449299.257839] device-mapper: ioctl: error adding target to table


Version-Release number of selected component (if applicable):
kernel-4.18.0-74.el8    BUILT: Wed Feb 27 12:52:17 CST 2019
lvm2-2.03.02-6.el8    BUILT: Fri Feb 22 04:47:54 CST 2019
lvm2-libs-2.03.02-6.el8    BUILT: Fri Feb 22 04:47:54 CST 2019
lvm2-dbusd-2.03.02-6.el8    BUILT: Fri Feb 22 04:50:28 CST 2019
device-mapper-1.02.155-6.el8    BUILT: Fri Feb 22 04:47:54 CST 2019
device-mapper-libs-1.02.155-6.el8    BUILT: Fri Feb 22 04:47:54 CST 2019
device-mapper-event-1.02.155-6.el8    BUILT: Fri Feb 22 04:47:54 CST 2019
device-mapper-event-libs-1.02.155-6.el8    BUILT: Fri Feb 22 04:47:54 CST 2019
device-mapper-persistent-data-0.7.6-1.el8    BUILT: Sun Aug 12 04:21:55 CDT 2018

Comment 2 Heinz Mauelshagen 2019-11-26 21:33:40 UTC
lvm2 commits:
master -> 29db9c6325ac3552b0ba3a0f49682e8e8112cca2
stable-2.02 -> 50c56ade2a7a89f751091669fb8b31854f93eff1

Comment 4 Roman Bednář 2019-12-10 12:26:04 UTC
Verified.

# pvscan
  PV /dev/vda2   VG rhel_virt-365   lvm2 [<7.00 GiB / 0    free]
  PV /dev/sda    VG vg              lvm2 [<30.00 GiB / <30.00 GiB free]
  PV /dev/sdb    VG vg              lvm2 [<30.00 GiB / <30.00 GiB free]
  PV /dev/sdc    VG vg              lvm2 [<30.00 GiB / <30.00 GiB free]
  PV /dev/sdd    VG vg              lvm2 [<30.00 GiB / <30.00 GiB free]
  PV /dev/sde    VG vg              lvm2 [<30.00 GiB / <30.00 GiB free]
  PV /dev/sdf    VG vg              lvm2 [<30.00 GiB / <30.00 GiB free]
  PV /dev/sdg    VG vg              lvm2 [<30.00 GiB / <30.00 GiB free]
  PV /dev/sdh    VG vg              lvm2 [<30.00 GiB / <30.00 GiB free]
  PV /dev/sdi    VG vg              lvm2 [<30.00 GiB / <30.00 GiB free]
  PV /dev/sdj    VG vg              lvm2 [<30.00 GiB / <30.00 GiB free]
  Total: 11 [<306.96 GiB] / in use: 11 [<306.96 GiB] / in no VG: 0 [0   ]


# lvcreate --type raid6 -i 3 -L 1G --stripesize 4096 -n my_lv vg
  Adjusting raid6 2.00 MiB region size to required minimum of stripe size 4.00 MiB.
  Rounding size 1.00 GiB (256 extents) up to stripe boundary size <1.01 GiB(258 extents).
  Logical volume "my_lv" created.

lvm2-2.03.07-1.el8.x86_64

Comment 6 errata-xmlrpc 2020-04-28 16:58:57 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/RHEA-2020:1881


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