[opensuse] Automount sshfs share locks up ls and Konqueror when share not available
I have been trying to set up sshfs to access another computer. When I'm on the local network the share works fine. However, if I'm not on the local network and the share is not reachable, I cannot run ls or use Konqueror on my home directory, as they lock up solid. Is there any way to prevent this from happening? I followed the instructions from: https://wiki.archlinux.org/index.php/sshfs And configured fstab in the manner shown in this line: user@host:/remote/folder /mount/point fuse.sshfs noauto,x-systemd.automount,_netdev,users,idmap=user,IdentityFile=/home/user/.ssh/id_rsa,allow_other,reconnect 0 0 The mount is in my home directory. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
El 28/02/14 15:25, James Knott escribió:
I have been trying to set up sshfs to access another computer. When I'm on the local network the share works fine. However, if I'm not on the local network and the share is not reachable, I cannot run ls or use Konqueror on my home directory, as they lock up solid. Is there any way to prevent this from happening? I followed the instructions from:
https://wiki.archlinux.org/index.php/sshfs
And configured fstab in the manner shown in this line:
user@host:/remote/folder /mount/point fuse.sshfs noauto,x-systemd.automount,_netdev,users,idmap=user,IdentityFile=/home/user/.ssh/id_rsa,allow_other,reconnect 0 0
Does using "nofail" mount option helps ? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Cristian Rodríguez wrote:
Does using "nofail" mount option helps ?
Sort of. While it no longer locks, the mount is not available when the share becomes reachable. It shows with the mount command as: systemd-1 on /home/jknott/linux type autofs (rw,relatime,fd=15,pgrp=1,timeout=300,minproto=5,maxproto=5,direct) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
James Knott wrote:
Sort of. While it no longer locks, the mount is not available when the share becomes reachable.
Correction, the mount is not accessible at all with nofail in fstab. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
James Knott wrote:
James Knott wrote:
Sort of. While it no longer locks, the mount is not available when the share becomes reachable. Correction, the mount is not accessible at all with nofail in fstab.
I tried the method listed here and it appears to work. http://hublog.hubmed.org/archives/001928.html When I'm on the local network, I can see the share. When I connect to a different one, I just can't access the share. When I connect back I can. Now for some more testing at another location to see if I can connect to the share via IPv6. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
Cristian Rodríguez
-
James Knott