Bug 1366745

Summary: what does stripesize have to do with mirror creation?
Product: Red Hat Enterprise Linux 7 Reporter: Corey Marthaler <cmarthal>
Component: lvm2Assignee: Alasdair Kergon <agk>
lvm2 sub component: Mirroring and RAID QA Contact: cluster-qe <cluster-qe>
Status: CLOSED ERRATA Docs Contact:
Severity: low    
Priority: unspecified CC: agk, heinzm, jbrassow, mnavrati, msnitzer, prajnoha, prockai, zkabelac
Version: 7.3   
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: lvm2-2.02.164-2.el7 Doc Type: No Doc Update
Doc Text:
Intra-release bug, no documentation needed.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 04:17:21 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 2016-08-12 17:01:45 UTC
Description of problem:

# 7.2 (lvm2-2.02.130-5.el7_2.5.x86_64)
[root@host-006 ~]# lvcreate -m 1 --type mirror -n transform -L 25M test
  Rounding up size to full physical extent 28.00 MiB
  Logical volume "transform" created.




# current 7.3 (lvm2-2.02.163-1.el7) mirror attempt
[root@host-082 ~]# lvcreate -m 1 --type mirror -n transform -L 25M test
  Using default stripesize 64.00 KiB.
  Rounding up size to full physical extent 28.00 MiB
  Logical volume "transform" created.

# current 7.3 raid1 attempt
[root@host-082 ~]# lvcreate -m 1 --type raid1 -n transform -L 25M test
  Rounding up size to full physical extent 28.00 MiB
  Logical volume "transform" created.

Comment 2 Alasdair Kergon 2016-08-15 16:27:10 UTC
It's supported if there's more than one stripe.  Otherwise the message needs removing.

Comment 5 Corey Marthaler 2016-08-17 20:32:59 UTC
Fix verified in the latest rpms. Stripe message is no longer present.


[root@host-123 ~]# lvcreate -m 1 --type mirror -n transform -L 25M raid_sanity
  Rounding up size to full physical extent 28.00 MiB
  Logical volume "transform" created.

[root@host-123 ~]# lvcreate -m 1 --type raid1 -n transform1 -L 25M raid_sanity
  Rounding up size to full physical extent 28.00 MiB
  Logical volume "transform1" created.


3.10.0-493.el7.bz1367223.x86_64

lvm2-2.02.164-2.el7    BUILT: Tue Aug 16 05:43:50 CDT 2016
lvm2-libs-2.02.164-2.el7    BUILT: Tue Aug 16 05:43:50 CDT 2016
lvm2-cluster-2.02.164-2.el7    BUILT: Tue Aug 16 05:43:50 CDT 2016
device-mapper-1.02.133-2.el7    BUILT: Tue Aug 16 05:43:50 CDT 2016
device-mapper-libs-1.02.133-2.el7    BUILT: Tue Aug 16 05:43:50 CDT 2016
device-mapper-event-1.02.133-2.el7    BUILT: Tue Aug 16 05:43:50 CDT 2016
device-mapper-event-libs-1.02.133-2.el7    BUILT: Tue Aug 16 05:43:50 CDT 2016
device-mapper-persistent-data-0.6.3-1.el7    BUILT: Fri Jul 22 05:29:13 CDT 2016
cmirror-2.02.164-2.el7    BUILT: Tue Aug 16 05:43:50 CDT 2016
sanlock-3.4.0-1.el7    BUILT: Fri Jun 10 11:41:03 CDT 2016
sanlock-lib-3.4.0-1.el7    BUILT: Fri Jun 10 11:41:03 CDT 2016
lvm2-lockd-2.02.164-2.el7    BUILT: Tue Aug 16 05:43:50 CDT 2016

Comment 7 errata-xmlrpc 2016-11-04 04:17:21 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-2016-1445.html