fusermount: umount failed: Invalid argument

user1414943 picture user1414943 · Aug 7, 2012 · Viewed 18.1k times · Source

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

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 umount the file system? Thanks.

Answer

Mandible79 picture Mandible79 · Dec 20, 2013

Had this problem before and you may find it helps to use umount thus:

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

When I've seen this issue, there was a dropped connection to the remote server, and trying to access the mount point locked the shell up. The shell process couldn't even be killed.

Using umount seemed to help sort that.