amazon s3 - Mount multiple s3fs buckets automatically with /etc/fstab -


in s3fs instruction wiki, told auto mount s3fs buckets entering following line /etc/fstab

s3fs#mybucket /mnt/mybucket fuse    allow_other,use_cache=/tmp,url=https://s3.amazonaws.com 0 0 

this works fine 1 bucket, when try mount multiple buckets onto 1 ec2 instance having 2 lines:

s3fs#mybucket /mnt/mybucket fuse    allow_other,use_cache=/tmp 0 0 s3fs#mybucket2 /mnt/mybucket2 fuse    allow_other,use_cache=/tmp 0 0 

only second line works tried duplicating s3fs s3fs2 , to:

s3fs#mybucket /mnt/mybucket fuse    allow_other,use_cache=/tmp 0 0 s3fs2#mybucket2 /mnt/mybucket2 fuse    allow_other,use_cache=/tmp 0 0 

but still not work. second 1 gets mounted:

how automatically mount multiple s3 bucket via s3fs in /etc/fstab without manually using:

s3fs mybucket /mn/mybucket2-ouse_cache=/tmp 

you may try startup script. how got around issues having mounting s3fs @ boot time /etc/fstab.

how make startup scripts varies distributions, there lot of information out there on subject.


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -