Bug 2179430
| Summary: | allow snapshot of raid+integrity LV | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | David Teigland <teigland> |
| Component: | lvm2 | Assignee: | David Teigland <teigland> |
| lvm2 sub component: | Mirroring and RAID | QA Contact: | cluster-qe <cluster-qe> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | medium | ||
| Priority: | medium | CC: | agk, cmarthal, heinzm, jbrassow, mcsontos, msnitzer, prajnoha, zkabelac |
| Version: | 9.2 | Keywords: | Triaged |
| Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | lvm2-2.03.21-2.el9 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-11-07 08:53:33 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
David Teigland
2023-03-17 18:18:39 UTC
pushed to main: https://sourceware.org/git/?p=lvm2.git;a=commit;h=fd6e113bba5fed5ee41152cde33220294c24ce2b $ lvs -a test | grep ii ii test rwi-a-r--- 128.00m 100.00 [ii_rimage_0] test gwi-aor--- 128.00m [ii_rimage_0_iorig] 100.00 [ii_rimage_0_imeta] test ewi-ao---- 8.00m [ii_rimage_0_iorig] test -wi-ao---- 128.00m [ii_rimage_1] test gwi-aor--- 128.00m [ii_rimage_1_iorig] 100.00 [ii_rimage_1_imeta] test ewi-ao---- 8.00m [ii_rimage_1_iorig] test -wi-ao---- 128.00m [ii_rmeta_0] test ewi-aor--- 4.00m [ii_rmeta_1] test ewi-aor--- 4.00m $ lvcreate -s -L32M -n iisnap test/ii Logical volume "iisnap" created. $ lvs -a test | grep ii ii test owi-a-r--- 128.00m 100.00 [ii_rimage_0] test gwi-aor--- 128.00m [ii_rimage_0_iorig] 100.00 [ii_rimage_0_imeta] test ewi-ao---- 8.00m [ii_rimage_0_iorig] test -wi-ao---- 128.00m [ii_rimage_1] test gwi-aor--- 128.00m [ii_rimage_1_iorig] 100.00 [ii_rimage_1_imeta] test ewi-ao---- 8.00m [ii_rimage_1_iorig] test -wi-ao---- 128.00m [ii_rmeta_0] test ewi-aor--- 4.00m [ii_rmeta_1] test ewi-aor--- 4.00m iisnap test swi-a-s--- 32.00m ii 0.00 This feature is not in the latest build like mentioned in the Fixed in Version. kernel-5.14.0-284.11.1.el9_2 BUILT: Wed Apr 12 04:16:55 PM CEST 2023 lvm2-2.03.21-2.el9 BUILT: Thu May 25 12:03:04 AM CEST 2023 lvm2-libs-2.03.21-2.el9 BUILT: Thu May 25 12:03:04 AM CEST 2023 lvcreate --yes -s /dev/cache_sanity/corigin -c 64 -n fs_snap1 -L 4296704 Reducing COW size <4.10 TiB down to maximum usable size 4.00 GiB. Snapshots of raid with integrity are not supported. Hi Corey, I verified this works, tried multiple snapshots, with or without -c, I just cannot reproduce this. corigin? What is the origin LV? Can you post more details, please? I checked the code and this only happens when creating snapshot of cached raid+integrity volume, and is expected behavior Marking Verified:Tested based on initial regression tests of snapshots of raid1 and raid10 + integrity origin volumes. *NOTE* no cache or writecache + raid integrity was tested with snapshots, due to that stack not yet being turned on. kernel-5.14.0-322.el9 BUILT: Fri Jun 2 10:00:53 AM CEST 2023 lvm2-2.03.21-2.el9 BUILT: Thu May 25 12:03:04 AM CEST 2023 lvm2-libs-2.03.21-2.el9 BUILT: Thu May 25 12:03:04 AM CEST 2023 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-2023:6633 |