FUSE on OpenVZ VPS: can't open fuse device
OpenVZ VPS configuration file contains:
DEVNODES="net/tun:rw fuse:rw "
DEVICES=""
VPS was restarted by vzctl
and when done from VPS: # stat /dev/fuse
File: `/dev/fuse'
Size: 0 Blocks: 0 IO Block: 4096 character special file
Device: 1bh/27d Inode: 16131188 Links: 1 Device type: a,e5
Access: (0644/crw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2016-09-22 16:05:22.406822397 +0200
Modify: 2016-09-22 16:05:22.406822397 +0200
Change: 2016-09-22 16:05:22.406822397 +0200
Birth: -
Done on the VPS:
mount -t davfs http://localhost/ /mnt/4shared.disk/
/sbin/mount.davfs: can't open fuse device
/sbin/mount.davfs: trying coda kernel file system
/sbin/mount.davfs: no free coda device to mount
Host node kernel should support fuse: 2.6.32***
"lsmod|grep fu" done from node is empty result
Please how to fix it?
// UPDATE: i did: modprobe fuse (on the node)
then it still not worked, then after: vzctl restart CTID
it started working. Not sure why fuse was not there, eems like mdule was not loaded after node reboot, not sure why
Comments
Maybe
modprobe fuse
would help
yes, indeed, thx, not sure why it was not loaded after node reboot, im sure i used fuse alread in VPSes
The modules aren't loaded on boot automatically regardless of if you were previously using it.
Add it to /etc/rc.modules "modprobe fuse" and any other modules like tun etc.
I do not have any such file/folder on my CentOS OVZ node.
ls /etc|grep mod
depmod.d
modprobe.d
Inside modprobe.d are some .conf files, like:
cat openvz.conf
options nf_conntrack ip_conntrack_disable_ve0=1
add it to
/etc/modules.conf
In my case this file also not existed on my CentOS 6 server.
But OpenVZ says on their page: "you can also add it or into /etc/modules.conf (on RHEL see /etc/sysconfig/modules/ directory)"
On other page they say: "The following method and directory location is applicable to CentOS v6. I am not sure about v5. The directory location may be different for that version."
nano /etc/sysconfig/modules/ppp.modules
So in my case i have it now like this:
cat /etc/sysconfig/modules/my.modules
stat /etc/sysconfig/modules/my.modules
Thx for help and advices racksx and kt