librelist archives

« back to archive

[Bug][solved] Downloading files from virtual hard disk

[Bug][solved] Downloading files from virtual hard disk

From:
yeswanth swami
Date:
2011-07-27 @ 17:59
HI,

*Problem* : Problem downloading files from virtual hard disk .

*Source of the problem*: VirtualBox creates a diff image after snapshot and
so libguestfs cannot access the original disk files.

*Solution* : Using two disks instead of one and using the second disk in
"write-through" which prevents the second disk to be snapshot.

*Implementation *: Currently libvirt doesnt "write-through" mode for disks .
But the support will be added soon enough(hopefully by next release)

So temporarily we are going for a hack to solve this problem.

*Hack*: Use VBoxManage command to make a disk in "write-through" which
prevents the disk to be snapshotted .




-- 
Cheers,
Yeswanth