Fstab with sshfs
From Flo's Knowledge in a Nutshell
Howto automount ssh filesystem:
/etc/fstab (Clientside)
sshfs#user@server:/home/user /mnt/mountpoint fuse rw,allow_other,uid=1000,user,auto 0 0
/etc/rc.local (Clientside)
We need to remount the devices because network was not ready when fstab was loaded. The sleep value can be decreased if it still works.. Try yourself.
sleep 20 mount -a
Mount Issue Ubuntu <= 8.10
- df and nautilus have trouble with sshfs mounts.
- bugreport: https://bugs.launchpad.net/ubuntu/+source/sshfs-fuse/+bug/100116
root@florianeberle:~# df -h chdebfl0@u0160:/home/chdebfl0/public_html 0.0K -0.0K 0.0K 247% /home/flo/mount/devsrv
- solution: Install new sshfs version from Jaunty http://packages.ubuntu.com/jaunty/sshfs
root@florianeberle:~# df -h chdebfl0@u0160:/home/chdebfl0/public_html 131G 53G 78G 41% /home/flo/mount/devsrv
