Fusermount: umount failed: Invalid argument

When I try to start the FUSE file system, I get an error message:

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

How can I clean the file system? Thank.

+5
source share
2 answers

Often when developing file systems with a fuse, I experienced this when the fuse file system was blocked in an infinite while loop or with some kind of seg failure. The only way I know how to free him is ps -ef | grep name_of_fuse_filesystem_process and kill the corresponding pid.

+4
source

If this problem occurred earlier, and you find that it helps to use umount in this way:

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

, , . .

umount, , .

+3

All Articles