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

fstype is checked at wrong folder lever #280

Open
NickJH opened this issue Nov 14, 2018 · 2 comments
Open

fstype is checked at wrong folder lever #280

NickJH opened this issue Nov 14, 2018 · 2 comments

Comments

@NickJH
Copy link

NickJH commented Nov 14, 2018

When container-storage-setup is run it fails with:
ERROR: XFS filesystem at /var has ftype=0, cannot use overlay backend; consider different driver or separate volume or OS reprovision

The message is correct insomuch that /var is on a partition with ftype=0, but I have mounted /var/lib/docker from a partition which has ftype=1 which allows docker to start without the ftype warnings. Shouldn't container-storage-setup also be using /var/lib/docker and not /var when testing for ftype?

@rhvgoyal
Copy link
Collaborator

I guess we could. /var/lib/docker is not present when run for the first time. We could improve it to first check for /var/lib/docker otherwise fall back to check on /var.

@NickJH
Copy link
Author

NickJH commented Nov 16, 2018

That sounds like a plan.

Would it be better to test /var/lib before testing /var as it is conceivable that it could be being mounted from a different filesystem than /var. Is there any risk of /var/lib not existing on a system?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants