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

[RHEL-10.0] Error when specifying minimum_io_size with --vdosettings for VDO in lvcreate command

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • rhel-10.0
    • rhel-9.6, rhel-10.0
    • lvm2 / VDO
    • None
    • lvm2-2.03.28-2.el10
    • No
    • Moderate
    • rhel-sst-logical-storage
    • ssg_filesystems_storage_and_HA
    • 13
    • 15
    • 2
    • QE ack, Dev ack
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None

      What were you trying to do that didn't work?

      When running the lvcreate command with the option --vdosettings minimum_io_size=512 for creating a VDO volume, the command fails with the error:
      VDO minimum io size 512 is unsupported [512, 4096].

       

      However, using --config=allocation/vdo_minimum_io_size=512 works:

      1. lvcreate --vdo -L 10G --config allocation/vdo_minimum_io_size=512 vg
        WARNING: vdo signature detected on /dev/vg/vpool0 at offset 0. Wipe it? [y/n]: y
          Wiping vdo signature on /dev/vg/vpool0.
            Logical blocks defaulted to 1569686 blocks.
            The VDO volume can address 6.00 GB in 3 data slabs, each 2.00 GB.
            It can grow to address at most 16.00 TB of physical storage in 8192 slabs.
            If a larger maximum size might be needed, use bigger slabs.
          Logical volume "lvol0" created.

        What is the impact of this issue to you?

      This prevents users from specifying the minimum_io_size with --vdosettings option.

      Please provide the package NVR for which the bug is seen:

      lvm2-2.03.27-1.el10

      How reproducible is this bug?:

      always

      Steps to reproduce

      1. vgcreate vg /dev/sda
      2. lvcreate --vdo -L 10G --vdosettings minimum_io_size=512 vg
          VDO minimum io size 512 is unsupported [512, 4096].
          Run `lvcreate --help' for more information.

      Expected results

      The lvcreate command should allow the creation of a VDO volume with a supported minimum_io_size, or provide a clear validation and error message.

      Actual results

      The command fails with an error message stating that the minimum_io_size of 512 is unsupported:

       VDO minimum io size 512 is unsupported [512, 4096].
        Run `lvcreate --help' for more information.

              mcsontos@redhat.com Marian Csontos
              rhn-support-fsuba Filip Suba
              lvm-team lvm-team
              Filip Suba Filip Suba
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated: