Bug 2187747 - vdo snapshot origin resize paradox
Summary: vdo snapshot origin resize paradox
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: lvm2
Version: 9.3
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Zdenek Kabelac
QA Contact: cluster-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-18 15:15 UTC by Corey Marthaler
Modified: 2023-08-10 15:41 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-155061 0 None None None 2023-04-18 15:17:21 UTC

Description Corey Marthaler 2023-04-18 15:15:53 UTC
Description of problem:
This worked when inactive in rhel9.2, but it appears it no longer does in the latest 9.3 build.

[root@grant-01 ~]# lvs -a -o +devices
  LV               VG            Attr       LSize    Pool     Origin Data%  Meta%  Move Log Cpy%Sync Convert Devices              
  snap             vdo_sanity    swi-a-s---    6.00g          vdo_lv 0.01                                    /dev/nvme1n1p1(12800)
  vdo_lv           vdo_sanity    owi-a-s---  100.00g vdo_pool                                                vdo_pool(0)          
  vdo_pool         vdo_sanity    dwi-------   50.00g                 10.25                                   vdo_pool_vdata(0)    
  [vdo_pool_vdata] vdo_sanity    Dwi-ao----   50.00g                                                         /dev/nvme1n1p1(0)   
 
[root@grant-01 ~]# lvextend --yes -L +500M vdo_sanity/vdo_lv 
  Snapshot origin volumes can be resized only while inactive: try lvchange -an.
[root@grant-01 ~]# lvchange -an vdo_sanity/vdo_lv
[root@grant-01 ~]# lvextend --yes -L +500M vdo_sanity/vdo_lv 
  Cannot resize inactive VDO logical volume vdo_sanity/vdo_lv.
[root@grant-01 ~]# lvchange -ay vdo_sanity/vdo_lv
[root@grant-01 ~]# lvextend --yes -L +500M vdo_sanity/vdo_lv 
  Snapshot origin volumes can be resized only while inactive: try lvchange -an.


Version-Release number of selected component (if applicable):
kernel-5.14.0-284.11.1.el9_2    BUILT: Wed Apr 12 04:16:55 PM CEST 2023
lvm2-2.03.20-2.el9    BUILT: Thu Apr  6 01:40:29 PM CEST 2023
lvm2-libs-2.03.20-2.el9    BUILT: Thu Apr  6 01:40:29 PM CEST 2023


Note You need to log in before you can comment on or make changes to this bug.