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@proxmox01:~# modprobe fuse
root@proxmox01:~# lsmod | grep fuse
root@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
_______________________________________________
pve-user mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user

Reply via email to