6

当我尝试卸载 FUSE 文件系统时,出现错误:

root@ubuntu:/home/fufs/src# fusermount -u /tmp/kpfss
fusermount: failed to unmount /tmp/kpfss: Invalid argument
root@ubuntu:/home/fufs/src# fusermount -z -u /tmp/kpfss
fusermount: failed to unmount /tmp/kpfss: Invalid argument

如何卸载文件系统?谢谢。

4

2 回答 2

6

之前遇到过这个问题,您可能会发现使用 umount 会有所帮助:

umount -f /tmp/kpfss # or whatever the mount point is

当我看到这个问题时,与远程服务器的连接断开了,并且试图访问挂载点锁定了 shell。shell进程甚至不能被杀死。

使用 umount 似乎有助于解决这个问题。

于 2013-12-20T12:32:04.283 回答
4

通常在开发 fuse 文件系统时,当 fuse 文件系统锁定在无限的 while 循环中或以某种方式出现段错误时,我会遇到这种情况。我知道如何释放它的唯一方法是 ps -ef | grep name_of_fuse_filesystem_process 并杀死相应的pid。

于 2013-08-13T22:24:43.337 回答