sfs
sfs copied to clipboard
FSTAB problem
Hi, I've an issue with the fstab configuration in https://github.com/immobiliare/sfs/blob/master/docs/INSTALL.md#adding-sfs-fuse-to-fstab with debian8. In this case:
- the boot procedure hangs and wants the root password to continue, probably because (see the next point) the system is unable to determine if the filesystem is mounted
- after the boot the filesystem is mounted, mtab reports it correctly but the mount -a command says:
sfs-fuse version 1.4.1
sfs-fuse[1429]: Config loaded from /mnt/data/.sfs.conf
sfs-fuse[1429]: [main] flushed 0 pending batches from tmp dir /mnt/batches/tmp to /mnt/batches
sfs-fuse[1429]: [main] starting sfs with root=/mnt/data, uid=0, gid=0, umask=022; closing console syslog
fuse: mountpoint is not empty
fuse: if you are sure this is safe, use the 'nonempty' mount option
because it is trying to remount the fs. The workaround is:
-
create a copy (or link) of sfs binary in /usr/sbin/sfs
-
change the fstab line:
/mnt/data /mnt/fuse fuse.sfs direct_io,noatime,allow_other,sfs_perms 0 0