Skip to content
This repository has been archived by the owner on Dec 22, 2018. It is now read-only.

Patch Ganesha to use device number as fsid for overlayfs #63

Merged
merged 1 commit into from
Jan 17, 2017

Conversation

wongma7
Copy link
Contributor

@wongma7 wongma7 commented Jan 13, 2017

fixes https://github.com/kubernetes-incubator/nfs-provisioner/issues/60

Still need to test this doesn't break anything. appears to work fine with overlayfs & devicemapper storage drivers. Opened nfs-ganesha/nfs-ganesha#140 to ask for help.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jan 13, 2017
@wongma7 wongma7 changed the title Patch Ganesha to use device number as fsid for overlayfs WIP Patch Ganesha to use device number as fsid for overlayfs Jan 13, 2017
@wongma7
Copy link
Contributor Author

wongma7 commented Jan 17, 2017

Tested working (read/write to shares) with overlay, overlay2, devicemapper. Also did as thorough a look as I could through ganesha that this doesn't break anything. Based on the ability to configure what type of fsid to use https://github.com/nfs-ganesha/nfs-ganesha/blob/next/src/config_samples/config.txt#L348, including device #, I believe this is safe. The problem with using that config option is, it only re-indexes existing "fs-fsid"s, so if the fs-fsid was discarded from the beginning it won't help.

@wongma7 wongma7 changed the title WIP Patch Ganesha to use device number as fsid for overlayfs Patch Ganesha to use device number as fsid for overlayfs Jan 17, 2017
@wongma7 wongma7 merged commit 7083920 into kubernetes-retired:master Jan 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants