machine-drivers / docker-machine-driver-xhyve

docker-machine/minikube/minishift driver plugin for xhyve/hyperkit (native macOS hypervisor.framework)
https://godoc.org/github.com/machine-drivers/docker-machine-driver-xhyve
BSD 3-Clause "New" or "Revised" License
888 stars 74 forks source link

Files missing within minikube mounted volume #176

Open georgecrawford opened 7 years ago

georgecrawford commented 7 years ago

Apologies; I have no idea whether this bug is due to docker-machine-driver-xhyve. But it's already been referenced at https://github.com/zchee/docker-machine-driver-xhyve/issues/112, so I want to give it its own issue.

I think I might be suffering from a similar issue as reported by @Strech here. I'm using docker-machine-driver-xhyve with minikube:

docker-machine-driver-xhyve version 0.3.2
minikube version: v0.19.0
OS X 10.12.2

On creating a fresh VM (minikube start --vm-driver=xhyve), I can see my /Users directory mounted at the same location on the VM (minikube ssh). However, I've encountered a directory where the file count is wrong:

ls -l /Users/george/[MYDIR]/ | wc && minikube ssh -- ls -l /Users/george/[MYDIR]/ | wc
      123     123    5620
      121     121    5547

I don't know how to explore this further. If there are fewer than 70 files in the directory, the file counts are the same. However, at some point over 70, the numbers diverge, as if the mount inside the minikube VM has simply not seen some of the files. They all have identical permissions.

SpencerMalone commented 7 years ago

ls -l double counts if you have symbolic links, and https://github.com/kubernetes/minikube/issues/890 reports them as not working with this driver and the mounted volumes created by minikube. Could that cause your issues?

georgecrawford commented 7 years ago

No, this wasn't a symbolic link.

georgecrawford commented 6 years ago

I'm still suffering from this same problem with minikube ISO v0.20.0 and docker-machine-driver-xhyve v0.3.3. Is there any other information I can provide to get to the bottom of the issue?