mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
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#307
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 @root360-AndreasUlm on GitHub (Feb 28, 2017).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/538
Version of s3fs being used (s3fs --version)
1.80
Version of fuse being used (pkg-config --modversion fuse)
2.9.2-4ubuntu4.14.04.1
System information (uname -a)
Linux hostname 3.13.0-110-generic #157-Ubuntu SMP Mon Feb 20 11:54:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Distro (cat /etc/issue)
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty
/etc/fstab entry (if applicable):
Details about issue
This issue was introduced by #351 and is IMO severe.
S3FS can't be mounted at boot anymore because the cache directory is missing.
There is no (easy) way to create the cache direcotry before the system mounts all mountpoints defined in the fstab.
I can understand the issue described in 347 but the default behaviour definitly should not be changed just because of one use-case.
IMO there are 3 options to fix this issue:
We are running ~300 servers with s3fs and due to this change of behaviour we can't upgrade.
Best regards,
Andreas
@ggtakec commented on GitHub (Apr 2, 2017):
@root360-AndreasUlm I'm sorry for my late replying.
I added a new check_cache_dir_exist option and disabled #351 fix.
Only when the check_cache_dir_exist option is given, checks the cache directory at s3fs startup.
By this #557 fix, if only use_cache option is specified, the operation will be as before.
If you can, please try to test latest codes.
And I'm going to close this issue, but if you found problem about this, please reopen this issue.
Thanks in advance for your help.
@root360-AndreasUlm commented on GitHub (Apr 7, 2017):
@ggtakec No problem. Thank you for reviewing my issue.
My tests concerning this issue show that your fix works.
By running s3fs manually and on boot by fstab entry the cache directory is created successfully when missing.