id = 946 title = "qemu-img can't create qcow2 file on nfs path,which report error(Image is not in qcow2 format)" state = "closed" created_at = "2022-03-29T03:24:32.606Z" closed_at = "2022-03-29T07:54:28.017Z" labels = ["Storage", "qemu-img"] url = "https://gitlab.com/qemu-project/qemu/-/issues/946" host-os = "centos 8" host-arch = "x86" qemu-version = "QEMU emulator version 5.0.0" guest-os = "n/a" guest-arch = "n/a" description = """I mount a nfs disk on my host,and use qemu-img to create a qcow2 file on this nfs path,but it not work,i have no idea,This problem has come up before in red-hat community: [BUGID:1817640](https://bugzilla.redhat.com/show_bug.cgi?id=1817640#)""" reproduce = """![image](/uploads/ff131e4be09699ae3a1226f7cf1358ba/image.png) **strace file:** [qemu-img-strace.log](/uploads/85517b7550ba1ea459f85cfd37b74332/qemu-img-strace.log) See form this strace file,in the line 1077,we can see pread64 read result is empty,it casuse the error,but i don't know why the resulut is empty. ![image](/uploads/8861295db3c9bbddbc19596d97bbb126/image.png)""" additional = "n/a"