[prev in list] [next in list] [prev in thread] [next in thread]
List: debian-user
Subject: automounting sshfs
From: Rainer Dorsch <ml () bokomoko ! de>
Date: 2020-01-18 22:38:28
Message-ID: 3046141.zzZMpc0JcE () nanette
[Download RAW message or body]
Hi,
I followed
https://unix.stackexchange.com/questions/467081/sshfs-with-on-demand-mounting/
546102
to automount a directory with sshfs.
I added into /etc/fstab
sshfs#fs:/mnt/disk/data/spatzen /home/spatzen/Ablage fuse
noauto,allow_other,x-systemd.automount,_netdev,user,IdentityFile=/home/
spatzen/.ssh/id_rsa,reconnect 0 0
Generated as described on stackexchange a unit file: systemctl daemon-reload
root@nanette:~# systemctl list-unit-files --type automount
UNIT FILE STATE
home-spatzen-Ablage.automount generated
proc-sys-fs-binfmt_misc.automount static
2 unit files listed.
root@nanette:~#
Restarted the automount unitfile (even rebooted), but when I try to automount,
I get a strange error
spatzen@nanette:~$ ls -l /home/spatzen/Ablage/
ls: cannot access '/home/spatzen/Ablage/': Too many levels of symbolic links
spatzen@nanette:~$
It seems the system is doing something, but not the right thing. If I mount
manually as user spatzen (mount /home/spatzen/Ablage) that works well...
Any idea and hint is welcome.
Thanks
Rainer
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic