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

overlay storage driver doesn't support Windows Subsystem for Linux's lxfs #327

Closed
sunnychanwork opened this issue Apr 25, 2019 · 5 comments · Fixed by #328
Closed

overlay storage driver doesn't support Windows Subsystem for Linux's lxfs #327

sunnychanwork opened this issue Apr 25, 2019 · 5 comments · Fixed by #328
Assignees

Comments

@sunnychanwork
Copy link

see containers/podman#3000

The storage driver was trying to mount overlay on WSL's lxfs but it was unable to do so:

DEBU[0000] overlay test mount with multiple lowers failed mountfrom re-exec error: exit status 1: output: invalid argument
DEBU[0000] overlay test mount with a single lower failed mountfrom re-exec error: exit status 1: output: invalid argument

Notice that overlay fs does work under WSL:


root@HOST:~# uname -a
Linux HOST 4.4.0-17134-Microsoft #706-Microsoft Mon Apr 01 18:13:00 PST 2019 x86_64 x86_64 x86_64 GNU/Linux
root@HOST:~# mount -t overlay -o lowerdir=/tmp/lower,upperdir=/tmp/upper,workdir=/tmp/workdir none /tmp/overlay
root@HOST:~# mount | grep /tmp/overlay
none on /tmp/overlay type overlay (rw,relatime,lowerdir=/tmp/lower,upperdir=/tmp/upper,workdir=/tmp/workdir)
@rhatdan
Copy link
Member

rhatdan commented Apr 25, 2019

@nalind Any ideas? Are we adding additional arguments to the tests?

@nalind
Copy link
Member

nalind commented Apr 25, 2019

When we fell through to the single-lower test, which lets us discern whether the multi-lower test failed due to a lack of multi-lower support and not just a general overlay-not-working-on-the-lower-fs error, we were attempting the single-lower test incorrectly. #328 corrects it.

@nalind
Copy link
Member

nalind commented Apr 25, 2019

This suggests that the WSL overlay filesystem doesn't support using multiple lower directories for a single mount.

@rhatdan
Copy link
Member

rhatdan commented Apr 25, 2019

Well at least it does not if you don't specify an upper directory.

@rhatdan
Copy link
Member

rhatdan commented Apr 25, 2019

Looks like we had a bug anyways.

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

Successfully merging a pull request may close this issue.

3 participants