[PVE-User] Mount glusterfs on lxc container. Fuse problem
Jose Legido
jose at legido.com
Thu Aug 20 11:31:02 CEST 2015
Hello
I can't mount glusterfs on lxc container:
E [mount.c:267:gf_fuse_mount] 0-glusterfs-fuse: cannot open /dev/fuse
(No such file or directory)
E [xlator.c:403:xlator_init] 0-fuse: Initialization of volume 'fuse'
failed, review your volfile again
In container can't load module fuse:
modprobe fuse
modprobe: ERROR: ../libkmod/libkmod.c:557 kmod_search_moddep() could
not open moddep file '/lib/modules/4.1.3-1-pve/modules.dep.bin'
In HOST load module do nothing:
root at proxmox01:~# modprobe fuse
root at proxmox01:~# lsmod | grep fuse
root at proxmox01:~#
Workarround. In contanier:
mknod /dev/fuse c 10 229
And mounts successfully
I see this bug:
https://bugzilla.proxmox.com/show_bug.cgi?id=660
And this post:
http://www.claudiokuenzler.com/blog/501/mount-glusterfs-volume-lxc-container-dev-fuse-no-such-file#.VdWRbNTT200
I modify debian.common.conf
#lxc.cgroup.devices.allow = c 10:229 rwm
To create a lxc with template, but I has to do
mknod /dev/fuse c 10 229
to mount glusterfs
How can I modify template or container to do automatically?
Thanks
More information about the pve-user
mailing list