Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-8322

vdo snapshot origin resize paradox

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhel-9.3.0
    • lvm2 / VDO
    • None
    • Moderate
    • sst_logical_storage
    • ssg_filesystems_storage_and_HA
    • 8
    • Hide

      Needs some thinking what to do here....

      Show
      Needs some thinking what to do here....
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None

      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

            zkabelac@redhat.com Zdenek Kabelac
            cmarthal@redhat.com Corey Marthaler
            Zdenek Kabelac Zdenek Kabelac
            Cluster QE Cluster QE
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: