mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #417] mounting via /etc/fstab #223
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#223
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 @chrisgo on GitHub (May 17, 2016).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/417
Debian 8.3 x 64
Basic mounting via /etc/fstab results in the following error message
sudo mount -a. Any ideas on how to debug this further?Mounting via command line works
Note: s3fs is doing it's job trying to figure out the endpoint/region, bucket is on us-west-1
Translating this to /etc/fstab as follows
Doing a
sudo tail -f /var/log/messagesandsudo tail -f /var/log/sysloddoes not show any error messages.sudo mount -acannot finds3fs?sudo apt-get install nfs-commonandsudo apt-get install cifs-utilswith no luck/etc/passwd-s3fs, do you have to specify that in the options?@nturner commented on GitHub (May 20, 2016):
Do you have the "fuse" package installed?
@chrisgo commented on GitHub (May 21, 2016):
@nturner Thanks for the tip, apparently I did not (duh) so after
sudo apt-get install fuse, it works nowI did everything on the README but I guess it doesn't include
fuse@a2f0 commented on GitHub (Jul 8, 2016):
Installing fuse solved this problem for me as well, RHEL 7.
@dsl101 commented on GitHub (Sep 5, 2016):
This just bit me too, and took a while to track down. Could 'Check fuse is installed' be added to the home page readme in the fstab section?
@pifou42 commented on GitHub (Apr 5, 2017):
Note that for mounting via fstab, using the "fuse _netdev" option is necessary. Else, it doesn't wait for the network connection before attempting to mount, and miserably fails.
Another more global note about s3fs :
if you have locate and/or mlocate installed, you could be interested in adding an exception, so that it does NOT scan your whole bucket.
On my Ubuntu 14.04, I had to modify both my /etc/updatedb.conf and /etc/cron.daily/locate, adding " /mnt/my-bucket-name" to PRUNEPATHS and " fuse.s3fs" to PRUNEFS
I suppose adding fuse.s3fs should've been enough, but I'll check that later. I didn't want 1.4TB of 'cache' to fill up my HDD :)