Article ID: 4628, created on Mar 28, 2008, last review on Sep 27, 2015

  • Applies to:
  • Virtuozzo
  • Virtuozzo containers for Linux
  • Virtuozzo hypervisor


It is possible to use FUSE (filesystem in userspace) to mount an ISO image inside a container.

  1. Make sure that the fuse module is loaded on the Hardware Node:

    ~# lsmod | grep fuse

    If it is not there, use:

    ~# modprobe fuse
    ~# lsmod|grep fuse
    fuse                   45320  0

    If it is needed to load it automatically on boot, configure it in accordance with the corresponding OS instructions:

  2. Grant Container #101 the permission to work with the /dev/fuse character device, and create a corresponding device inside a container (run these commands on the PVC server):

    • new syntax, using the device name:

      ~# vzctl set 101 --save --devnodes "fuse:rw"

      Note: if the container already had some devnodes configured, it is needed to add them in the above command, e.g.:

      ~# vzctl set 101 --save --devnodes "fuse:rw net/tun:rw"
    • old syntax, using the device major and minor IDs (do not use together with "--devnodes"~):

      ~# vzctl set 101 --save --devices c:10:229:rw
      ~# vzctl exec 101 mknod -m 666 /dev/fuse c 10 229
      ~# vzctl exec 101 cp -a /dev/fuse /lib/udev/devices/

    If the file /dev/fuse already exists, make sure it has proper access permissions. Also, if the directory /lib/udev/devices does not exist, you must create it and set correct access permissions:

    ~# vzctl exec 101 mkdir /lib/udev/devices
    ~# vzctl exec 101 chmod 755 /lib/udev/devices/

    Check these files:

    ~# vzctl exec 101 ls -l /lib/udev/devices/fuse
    crw-rw-rw- 1 root root 10, 229 Oct 25 19:37 /lib/udev/devices/fuse
    ~# vzctl exec 101 ls -l /dev/fuse
    crw-rw-rw- 1 root root 10, 229 Oct 25 19:37 /dev/fuse
  3. Install "fuseiso" and "fuse" packages into a container. The names of the packages may be different on different Linux distributions: For Debian and Ubuntu, install the fuseiso and fuse-utils packages (available in the repository). For RHEL/CentOS 3/4/5, use DAG's packages, fuse-iso and fuse. For Fedora 7/8, both fuseiso and fuse are available from the main/updates repositories for Fedora 6: fuse is available from the "extras" repository. To mount an ISO image, run the command inside a container:

    ~# fuseiso IMAGE.iso /mnt

    Replace IMAGE.iso in the command above with the exact name of the ISO image (including the path) on the filesystem, and replace /mnt with the path to where you want the ISO image to be mounted.

    To unmount the image, use this command:

    ~# fusermount -u /mnt

    Again, replace /mnt with the exact path to where the ISO image is mounted.

Search Words


mount iso

Unable to monut webdav filesystem




mount image


Unable to mout webdav fisle system

Unable to Mount webdav

e8e50b42231236b82df27684e7ec0beb d02f9caf3e11b191a38179103495106f 2897d76d56d2010f4e3a28f864d69223 a26b38f94253cdfbf1028d72cf3a498b 0dd5b9380c7d4884d77587f3eb0fa8ef

Email subscription for changes to this article
Save as PDF