share partition with createrawvmdk method

Discussions related to using VirtualBox on Linux hosts.
Post Reply
hcimadomo
Posts: 4
Joined: 15. Sep 2008, 16:34

share partition with createrawvmdk method

Post by hcimadomo »

hello,
i use "createrawvmdk" internal command to create an access of a partition for my guest ( my host is ubuntu hardy and my guest is windows xp).
It work well: i can view, in read/write access, the partition in my host system (using a classic mount command) and in my guest system (using disk manager).
However, the view of filesystem is not synchronized: if i create a folder "test" in guest, i don't see it in host until i unmount/remount the partition. It's same in the other direction : if i create a folder "test1" in host, i don't see it in guest until i reboot.
I presume it's due to .vmdk layer. How resolve it ?

thank for your help

PS : VB 2.0.2 on ubuntu 8.04 (hardy heron) 32 bits.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

It's not advised to have the RAW Disk Access partition mounted in the Host System. It can give errors on the file table, trashing it completely and produce data loss. If you want to be able to access the whole disk on both systems at the same time, use Shared Folders or Network Shares. See the manual for how to set up SF.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply