archiecobbs / s3backer

FUSE/NBD single file backing store via Amazon S3
Other
535 stars 77 forks source link

fstab fuse unknown options #145

Closed khumarahn closed 3 years ago

khumarahn commented 3 years ago

Hi. Amazing program.

I get a fuse error when I place my mount in fstab. Mounting manually from the command line works fine. Wonder if it is a known thing, or if I'm going something wrong.

in fstab:

bucket/subfolder /mnt/s3 fuse.s3backer _netdev,force,size=100G,blocksize=1M,passwordFile=/etc/s3-key,encrypt,accessFile=/etc/s3-passwd,baseURL=https://some-bucket.url/,region=my-region,blockCacheFile=/mnt/s3.cache,blockCacheSize=256 0 0
# mount /mnt/s3
s3backer: auto-detecting block size and total file size...
s3backer: auto-detected block size=1m and total size=100g
s3backer: warning: filesystem appears already mounted but you said `--force'
 so I'll proceed anyway even though your data may get corrupted.

fuse: unknown option `blocksize=1M'

I'm on gentoo, using systemd 247.2, fuse 3.9.3 and s3backer 1.6.1.

archiecobbs commented 3 years ago

Options are case sensitive. Try blockSize instead of blocksize...

khumarahn commented 3 years ago

ah, that worked. Thanks! I feel stupid: I checked the options a number of times! Closing!