Bug 1247378
Summary: | core dump when attempting to create striped cache pool w/ one lvcreate cmdline | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Corey Marthaler <cmarthal> |
Component: | lvm2 | Assignee: | Zdenek Kabelac <zkabelac> |
lvm2 sub component: | Cache Logical Volumes | QA Contact: | cluster-qe <cluster-qe> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | medium | ||
Priority: | medium | CC: | agk, heinzm, jbrassow, msnitzer, prajnoha, zkabelac |
Version: | 7.2 | Keywords: | Triaged |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | lvm2-2.02.130-2.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-11-19 12:47:06 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
2015-07-27 20:40:29 UTC
I'll provide patch which will disable use of striping when allocating cache-pool. We can't handle such complex operation in 1 command ATM. Provided PVs are meant to be space for data & metadata LV Allocator is not set-up to handle also striping allocation at the same time. Moreover it logically fails since it's unclear if we want striped only data or metadata or both. The error is even more visible when larger number of striping is requested. Until these question are answered the only way is to disable use of striping. If user want's stripped data or metadata he currently needs to start with low-level LVs and convert them into cache-pool. Option -i is now disabled when creating cache-pool with this upstream commit: https://www.redhat.com/archives/lvm-devel/2015-September/msg00085.html Marking verified in the latest rpms. It is no longer possible to use '-i' when creating a cache pool volume. [root@host-109 ~]# lvcreate -i 1 --cachepolicy smq --type cache-pool -L 2G -n POOL2 cache_sanity /dev/sdh1 /dev/sdg1 Option --stripes is unsupported with cache pools. Run `lvcreate --help' for more information. [root@host-109 ~]# lvcreate -i 2 --cachepolicy smq --type cache-pool -L 2G -n POOL3 cache_sanity /dev/sdh1 /dev/sdg1 Option --stripes is unsupported with cache pools. Run `lvcreate --help' for more information. 3.10.0-313.el7.x86_64 lvm2-2.02.130-2.el7 BUILT: Tue Sep 15 07:15:40 CDT 2015 lvm2-libs-2.02.130-2.el7 BUILT: Tue Sep 15 07:15:40 CDT 2015 lvm2-cluster-2.02.130-2.el7 BUILT: Tue Sep 15 07:15:40 CDT 2015 device-mapper-1.02.107-2.el7 BUILT: Tue Sep 15 07:15:40 CDT 2015 device-mapper-libs-1.02.107-2.el7 BUILT: Tue Sep 15 07:15:40 CDT 2015 device-mapper-event-1.02.107-2.el7 BUILT: Tue Sep 15 07:15:40 CDT 2015 device-mapper-event-libs-1.02.107-2.el7 BUILT: Tue Sep 15 07:15:40 CDT 2015 device-mapper-persistent-data-0.5.5-1.el7 BUILT: Thu Aug 13 09:58:10 CDT 2015 cmirror-2.02.130-2.el7 BUILT: Tue Sep 15 07:15:40 CDT 2015 sanlock-3.2.4-1.el7 BUILT: Fri Jun 19 12:48:49 CDT 2015 sanlock-lib-3.2.4-1.el7 BUILT: Fri Jun 19 12:48:49 CDT 2015 lvm2-lockd-2.02.130-2.el7 BUILT: Tue Sep 15 07:15:40 CDT 2015 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 |