Bug 1685301
Summary: | native vdo creation|activation should not be allowed in shared activation mode | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Corey Marthaler <cmarthal> |
Component: | lvm2 | Assignee: | David Teigland <teigland> |
lvm2 sub component: | LVM lock daemon / lvmlockd | QA Contact: | cluster-qe <cluster-qe> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | medium | ||
Priority: | high | CC: | agk, heinzm, jbrassow, mcsontos, pasik, prajnoha, teigland, zkabelac |
Version: | 8.0 | ||
Target Milestone: | rc | ||
Target Release: | 8.0 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | lvm2-2.03.11-0.2.20201103git8801a86.el8 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-05-18 15:01:41 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
2019-03-04 22:42:49 UTC
pushed to master https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=82e270c18a76d68e2efc28a194bca2e428c18fae $ lvcreate --type vdo -n vv -L 5G test Logical blocks defaulted to 523108 blocks. The VDO volume can address 2 GB in 1 data slab. It can grow to address at most 16 TB of physical storage in 8192 slabs. If a larger maximum size might be needed, use bigger slabs. Logical volume "vv" created. $ lvchange -an test/vv $ lvchange -asy test/vv Shared activation not compatible with LV type vdo-pool of test/vpool0 Failed to lock logical volume test/vv. Fix verified in the latest rpms. kernel-4.18.0-259.el8.dt4 BUILT: Sat Dec 12 14:40:07 CST 2020 lvm2-2.03.11-0.3.20201210git9fe7aba.el8 BUILT: Thu Dec 10 09:44:53 CST 2020 lvm2-libs-2.03.11-0.3.20201210git9fe7aba.el8 BUILT: Thu Dec 10 09:44:53 CST 2020 [root@host-087 ~]# lvcreate --activate sy --type vdo -n my_vdo -L 6G testvg WARNING: vdo signature detected on /dev/testvg/vpool0 at offset 0. Wipe it? [y/n]: y Wiping vdo signature on /dev/testvg/vpool0. Logical blocks defaulted to 523108 blocks. The VDO volume can address 2 GB in 1 data slab. It can grow to address at most 16 TB of physical storage in 8192 slabs. If a larger maximum size might be needed, use bigger slabs. Shared activation not compatible with LV type vdo-pool of testvg/vpool0 Failed to lock logical volume testvg/my_vdo. Failed to activate new LV testvg/my_vdo. [root@host-087 ~]# lvcreate --activate ey --type vdo -n my_vdo -L 6G testvg WARNING: vdo signature detected on /dev/testvg/vpool0 at offset 0. Wipe it? [y/n]: y Wiping vdo signature on /dev/testvg/vpool0. Logical blocks defaulted to 523108 blocks. The VDO volume can address 2 GB in 1 data slab. It can grow to address at most 16 TB of physical storage in 8192 slabs. If a larger maximum size might be needed, use bigger slabs. Logical volume "my_vdo" created. [root@host-087 ~]# lvs -a -o +devices LV VG Attr LSize Pool Origin Data% Devices my_vdo testvg vwi-a-v--- 1.99g vpool0 0.00 vpool0(0) vpool0 testvg dwi------- 6.00g 66.69 vpool0_vdata(0) [vpool0_vdata] testvg Dwi-ao---- 6.00g /dev/sda1(0) [root@host-087 ~]# lvchange -asy testvg/my_vdo Shared activation not compatible with LV type vdo-pool of testvg/vpool0 Failed to lock logical volume testvg/my_vdo. 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 (lvm2 bug fix and enhancement update), 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/RHBA-2021:1659 |