问题原文
原帖链接 · mgutt · CC BY-SA 4.0
I tried the following command, but only an empty file is created on the target and the command stays open
qemu-img convert -f raw -O vmdk /dev/sda1 - | ssh foo@bar "cat > /home/foo/foobar.vmdk"
Note: sshfs is not available.
已采纳解答
原帖链接 · Benibr · CC BY-SA 4.0
Unfortunately it is not possible to write the qemu-img output to a pipe due to the fact that the output files need to be seekable
Ref: https://www.mail-archive.com/[email omitted]/msg05176.html
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
