Thanks, Nikolay,<br><br>I meant that I hacked kernel a little to get information about file, data buffer, buffer size and offset in file. And it's ok. I'm only not sure that I'll have working backup if do it while VB is running. I understand that the best solution - suspend VB and copy, but it's less interestin, because I'll have pauses in VB work.<br>
<br>Sergey<br><br><div class="gmail_quote">2010/3/30 Nikolay Igotti <span dir="ltr"><<a href="mailto:Nikolay.Igotti@sun.com">Nikolay.Igotti@sun.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
šHi Sergey,<br>
<br>
Not sure what you mean by "I'm controlling write function to vdi file from kernel", but in general it's possible to use FS's (such as ZFS) snapshotting capability to take snapshots of live VMs image.<br>

OTOH to be 100% safe, I would pause VM, flush OS write buffers with 'sync', and then copy underlying .vdi.<br>
If you assume image to change insignificantly, maybe it would make sense to take snapshot once image stabilized, and only backup differences.<br>
<br>
Hope that'll help,<br>
Nikolay<br>
<br>
<br>
<br>
Sergey Malykhin ÐÉÛÅÔ:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">
Hello,<br>
<br>
I have VB running and want to make backup for vdi file. But I only need to have changed sectors. I'm controlling write function to vdi file from kernel. Can you please answer is it enough just copy it while VM is running or I need to suspend it?<br>

<br>
TIA<br></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
vbox-dev mailing list<br>
<a href="mailto:vbox-dev@virtualbox.org" target="_blank">vbox-dev@virtualbox.org</a><br>
<a href="http://vbox.innotek.de/mailman/listinfo/vbox-dev" target="_blank">http://vbox.innotek.de/mailman/listinfo/vbox-dev</a><br>
 š<br>
</blockquote>
<br>
</blockquote></div><br>