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

More inodes needed #1443

Closed
bryanlarsen opened this issue May 3, 2017 · 3 comments · Fixed by #1444
Closed

More inodes needed #1443

bryanlarsen opened this issue May 3, 2017 · 3 comments · Fixed by #1444
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@bryanlarsen
Copy link
Contributor

Is this a BUG REPORT or FEATURE REQUEST? (choose one):

Could be either, depending on view

Minikube version (use minikube version):

v0.18.0

Environment:

  • OS: Ubuntu 16.04.2 using vagrant-lxc to run inside Ubuntu 16.04.2
  • VM Driver: kvm
  • ISO version: v0.18.0
  • Install tools:
  • Others:

What happened:

Ran out of inodes.

$ df -i
Filesystem      Inodes   IUsed  IFree IUse% Mounted on
devtmpfs        245140     337 244803    1% /dev
tmpfs           256053       1 256052    1% /dev/shm
tmpfs           256053     797 255256    1% /run
tmpfs           256053      14 256039    1% /sys/fs/cgroup
tmpfs           256053      59 255994    1% /tmp
/dev/sda1      2434064 2428665   5399  100% /mnt/sda1

What you expected to happen:

Default minikube environment would have enough inodes to run a replica of a good sized production environment

How to reproduce it (as minimally and precisely as possible):

Build a good number of docker images.

Anything else do we need to know:

See #1380 for a better long term solution and more background information, but in the interim, just formatting the partition with more inodes could help a lot. We could format with mkfs.ext4 -N 20000000; a better idea might be just to choose a better inode ratio, perhaps mkfs.ext4 -T news.

@bryanlarsen
Copy link
Contributor Author

I guess this is the mkfs line here:

mkfs.ext4 -i 8192 -L $LABEL $BOOT2DOCKER_DATA

the -i 8192 option is used, lowering this to -i 4096 or even lower would increase the number of inodes, I believe.

@aaron-prindle
Copy link
Contributor

aaron-prindle commented May 3, 2017

I don't see any issue with changing the partition to have more inodes. Could you submit a PR making this change in minikube-automount? The CI will build the iso then you can test the iso w/ your workload using the CI build by running minikube start --iso-url=https://storage.googleapis.com/minikube-builds/PR_NUMBER/minikube-testing.iso

@bryanlarsen
Copy link
Contributor Author

That's pretty cool. I'm currently building locally, but it takes a long time to build an entire Linux distribution!

bryanlarsen added a commit to bryanlarsen/minikube that referenced this issue May 3, 2017
@aaron-prindle aaron-prindle added the kind/feature Categorizes issue or PR as related to a new feature. label May 3, 2017
@r2d4 r2d4 closed this as completed in #1444 May 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants