-
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
9p mount fails with >650 files in a directory: 'too small read size for dir entry' ecode 22 #1753
Comments
I'm encountering something similar with a node_modules folder containing 912 individual folders. For me, I just get an empty directory. When running minikube mount with
Oddly it appears that only directory listing is affected. If I attempt to go directly to a particular path, it succeeds. This is with the following:
I have gone as high as using this:
|
I'm facing the same behavior with
|
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. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/reopen AFAICT, this makes minikube completely unusable with npm?? |
@Diggsey: you can't re-open an issue/PR unless you authored it or you are assigned to it. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
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. |
Confirmed with v1.1.0. Reproduction instructions: Host:
In VM:
Logs:
Every file adds 70 + (length of filename) to the offset, so at 30 characters per filename, this breaks at around 660 files in a single directory. I suspect the Go 9p server we use was not designed to handle so many files in a directory. As an alternative, one can setup NFS or use file sync. I suspect we'll need a better 9p server. |
This issue will likely remain open until we drop support for 9p. Alternatively, if someone wants to attack the go9p source code to solve the issue at the root, help wanted! |
I have the same issue |
@tstromberg has anyone tried to integrate this still-active go9p implementation? It looks like the one currently in the repository has not been maintained for a long time. If nobody has tried it yet I can give it a stab, though I'm pretty much brand new to Go so it'll take me a while to muddle through it. |
@MPLew-is - no, but I would be exceedingly happy to see that transition happen! Let me (or the #minikube Slack channel) know if you need any help. |
Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT
Minikube version (use
minikube version
): v0.21.0Environment:
cat ~/.minikube/machines/minikube/config.json | grep DriverName
): virtualbox 5.1.8 r111374cat ~/.minikube/machines/minikube/config.json | grep -i ISO
orminikube ssh cat /etc/VERSION
): minikube-v0.23.0.isoWhat happened:
I use the new flag
minikube mount --msize 104857600
, and I tried some values from the default value 262144(256KB) to 104857600(100MB), still can not mount thealembic versions
directory, that contains about total644
(same filename with different ext,.py
and.pyc
) files, and filename length is average30
character.But when I remove all the
.pyc
files to reduce the total file number to322
, it can be mounted.Debug log is below:
What you expected to happen:
Directory should be mounted
How to reproduce it (as minimally and precisely as possible):
Anything else do we need to know:
The text was updated successfully, but these errors were encountered: