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

Issue with sharing mounted files over NFS #120

Open
dorihoile opened this issue Aug 19, 2023 · 4 comments
Open

Issue with sharing mounted files over NFS #120

dorihoile opened this issue Aug 19, 2023 · 4 comments

Comments

@dorihoile
Copy link

I'm having issues sharing over NFS files/directories that I mounted.

I tried mounting some files in single file mode in various subdirectories, and when sharing the top directory with NFS non of the files are accessible from the NFS client. Other files that are "actually" in the directory and subdirectories are accessible in the NFS mount.

I do manage to create an NFS share of the exact directory I mounted and access the file.

I also manage to create a SMB share with the directories and subdirectories of files I mounted without any issues.

I think there is some weird behavior of the project with NFS making mounting in subdirectories problematic.

Do you have any experience with the issue? Or any ideas for solutions?

Thanks in advance

@fangfufu
Copy link
Owner

@dorihoile
Copy link
Author

I tried this, but couldn't get it to work either unfortunately

unlike the post, I'm not getting permission denied messages for the files I mounted, they aren't appearing whatsoever in the directories, neither in GUI or through the terminal.
After adding the setting to fuse.conf I unmounted and remounted, restarted the NFS server, restarted the device and nothing seemed to change.
I also tried adding the allow_other option in the actual mount command itself but that didn't seem to make a difference.

This is my NFS share config *(rw,no_subtree_check,crossmnt)
and I'm using the --cache and --single-file-mode options when running HTTPDirFS

@dorihoile
Copy link
Author

I just tried setting fsid=0 and fsid=root alongside with the -o allow_root flag instead of the allow_user but that didn't seem to work either unfortunately

@fangfufu
Copy link
Owner

unlike the post, I'm not getting permission denied messages for the files I mounted, they aren't appearing whatsoever in the directories, neither in GUI or through the terminal.

Does it work without re-sharing under NFS?

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