CentOS 7 SSHFS – Can’t Find FUSE Even Though FUSE is Loaded

centos7fusemodprobesshfsvps

When I try to run sshfs, I get the error fuse: device not found, try 'modprobe fuse' first. I already ran sudo modprobe fuse, but it just returns immediately without any output and the error persists:

[root@localhost main]# modprobe fuse
[root@localhost main]# sshfs user:password@my.server.com mnt
fuse: device not found, try 'modprobe fuse' first

I can also verify that fuse is loaded:

[main@localhost ~]$ lsmod | grep fuse
fuse                    4242  -2

This is on a VPS with freshly installed CentOS. The OS is up-to-date, as far as I can tell:

[main@localhost ~]$ cat /etc/centos-release
CentOS Linux release 7.5.1804 (Core)

Running virt-what yields the following:

[root@localhost ~]$ virt-what
openvz
lxc

Any ideas on how I can resolve this?

Best Answer

Eww, it's OpenVZ. That's why it doesn't work. You can't load modules (properly) on OpenVZ without the VPS provider doing it for you. These guys somehow managed to screw it up. Go find a nice KVM VPS.