Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

FUSE

12 bytes added, 15:30, 17 November 2006
m
VPS -> VE, minor formatting fixes
This page describes how to setup fuse FUSE (filesystem in userspace) inside VPSa VE.
== Introduction ==
[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.
== Setup ==
=== Kernel ===
Download appropriate kernel from [http://download.openvz.org / openvz.org] or compile kernel with <code>CONFIG_FUSE_FS</code> option set
=== Libfuse ===
Compile libfuse in VPS a VE without kernel module
<pre>
# vzctl enter 100
</pre>
=== VPS VE tuning ===You need to make a characted device named <code>/dev/fuse</code> and grant your VPS VE permissions to it
<pre>
# vzctl set 100 --devices c:10:229:rw --save
=== Mounting filesystem ===
After this you may try to mount FUSE in VPSa VE
<pre>
# vzctl enter 100
==== Unmounting filesystem ====
In case of <code>sshfs</code> after umounting an appropriate daemon must be killed. This may be done by the following command:
<pre>
# fusermount -u moutpoint
== Using fusectl filesystem ==
Fusectl is a helper filesystem for FUSE. You may mount it in VPS a VE as well
<pre>
# vzctl enter 100
</pre>
[[categoryCategory:HOWTO]]