Bug 855171
Summary: | thinpool volume mirror conversion attempt fails | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Corey Marthaler <cmarthal> |
Component: | lvm2 | Assignee: | Zdenek Kabelac <zkabelac> |
Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.3 | CC: | agk, dwysocha, heinzm, jbrassow, msnitzer, prajnoha, prockai, thornber, zkabelac |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | lvm2-2.02.98-1.el6 | Doc Type: | Bug Fix |
Doc Text: |
Unsupported conversion of thin pool into a mirror had resulted into a aborting log error message.
Explicit check which prohibits this conversion even before tool tries to do that has been added, so the error message gives clean explicit note about unsupported feature.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2013-02-21 08:13:19 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
2012-09-06 21:21:03 UTC
Looks like no mirroring should be attempted with thin pools, and that the check only works w/ raid1 mirrors? [root@taft-01 ~]# lvconvert --type raid1 -m 1 snapper_thinp/POOL '--mirrors/-m' is not compatible with thin-pool Prohibited as unsupported yet: https://www.redhat.com/archives/lvm-devel/2012-October/msg00025.html Fix verified in the latest rpms. 2.6.32-348.el6.x86_64 lvm2-2.02.98-6.el6 BUILT: Thu Dec 20 07:00:04 CST 2012 lvm2-libs-2.02.98-6.el6 BUILT: Thu Dec 20 07:00:04 CST 2012 lvm2-cluster-2.02.98-6.el6 BUILT: Thu Dec 20 07:00:04 CST 2012 udev-147-2.43.el6 BUILT: Thu Oct 11 05:59:38 CDT 2012 device-mapper-1.02.77-6.el6 BUILT: Thu Dec 20 07:00:04 CST 2012 device-mapper-libs-1.02.77-6.el6 BUILT: Thu Dec 20 07:00:04 CST 2012 device-mapper-event-1.02.77-6.el6 BUILT: Thu Dec 20 07:00:04 CST 2012 device-mapper-event-libs-1.02.77-6.el6 BUILT: Thu Dec 20 07:00:04 CST 2012 cmirror-2.02.98-6.el6 BUILT: Thu Dec 20 07:00:04 CST 2012 SCENARIO - [pool_to_conversion] Attempt to convert a thinp pool device to mirror, raid1, raid4, raid5, and raid6 Making origin volume Creating thinpool and corresponding thin virtual volumes (one to be used as an origin) lvcreate --thinpool POOL -L 4G snapper_thinp lvcreate --virtualsize 1G --thinpool snapper_thinp/POOL -n origin lvcreate --virtualsize 1G --thinpool snapper_thinp/POOL -n other1 lvcreate --virtualsize 1G --thinpool snapper_thinp/POOL -n other2 lvcreate --virtualsize 1G --thinpool snapper_thinp/POOL -n other3 lvcreate --virtualsize 1G --thinpool snapper_thinp/POOL -n other4 lvcreate --virtualsize 1G --thinpool snapper_thinp/POOL -n other5 Making snapshot of origin volume lvcreate -s /dev/snapper_thinp/origin -n pool_convert Attempt mirror conversion of pool device... lvconvert -m 1 snapper_thinp/POOL Converting segment type for snapper_thinp/POOL to mirror is not yet supported. Attempt raid1 conversion of pool device... lvconvert --type raid1 -m 1 snapper_thinp/POOL '--mirrors/-m' is not compatible with thin-pool Attempt raid4 conversion of pool device... lvconvert --type raid4 -i 2 snapper_thinp/POOL Converting the segment type for snapper_thinp/POOL from thin-pool to raid4 is not yet supported. Attempt raid5 conversion of pool device... lvconvert --type raid5 -i 2 snapper_thinp/POOL Converting the segment type for snapper_thinp/POOL from thin-pool to raid5 is not yet supported. Attempt raid6 conversion of pool device... lvconvert --type raid6 -i 3 snapper_thinp/POOL Converting the segment type for snapper_thinp/POOL from thin-pool to raid6 is not yet supported. 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. http://rhn.redhat.com/errata/RHBA-2013-0501.html |