問題:使用 sshfs 掛上的路徑突然失效,試著重掛,出現錯誤訊息

root@2 [home]$ sshfs john@10.123.1.123:/home/john/curr_proj /home/john/curr_proj_mnt
fuse: bad mount point `/home/john/curr_proj_mnt': Transport endpoint is not connected

解決方式:先下指令解除掛載,再重新掛載:

root@2 [home]$ fusermount -u /home/john/curr_proj_mnt
root@2 [home]$ sshfs john@10.123.1.123:/home/john/curr_proj /home/john/curr_proj_mnt

94913c36-c82e-4ad9-b3ac-e62049a12905
permalink