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

Minimum required kernel version #142

Closed
andrewsali opened this issue Nov 12, 2019 · 4 comments
Closed

Minimum required kernel version #142

andrewsali opened this issue Nov 12, 2019 · 4 comments

Comments

@andrewsali
Copy link

Hi,

When trying to use the static build across hosts, we only managed to properly use the binary with relatively new kernels (in our config it works with 4.15.0-66).

On machines with older kernels (we tested 4.04 and also below, on Ubuntu and CentOS systems), the merged directory didn't work:

[salia@'h:ofs-test ] $ls -laht
ls: cannot access 'merged': Invalid argument
total 20K
drwxr-xr-x  3 salia domain users 4.0K Nov 11 15:36 workdir
drwxr-xr-x  6 salia domain users 4.0K Nov 11 15:36 .
drwxr-xr-x  2 salia domain users 4.0K Nov 11 15:36 upperdir
drwxr-xr-x  2 salia domain users 4.0K Nov 11 15:36 lowerdir
drwxrwxrwt 13 root  root         4.0K Nov 11 15:36 ..
d?????????  ? ?     ?               ?            ? merged

Is there some required minimum kernel version for using the statically built fuse-overlayfs binary?

Thanks,

Andras

@rhatdan
Copy link
Member

rhatdan commented Nov 12, 2019

I know that non root fuse-overlay mounts is not supported in a user namespace in RHEL7/Centos7. We hope to have a fix for this in RHEL7.8 release.

@andrewsali
Copy link
Author

The mount was done using sudo, in that case should it be expected to work on Centos7?

@rhatdan
Copy link
Member

rhatdan commented Nov 16, 2019

Then their might be a flag in overlay mounts that was not supported yet.

@andrewsali
Copy link
Author

Ok, thanks - closing this, for future reference to others, the minimum needed kernel version is probably somewhere between 4.04 and 4.15.

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