Displaying 3 results from an estimated 3 matches for "guestmout".
Did you mean:
guestmount
2013 Dec 10
2
virsh attach makes qcow2 format disk to raw format
Hi all
I have a problem when I use `virsh attach` to attach a qcow2 disk to vm without argument --subdirver=qcow2
and this makes the qcow2 disk become a raw format disk, and the data in this disk is missing in guest os
and also I have used guestmout to confirm this, the same result.
Is there any way to let me find back the data in this disk ?
the version of libvirt and kvm is :
Compiled against library: libvir 0.9.8
Using library: libvir 0.9.8
Using API: QEMU 0.9.8
Running hypervisor: QEMU 1.0.0
Best Regards
Li Yuezhou
2018 Jun 29
2
guestmount only
...ect introspection ............... no
bash completion ..................... yes
compilation goes well :
make
...
mv podwrapper.1-t podwrapper.1
make[2]: Leaving directory '/tmp/libguestfs-1.38.2'
make[1]: Leaving directory '/tmp/libguestfs-1.38.2'
but installation does not install guestmout (or even guestunmount) and ends
in an error :
make DESTDIR="/tmp/test/" install
...
make[4]: Entering directory '/tmp/libguestfs-1.38.2/po'
make[4]: *** No rule to make target '../builder/index-parse.c', needed by
'libguestfs.pot'. Stop.
make[4]: Leaving director...
2013 Dec 12
0
Re: virsh attach makes qcow2 format disk to raw format
...09:03 PM, lyz_pro@163.com wrote:
> Hi all
>
> I have a problem when I use `virsh attach` to attach a qcow2 disk to vm without argument --subdirver=qcow2
> and this makes the qcow2 disk become a raw format disk, and the data in this disk is missing in guest os
> and also I have used guestmout to confirm this, the same result.
The format of a file is important. By default, libvirt refuses to probe
a file for its format, because any raw file can contain contents that
look like any other format, making libvirt and/or qemu misbehave if the
guest abused the raw contents to intentionally re...