Files are not deleted on host when deleting many files

Discussions about using Linux guests in VirtualBox.
Post Reply
Marijn
Posts: 3
Joined: 23. Feb 2016, 13:19

Files are not deleted on host when deleting many files

Post by Marijn »

I have a very strange issue with Debian 8 en Ubuntu 14.04 boxes, which doesn't occur with older Debian versions.

When deleting many files with a script in the box on a shared folder the files are not removed on the host, while they are not visible any more on the guest. The guest thinks the files are deleted and tries to move the directory, which does not work because the directory on the host is not empty.

I added issue 15149 some time ago (including instructions to reproduce), but I don't have a reply yet. I would expect the Virtualbox shared folders to be tested extensively and if there would be a bug in it more people would have this issue.

Does anyone have an idea what could be wrong? Is there a possible Debian/Ubuntu configuration change I can do?

Thanks,

Marijn
Marijn
Posts: 3
Joined: 23. Feb 2016, 13:19

Re: Files are not deleted on host when deleting many files

Post by Marijn »

No solution yet :(

Does anyone know what Oracle premium support will cost to solve a problem like this? We have some budget in our open source project, but not much.
Martin
Volunteer
Posts: 2562
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP, Win7, Win10, Linux, OS/2

Re: Files are not deleted on host when deleting many files

Post by Martin »

Virtualbox shared folders are not designed for "heavy use", so a better solution would be to use a real file share over the network between guest and host.
Marijn
Posts: 3
Joined: 23. Feb 2016, 13:19

Re: Files are not deleted on host when deleting many files

Post by Marijn »

Hi Martin,

We tried with a NFS share as well (with https://github.com/winnfsd/winnfsd), but this kind of share has the same problem. It is hard to find other file share protocols with acceptable performance.
Post Reply