blob: 1272755557ccfdc02c93b7df61999ae81225369d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
qemu-img can't create qcow2 file on nfs path,which report error(Image is not in qcow2 format)
Description of problem:
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#)
Steps to reproduce:

**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.

|