First off, my physical system setup:
I'm running a Windows server 2008 R2 on a Lenovo W510, with one 160Gb SSD and one 300Gb HHD. I've got an Intel i7 CPU and I'm running 12 Gigs of ram. My VM engine is VirtualBox 4.1.4, after painfully realising that Hyper-V is useless (the main reason for running Win 2008 server in the first place. But I'm too lazy to reinstall my windows 7).
This is my requirement:
I have set up a number of different VM's which all need to share data. I also wish the same data to be available to the host.
This is how I've tried to do this:
I've got a separate physical disk (D:) set up for data storage. I've created a vmdk for this using;
- Code: Select all Expand viewCollapse view
VBoxManage internalcommands createrawvmdk -filename D:\DDisk.vmdk -rawdisk \\.\PhysicalDrive1
I then used the Virtual media manager to state that the medium is "Shareable", through "Modify medium attributes". The vmdk is attached to several VM's, as a secondary SATA drive.
Problem:
When running inside one of my VM's, any operation done on files (creating/deleting/modifying) in the shared vmdk (which I thought provided direct access to my physical drive) will not be reflected if I browse the same files from my host. All file changes done inside the VM are lost when the VM is restarted. This makes the shared vmdk unusable for my purpose. What can I do to gain absolute access to my physical disk inside my VM's (except adding them as shared network folders, because that just sucks as far as usability is concearned)?
