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

RFE: support conversion of LV to thin LV by setting original LV as thin-pool data

    • lvm2-2.03.23-1.el9
    • Normal
    • sst_logical_storage
    • ssg_platform_storage
    • 14
    • 18
    • 1
    • QE ack, Dev ack
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • Enhancement
    • Hide
      .Converting a standard LV to a thin LV by using `lvconvert` is now possible

      By specifying a standard logical volume (LV) as a thin pool data, you can now convert a standard LV to a thin LV by using the `lvconvert` command. With this update, you can convert existing LVs to use the thin provisioning facility.
      Show
      .Converting a standard LV to a thin LV by using `lvconvert` is now possible By specifying a standard logical volume (LV) as a thin pool data, you can now convert a standard LV to a thin LV by using the `lvconvert` command. With this update, you can convert existing LVs to use the thin provisioning facility.
    • Done
    • None

      Description of problem:

      Users with existing data in i.e. Linear, Raid, VDO LVs may need to use then with thin-provisioning. While lvm2 already supports such user through 'external' origin, there could be cases where a direct conversion to thin-pool is better solutions.

      To support this extend the 'lvconvert' with new supported conversion, that makes the original volume basically a 'data' volume for thin-pool and adds a thin volume with fully provisioned volume mapping this data.

      Such conversion should be possible to happen 'online' so user should not need to deactivate such LV.

      Expected usage:

      lvcreate -L10 -n normalLV vgname

      lvconvert --type thin vgname/normalLV

      Results with thin-pool with normalLV being represented by thin.

            zkabelac@redhat.com Zdenek Kabelac
            zkabelac@redhat.com Zdenek Kabelac
            Zdenek Kabelac Zdenek Kabelac
            Cluster QE Cluster QE
            Apurva Bhide Apurva Bhide
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: