-
Notifications
You must be signed in to change notification settings - Fork 75
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
Some files in a glusterfs mount do not appear. #137
Comments
Hm... this is weird, because what the virtiofs device in libkrun does is simply call SYS_getdents64, just as any conventional userspace application. Reproducing this one is going to be complicated, but I'll try to set up a test environment with glusterfs soon(ish). |
@slp I haven't found a minimal reproduction yet but there is some additional behaviour that actually I didn't spot before and now I have a theory, here I notice the folder appears if I create enough files:
So what I'm noticing is I have a two node gluster setup.
It just so happens brick2 is the gluster mount: I am wondering if there is some bind propogation problem occurring here where gluster is using submounts to unify the various connected bricks, I tried using (Note: |
Unsure of the cause yet but will try and find a reproducible example to update the issue with.
I have a glusterfs disk (mounted with
mount -t glusterfs node:/gv0 /mnt
) which is then mounted into a container with krun and podman:podman --runtime=/usr/local/bin/krun -v /mnt:/mnt
which for some reason does not display some files, of a rough 30,000 files, about 10% of them simple do not appear in the VM. All permissions are correct and running withcrun
orpodman machine
does not have this problem.I notice that this doesn't seem to be a file based problem though, but more that no files appear in certain folders, I can
touch /mnt/foo/test.txt
for example where/mnt/foo
is one such affected folder and the file will appear on the host, but still not show in the VM. Any files placed, or created in this folder whether by the VM or the host are invisible to the container.The text was updated successfully, but these errors were encountered: