Mac Input/output error Device not configured

Mac本用sshfs掛載遠端的目錄後,當天下班後直接合上屏幕後,第二天發現掛載的目錄不能用了,具體錯誤如下:

ll mount149 
ls: xnw: Input/output error

經過查進程發現進程還在

ps aux |grep sshfs

於是想先把進程殺掉

sudo kill 84425 //這個殺不掉
pkill -9 sshfs //請用這個

於是想把這個目錄刪除新建一個目錄掛載,但是又出現如下錯誤:

sudo rm -rf mount149/xnw
rm: mount149/xnw: Device not configured

最後google找着以下命令:

mount //列出已掛載的目錄
umount -f "/Users/fff/dev/mount111/foo"

umount後,重新掛載就可以了。
詳情見:https://github.com/osxfuse/osxfuse/issues/45

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章