I want to create create a qcow2
image for a virtual disk size of 7G
so I'm doing virsh_pool=/home/test/abc
and then
qemu-img create “${virsh_pool}/foo.qcow2” 7G
But it gives me an error like
Formatting '“”/home/test/abc”/foo.qcow2”', fmt=raw size=7516192768
qemu-img: “”/home/test/abc”/foo.qcow2”: Could not create file: No such file or directory
When I do
qemu-img create /home/test/abc/foo.qcow 7G
It gets created but not the above way that I wan to do. What am I missing or doing wrong in this way?.