kernel module fuse for lxc

RollMops

Member
Jul 17, 2014
30
0
6
:~# sshfs root@lala.la:/var/lib/vz/dump/ /mnt/lala/
fuse: device not found, try 'modprobe fuse' first
:~# modprobe fuse
modprobe: ERROR: ../libkmod/libkmod.c:557 kmod_search_moddep() could not open moddep file '/lib/modules/4.2.6-1-pve/modules.dep.bin'

...back to #12 of the thread, just that the err now is line 557 instead of 556 in ../libkmod/libkmod.c
 

iGNEOS

New Member
Mar 31, 2016
3
0
1
33
For the record:

mknod -m 666 /dev/fuse c 10 229

worked, even though ive seen this somewhere else and ignored it, it works.
secondly, i ran

modprobe fuse

on the root (not the container) also.

To re-cap i did both of those. it worked!
PS:
4.6.2-1-pve
 

fabian

Proxmox Staff Member
Staff member
Jan 7, 2016
4,286
671
133
Using fuse inside the container is problematic as fuse and the kernel freezer mechanism don't work together. If you really absolutely need to use fuse mounts inside a container, don't try to use snapshot backups or lxc-freeze on those containers, or you will end up with hanging containers. A possible alternative would be to establish the fuse mount on the host, and then bind mount it into the container with an mpX entry in the container config, but this is not well tested (feedback welcome, as always!).
 

iGNEOS

New Member
Mar 31, 2016
3
0
1
33
well, after 1 restart i lost my fuse system, cuase it must be rebuilt every start, i was doing it so i could connect the different nodes i have into a single folder structure using sshfs on top of fuse, and that worked great, til i restarted.

Im literally considering writing my own solution in php or something and use ssh to put the actual sync together.
syncing files between nodes is hard. :p

and to help people and the staff here, given the glue that holds things together, staff is corrent about fuse and proxmox, not worth the trouble.
Proxmox is a life saver, Fuse is a cute toy.
 

fabian

Proxmox Staff Member
Staff member
Jan 7, 2016
4,286
671
133
If you need shared folders, consider using proper network storage (preferred) or bind mounts.
 

iGNEOS

New Member
Mar 31, 2016
3
0
1
33
I program in 20+ languages been using linux for 10+ years, and have many live production servers running, and i still have very little clue what or how that is accomplished,

If you could provide info/links to these two options, I would be very greatful
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!