mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 21:35:58 +03:00
[GH-ISSUE #981] s3fs double mounting itself on mount -a #544
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#544
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @muryoutaisuu on GitHub (Mar 14, 2019).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/981
Version of s3fs being used (s3fs --version)
Version of fuse being used (pkg-config --modversion fuse, rpm -qi fuse, dpkg -s fuse)
Kernel information (uname -r)
GNU/Linux Distribution, if applicable (cat /etc/os-release)
s3fs command line used, if applicable
/etc/fstab entry, if applicable
s3fs syslog messages (grep s3fs /var/log/syslog, journalctl | grep s3fs, or s3fs outputs)
if you execute s3fs with dbglevel, curldbg option, you can get detail debug messages
Details about issue
Not sure if this is a
s3fs-fuseor a RHEL7 fuse bug.It's possible to overmount an s3fs-fuse mount with the command
mount -a. I'd expect it to work like other local mounts: first check if already mounted, if not then mount, if yes then don't do anything.How to reproduce
mount | grep s3fsmount -amount | grep s3fsmount -amount | grep s3fsBut I get this after performing all actions above:
Therefore it's also possible to umount one mount after the other.
@ggtakec commented on GitHub (Mar 24, 2019):
@muryoutaisuu
This is because s3fs is started with the nonempty option, so I think that it is for mounting even if the mount point is not empty.
In other words, another s3fs mounts on the s3fs mount point that was started first.
In this case, only the last s3fs should be processing access to the mount point.
If you do not want to mount multiples, remove nonempty and try.
@muryoutaisuu commented on GitHub (Mar 26, 2019):
@ggtakec thanks, that solved it. Not sure why we put that option in the first place.