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

1.44/FUSE3: Unable to "mount" / unknown option 'nonempty' #1094

Closed
onlyjob opened this issue Oct 27, 2019 · 4 comments
Closed

1.44/FUSE3: Unable to "mount" / unknown option 'nonempty' #1094

onlyjob opened this issue Oct 27, 2019 · 4 comments

Comments

@onlyjob
Copy link

onlyjob commented Oct 27, 2019

$ weed mount -dir=/mnt/weed
This is SeaweedFS version 8000GB 1.44 linux amd64
mount point owner uid=1000 gid=1000 mode=drwxr-xr-x
2019-10-27 21:06:47.946233 I | mount helper error: fusermount: unsafe option suid ignored
2019-10-27 21:06:47.946258 I | mount helper error: fusermount: unknown option 'nonempty'
F1027 21:06:47 22621 mount_std.go:116] fusermount: exit status 1
$ fusermount -V
fusermount3 version: 3.4.1
@chrislusf
Copy link
Collaborator

https://gitlab.com/BuildStream/buildstream/issues/860

This issue happens on Debian where package fuse3 provides both fusermount3 and fusermount.

In FUSE 3, nonempty is always true, and has been removed. By default it is false on FUSE 2.

chrislusf added a commit that referenced this issue Oct 27, 2019
@chrislusf
Copy link
Collaborator

Seems later fusermount versions removed the option, I added a commit to remove the option for linux.

@onlyjob
Copy link
Author

onlyjob commented Mar 22, 2020

This is still not fixed. I've just attempted to mount but it fails even on 1.67:

$ ./weed mount -dir=/mnt/weed -filer=192.168.0.5:8888 -dataCenter=dc1
I0322 11:39:40  2565 config.go:30] Reading : Config File "security" Not Found in "[/var/tmp/weed /home/{USER}/.seaweedfs /etc/seaweedfs]"
This is SeaweedFS version 8000GB 1.67 linux amd64
mount point owner uid=1000 gid=1000 mode=drwxr-xr-x
2020-03-22 11:39:40.134754 I | mount helper error: fusermount: unknown option 'nonempty'
I0322 11:39:40  2565 mount_std.go:128] mount: fusermount: exit status 1

Please reopen.

chrislusf added a commit that referenced this issue Mar 22, 2020
@chrislusf
Copy link
Collaborator

Add a fix to make nonempty optional.

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