Mac Input/output error Device not configured

来源:互联网 发布:c语言结构体定义 编辑:程序博客网 时间:2024/06/05 14:29

Mac本用sshfs挂载远端的目录后,当天下班后直接合上屏幕后,第二天发现挂载的目录不能用了,具体错误如下:

ll mount149 ls: xnw: Input/output error

经过查进程发现进程还在

ps aux |grep sshfs

于是想先把进程杀掉

sudo kill 84425 //这个杀不掉pkill -9 sshfs //请用这个

于是想把这个目录删除新建一个目录挂载,但是又出现如下错误:

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

最后google找着以下命令:

mount //列出已挂载的目录umount -f "/Users/fff/dev/mount111/foo"

umount后,重新挂载就可以了。
详情见:https://github.com/osxfuse/osxfuse/issues/45

原创粉丝点击