Skip to content
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

canot ready directory 'xyz/': Unknown error 526 #8732

Closed
artemkozlenkov opened this issue Jul 16, 2020 · 9 comments
Closed

canot ready directory 'xyz/': Unknown error 526 #8732

artemkozlenkov opened this issue Jul 16, 2020 · 9 comments
Labels
kind/support Categorizes issue or PR as a support question. triage/needs-information Indicates an issue needs more information in order to work on it.

Comments

@artemkozlenkov
Copy link

Hello everybody, I'm running into this on ls -la /node_modules
for the mounted folder inside the minikube cluster,

issue1562

PR1705

but still no luck.

the folder size is 187 mb only, how big should --msize be?
Any help would be much appreciated.

@priyawadhwa priyawadhwa added the kind/support Categorizes issue or PR as a support question. label Jul 16, 2020
@priyawadhwa
Copy link

Hey @artemkoslenkov thanks for opening this issue. What version of minikube are you running?

@artemkozlenkov
Copy link
Author

Hey @artemkoslenkov thanks for opening this issue. What version of minikube are you running?

Hi there,

minikube version: v1.11.0
commit: 57e2f55

@artemkozlenkov
Copy link
Author

artemkozlenkov commented Jul 16, 2020

Hey @artemkoslenkov thanks for opening this issue. What version of minikube are you running?

Hi there,

minikube version: v1.11.0
commit: 57e2f55

just upgraded to v1.12.0

docker mount $HOME/path/to/node/project:/var/www/front

docker ssh -> cd ../../var/www/front/node_modules --> 'ls -la` = "ls: reading directory '.': Unknown error 526"

basicaly any folder related operations (r+w+x) will throw error 526

@medyagh
Copy link
Member

medyagh commented Jul 29, 2020

@artemkoslenkov what driver are you using ? do you have same issue with any other driver that minikube supports ?
docker or kvm2 or hyperkit ...

@medyagh
Copy link
Member

medyagh commented Jul 29, 2020

/triage needs-information
/triage support

@k8s-ci-robot k8s-ci-robot added the triage/needs-information Indicates an issue needs more information in order to work on it. label Jul 29, 2020
@artemkozlenkov
Copy link
Author

/triage needs-information
/triage support

Hi, I'm using kvm2 driver on ubuntu, haven't checked with other drivers.

May it be related to what's mentioned here https://minikube.sigs.k8s.io/docs/handbook/mount/ regarding folders > 600 files issue? In node_modules this may definitely be the case.

How to work around this case?

Many thanks,
Artem.

@sharifelgamal
Copy link
Collaborator

You can use driver mounts as an alternative to 9p mounting, although that isn't supported in kvm2. It would require use of another driver (virtualbox perhaps?).

@artemkozlenkov
Copy link
Author

artemkozlenkov commented Sep 2, 2020

You can use driver mounts as an alternative to 9p mounting, although that isn't supported in kvm2. It would require use of another driver (virtualbox perhaps?).

thanks for your reply, however, this sounds more like jigery pokery © solution, that's why i consider changing the way I handle dependencies for Node and instead of mounting node_modules simply run npm install inside the container or minikube node, this is however, impo, not consitent with mount concept.

@Esteban-Cruz
Copy link

I faced this same issue a few days ago, I could solve it tho by booting my cluster up and mounting the directory running this:

minikube start --driver=docker --mount-string="local_path:target_path" --mount

For this you would have to have docker daemon up and running.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question. triage/needs-information Indicates an issue needs more information in order to work on it.
Projects
None yet
Development

No branches or pull requests

6 participants