Richard W.M. Jones
2015-Dec-22 08:32 UTC
[Libguestfs] IRC question: can virt-sparsify output to stdout instead of a file?
01:19 < bananapie> without using a named pipe, can virt-sparsify output to stdout instead of a file? 01:20 < bananapie> called from a bash script* 01:43 < bananapie> if I use a named pipe, it says 'Could not refresh total sector count: Operation not permitted' 02:33 < bananapie> ok. I found the answer, virt-sparsify doesn't read linearly, so named pipes doesn't work :( No. However, for copying mode (not --inplace), the longer answer is it could be modified to make it work: https://rwmj.wordpress.com/2014/10/14/streaming-nbd-server/#content Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW
Seemingly Similar Threads
- Re: [libvirt-users] virt-sparsify changing the apparent-size of files
- Re: virt-sparsify failed (was: [oVirt Jenkins] ovirt-system-tests_basic-suite-master_nightly - Build # 479 - Failure!)
- Re: Fwd: [Bug 1277705] virt-sparsify --in-place should not sparsify a snapshot
- [virt-tools-list] Possible bug, problem with virt-sparsify image format detection
- Re: virt-sparsify failed (was: [oVirt Jenkins] ovirt-system-tests_basic-suite-master_nightly - Build # 479 - Failure!)