rayantony / s3fs

Automatically exported from code.google.com/p/s3fs
GNU General Public License v2.0
0 stars 0 forks source link

Doesn't load from fstab. #147

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have to do sudo mount -a each time I reboot the server. The fuse mount 
doesn't establish automatically from fstab. Why is that?
Thanks,
Joseph

Original issue reported on code.google.com by jsh...@gmail.com on 25 Jan 2011 at 8:15

GoogleCodeExporter commented 9 years ago
How is this a defect in s3fs?  There no code change to s3fs's source code that 
could resolve this issue.

The problem specified is a function of the platform, mount options, interface 
scripts, init scripts and/or something else. 

On my Ubuntu 10.10 platform, this line in the /etc/fstab restores the mounts at 
boot time:

s3fs#images.suncup.org /mnt/s3/images.suncup.org  fuse  
_netdev,use_rrs=1,allow_other,uid=1000,gid=1000 0 0

This may or may not work on other platforms.  If it does not, then a good 
understanding of how your system does mounts automatically is required.

Original comment by dmoore4...@gmail.com on 26 Jan 2011 at 3:15

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Sorry about that, I meant to click support request not defect.

I'm running fuse 2.7.4 on ubuntu 9.10 karmic. My fstab is the following: 
s3fs#bucketname /mnt/s3 fuse 
allow_other,accessKeyId=***,secretAccessKey=***,use_cache=/tmp 0 0

I tried adding some of your fstab settings, but they didn't make an impact.  
use_rrs is not available and _netdev didn't effect any change, uid, gid perhaps 
they're different on my server. But would that fix things? I'm currently 
running from root. So currently every time I reboot, currently I run sudo mount 
-a.

Thanks so much.

Original comment by jsh...@gmail.com on 26 Jan 2011 at 4:23