-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mounts using go9p report 0 byte capacity (breaking Persistent Local Volumes) #3794
Comments
I can confirm with hyperkit and virtualbox drivers, as well as when supplying Anyone have an idea how to get disk capacity plumbed through in 9p? Is it possible that 9p just doesn't allow for it? |
Same thing happens on linux.
$ df /data/mount
Filesystem 1K-blocks Used Available Use% Mounted on
192.168.99.1 0 0 0 - /data/mount
|
It seems our 9p server simply doesn't implement the needed "statfs" call. https://github.com/kubernetes/minikube/tree/master/third_party/go9p/ It seems to be a 9p2000.L feature |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle rotten |
/remove-lifecycle stale |
The clearest way to resolve this would be to implement #4324 |
closing this in favor of #4324 |
When using OSX and mounting directories into Minikube, the capacity/size of the mounts is reported as 0 by df:
How to replicate the error, including the exact command-lines used.
mkdir ~/mymount
minikube start
minikube mount ~/mymount:/data/mymount &
minikube ssh
df /data/mymount
The full output of the command that failed
df /data/mymount/
Filesystem 1K-blocks Used Available Use% Mounted on
192.168.99.1 0 0 0 - /data/mymount
The background is that I'm trying to use Persistent Local Volumes with Minikube and OSX, with the static provisioner to create the PVs. This provisioner fails to create the PVs because the capacity of the mounts is seen by Minikube as being 0. (StackOverflow link to issue here: https://stackoverflow.com/questions/54993532/how-to-use-kubernetes-persistent-local-volumes-with-minikube-on-osx).
I get the same error if I use:
OSX Mojave (10.14.3)
Minikube v0.34.1
Kubernetes v1.13.3
The text was updated successfully, but these errors were encountered: