Contact Sales Sitemap Customer Login

Install and Mount a FUSE Filesystem

In order to use FUSE, you must ensure that your Linux kernel has been compiled with FUSE support. Enter uname -a to determine which kernel version is being used on your VPS.

For OpenVZ, you need to have a kernel of at least 2.6.18 (for VPSLink, the kernel version must be 2.6.18-ovz028stab027 or higher). If your VPS is presently running on an older version of the Linux kernel and you require the use of FUSE, please contact VPSLink Support to request VPS migration to a node which supports FUSE.

Newer Linux distributions (including Fedora Core 7+ and Debian 4.0) include FUSE packages which may be installed using native package management tools. Installing these packages will provide you FUSE functionality,* however, unless you are using the testing repositories, you will have an older version of FUSE and sshfs.

The following instructions describe the installation of the current versions of the programs which you will need, however, your VPS must be capable of compiling the source files. VPSLink recommends Link-2 plan (or better) for compiling programs.

Contents

Download FUSE and sshfs-fuse Source Files


Compile FUSE

Note: gcc and make must be installed to complete this step.

  1. Navigate to the directory that contains the extracted FUSE files
  2. Enter ./configure –disable-kernel-module --prefix=/usr to configure FUSE for compilation
  3. Enter make to compile FUSE
    • If you encounter errors while compiling, see Troubleshooting Common Compiler Errors for instructions to recompile before proceeding
    • If you encounter the fuse: failed to open /dev/fuse: Permission denied error message, please contact VPSLink Support
    • If the compilation completes successfully, enter make install to complete the installation of FUSE


Compile sshfs-fuse

  1. Install the following programs using the package management system for your distribution:
    • glib2
    • glib2 (developer's package)
    • pkg-config
  2. Navigate to the directory that contains the extracted sshfs-fuse files
  3. Enter ./configure --prefix=/usr to configure sshfs-fuse for compilation
  4. Enter make to compile sshfs-fuse
    • If you encounter errors while compiling, see Troubleshooting Common Compiler Errors for instructions to recompile before proceeding
    • If you encounter the fuse: failed to open /dev/fuse: Permission denied error message, please contact VPSLink Support
    • If the compilation completes successfully, enter install to complete the installation of sshfs-fuse


Mount a FUSE Filesystem

Enter sshfs username@server:/directory /mountpoint to use FUSE to mount a directory on a remote server as a directory on your VPS.


Related Topics

Retrieved from "http://wiki.vpslink.com/index.php?title=Install_and_Mount_a_FUSE_Filesystem&oldid=15221"
Recent Changes | RSS RSS Feed