Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

FUSE

44 bytes added, 20:09, 8 April 2008
ve to container
This page describes how to setup FUSE (filesystem in userspace) inside a VEcontainer.
[http://git.openvz.org/?p=linux-2.6.18-openvz;a=blob;h=a584f05403a412e778cf359e84d3690d5a22d1e4;hb=045f4a5fcb8c2625fe7505a8d9d4ebffd7e0d905;f=Documentation/filesystems/fuse.txt FUSE] is a filesystem in which data and metadata are provided by an ordinary userspace process. The filesystem can be accessed normally through the kernel interface.
If there are no packages provided for you distribution, you have to compile from source.
First, compile libfuse in a VE container without kernel module
<pre>
# vzctl enter 100
</pre>
=== VE Container tuning ===You need to make a character device named <code>/dev/fuse</code> and grant your VE container permissions to it
<pre>
# vzctl set 100 --devices c:10:229:rw --save
=== Mounting filesystem ===
After this you may try to mount FUSE in a VEcontainer.
<pre>
# vzctl enter 100
== Using fusectl filesystem ==
Fusectl is a helper filesystem for FUSE. You may mount it in a VE container as well.
<pre>
# vzctl enter 100