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

qemu-img convert to scsi_debug block fails for Invalid argument [rhel9.8]

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhel-9.8
    • qemu-kvm / Storage
    • None
    • Yes
    • Important
    • rhel-virt-storage
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

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

      qemu-img conver to scsi_debug block fails with Invalid argument 

      What is the impact of this issue to you?

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

      qemu-kvm-10.1.0-5.el9

      kernel-5.14.0-640.el9.x86_64

      How reproducible is this bug?:

      100%

      Steps to reproduce

      # dd if=/dev/zero of=test.raw count=1024 bs=1024K
      1024+0 records in
      1024+0 records out
      1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.280021 s, 3.8 GB/s
      
      # lsscsi | grep 'scsi_debug' | awk '{print $NF}'
      /dev/sdb                            8:16   0    1G  0 disk 
      
      # qemu-img convert -f raw -t none -O raw test.raw /dev/sdb
      qemu-img: /dev/sdb: error while converting raw: Failed to clear the new image's first sector: Invalid argument
      

      Expected results

      Converting successes

      Actual results

      Failed as above.

              virt-maint virt-maint
              timao@redhat.com Tingting Mao
              virt-maint virt-maint
              Tingting Mao Tingting Mao
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: