mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #1468] duplicate mounts each time mount -a is run #776
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#776
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 @nikmartin on GitHub (Nov 4, 2020).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1468
Version of s3fs being used (s3fs --version)
V1.87 (commit:38e1eaa) with OpenSSL
Version of fuse being used (pkg-config --modversion fuse, rpm -qi fuse, dpkg -s fuse)
2.9.9
Kernel information (uname -r)
5.4.0-1024-aws
GNU/Linux Distribution, if applicable (cat /etc/os-release)
Ubuntu 20.04.1 LTS
/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
With the above fstab entry, each time I run mount -a, a new mount is created:
This looks like the same issue as #981, but I'm not using the nonempty option in fstab. I have two entries in fstab to mount two folders in the same bucket, and both mounts get duplicated each time mount -a is run
@remizyaka commented on GitHub (Nov 23, 2023):
Have the same issue. Any news on how it can be fixed?
@ggtakec commented on GitHub (Feb 12, 2024):
I don't see any way to prevent this problem.
With the current fuse2, there seems to be no countermeasure other than specifying
nonempty.Since the
nonemptyoption is no longer available in fuse3, I feel that some kind of countermeasure is needed to prevent this problem in fuse3.If the currently running mount point in s3fs can be shared between processes(using common files, shared SHM, etc.), it may be possible to cause processes to start later to fail.
Alternatively, you need to prepare a dedicated option equivalent to
nonempty.We need to be considering something for this problem to support fuse3.