-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
rhel-9.8
-
None
-
Yes
-
Important
-
rhel-virt-storage
-
None
-
False
-
False
-
-
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.