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

passing -n ftype=1 to mkfs.xfs for overlay2 docker storage driver support #194

Open
ravilr opened this issue Feb 1, 2017 · 2 comments
Open

Comments

@ravilr
Copy link

ravilr commented Feb 1, 2017

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/7.2_Release_Notes/technology-preview-file_systems.html

says that xfs file systems must be created with the -n ftype=1 option enabled for use as an overlay. Also, dockerd seems to have a check for this as without this, certain docker operations might misbehave.

Can d-s-s create xfs with -n ftype=1 while creating fs for the container fs volume.

@rhatdan @rhvgoyal

@rhvgoyal
Copy link
Collaborator

rhvgoyal commented Feb 2, 2017

@ravilr Though now latest xfsprogs has been modified so that by default mkfs.xfs uses ftype=1. But I guess it still makes sense to make use of it explicitly just in case user is using newer docker-storage-setup on older distribution.

@rhvgoyal
Copy link
Collaborator

rhvgoyal commented Feb 2, 2017

@shishir-a412ed Would you like to create a PR for this.

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