OpenVZ Forum


Home » General » Support » fuse can not be used in containers after fuse-2.7.3 is installed in Hardware Node
fuse can not be used in containers after fuse-2.7.3 is installed in Hardware Node [message #29854] Sun, 27 April 2008 11:32 Go to next message
efishing is currently offline  efishing
Messages: 6
Registered: October 2007
Junior Member
I install fuse 2.7.3 with kernel module in CentOS 5. FUSE functions well in Hardware Node, but in container, I use "cat /proc/filesystems", and I can not find fuse and fusectl, so I can't mount fuse file system in container. If I install fuse 2.7.3 wihout kernel module, there is no problem.

[Updated on: Sun, 27 April 2008 11:33]

Report message to a moderator

Re: fuse can not be used in containers after fuse-2.7.3 is installed in Hardware Node [message #29876 is a reply to message #29854] Mon, 28 April 2008 10:01 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hello,

1. What kernel do you use? ("uname -a")
2. Could you please specify what does it mean
Quote:


If I install fuse 2.7.3 without kernel module


3. Have you restarted your CT after you'd loaded fuse module on HN.

Thank You!

Re: fuse can not be used in containers after fuse-2.7.3 is installed in Hardware Node [message #29884 is a reply to message #29854] Mon, 28 April 2008 13:40 Go to previous messageGo to next message
efishing is currently offline  efishing
Messages: 6
Registered: October 2007
Junior Member
I want to use a FUSE file sytem "GlusterFS"(www.glusterfs.org) in container. The developers of glusterfs recommend to use a patched fuse module, but I cannot use glusterfs in container after I installed their rpm packages, so I decided to install original FUSE first.
My running kernel was downloaded from this website: 2.6.18-53.1.13.el5.028stab053.10, x86_64, smp
OS: CentOS 5.1.
Before I install fuse 2.7.3, use:
vzctl exec <ctid> cat /proc/filesystems
the result is :
ext2
ext3
nodev rpc_pipefs
nodev autofs
nodev proc
nodev sysfs
nodev tmpfs
nodev devpts
nodev fusectl
nodev fuse

I download fuse 2.7.3 from fuse.sourceforge.net, then:
./configure --prefix=/usr --enable-kernel-module
make
make install
ldconfig
rmmod fuse
modprobe fuse

I restart the container, execute:
vzctl exec <ctid> cat /proc/filesystems
the result is :
ext2
ext3
nodev rpc_pipefs
nodev autofs
nodev proc
nodev sysfs
nodev tmpfs
nodev devpts

fuse module is not loaded in the container, so I can't use FUSE in containers. Rebooting the HN can not solve the problem.

[Updated on: Mon, 28 April 2008 14:44]

Report message to a moderator

Re: fuse can not be used in containers after fuse-2.7.3 is installed in Hardware Node [message #29957 is a reply to message #29854] Thu, 01 May 2008 16:09 Go to previous message
TheWiseOne is currently offline  TheWiseOne
Messages: 66
Registered: September 2005
Location: Pennsylvania
Member
I'm gonna bet it's not the version, but the fact that the custom-compiled fuse module is not virtualized like the one included with the OpenVZ kernel.

Matt Ayres
TekTonic
Previous Topic: routing problem
Next Topic: Strange - Vzctl D+ ??
Goto Forum:
  


Current Time: Tue Aug 27 13:22:10 GMT 2024

Total time taken to generate the page: 0.03541 seconds