fusermount:umount failed:参数无效

use*_*943 6 fuse

当我尝试卸载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
Run Code Online (Sandbox Code Playgroud)

我该如何卸载文件系统?谢谢.

Man*_*e79 5

之前有这个问题,你可能会发现使用umount有助于:

umount -f /tmp/kpfss # or whatever the mount point is
Run Code Online (Sandbox Code Playgroud)

当我看到这个问题时,与远程服务器的连接断开,并且尝试访问挂载点会锁定shell.shell进程甚至无法被杀死.

使用umount似乎有助于排序.


小智 2

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