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

RFE: Allow virDomainBlockResize of disk with <slice type='storage' offset='0' size='321'/>

    • libvirt-10.0.0-1.el9
    • rhel-sst-virtualization-storage
    • ssg_virtualization
    • 20
    • 26
    • 3
    • QE ack, Dev ack
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • 10.0.0
    • None

      When a disk is configured with

       <slice type='storage' offset='0' size='321'/>
      

      it can't be resized with virDomainBlockResize:

      $ virsh blockresize cdmig vda 100000000
      error: Failed to resize block device 'vda'
      error: internal error: unable to execute QEMU command 'block_resize': Cannot resize fixed-size raw disks
      

      This feature is needed for CNV to allow resizing the disks after non-shared-storage migration where they need to add a slice to ensure that the migration succeeds.

              pkrempa@redhat.com Peter Krempa
              afrosirh Alice Frosi
              Chunfu Wen
              virt-maint virt-maint
              Meina Li Meina Li
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: