How to sync disk write?

Discussions related to using VirtualBox on Linux hosts.
Post Reply
seiken
Posts: 1
Joined: 17. Jun 2008, 13:36

How to sync disk write?

Post by seiken »

Is there any way to manually sync data that might be sitting in VM disk cache so to be sure I don't lose any data if power down accidentally occurs?
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Post by TerryE »

I've just been going through the source in this area and VBox doesn't have a disk cache other than the image block pointers which it writes back to the file system on update anyway. So if your host is Linux why not just sync the host file system ?
Post Reply