mount 和 umount 命令掛起

mount 和 umount 命令掛起

我使用 VPN 連接到我的大學網絡,然後使用sudo sshfs -o allow_other username@domain:/home/username /home/username.這效果很好。

後來,我斷開與 VPN 的連接,然後重新連接並想要使用已安裝的資料夾,但它似乎「掛起」。這意味著使用umount /home/username掛起,以及嘗試再次執行 mount 命令。

有什麼想法或命令可以「重新啟動」安裝嗎?

答案1

基於超級用戶對此問題的回答:sshfs 設備正忙,唯一對我有用的是

sudo pkill -9 sshfs

相關內容