I have the full blockchain downloaded on a local USB external drive. This works fine if accessed directly from the host machine (Ubuntu-Desktop).
However, If I try to load bitcoind from a VirtualBox VM (Ubuntu-Server), the local blockchain seems to get corrupted and I have to rebuild the index again.
Why is this happening and how do I stop this from happening when using VirtualBox?