Difference between revisions of "Mounting filesystems"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
(Bind mounts moved to a separate article, so this is just a place holder now)
(new content moved to Bind mounts -- Undo revision 7333 by Chronos (Talk))
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
To mount a file system inside a container, you have several choices:
 
To mount a file system inside a container, you have several choices:
  
* NFS (the container will be an NFS Client) - see [[NFS]]
+
* [[NFS]], when container as an NFS client
* FUSE - see [[FUSE]]
+
* [[FUSE]] (filesystem in userspace)
* Bind mount from Hardware Node -- see [[Bind mounts]]
+
* [[Bind mounts]] from Hardware Node
  
 
Also, you can grant a container an access  a physical block device, and use that device from inside the container. Not all file systems are working inside a container; check /proc/filesystems inside a container to find out.
 
Also, you can grant a container an access  a physical block device, and use that device from inside the container. Not all file systems are working inside a container; check /proc/filesystems inside a container to find out.

Latest revision as of 10:36, 28 May 2009

To mount a file system inside a container, you have several choices:

  • NFS, when container as an NFS client
  • FUSE (filesystem in userspace)
  • Bind mounts from Hardware Node

Also, you can grant a container an access a physical block device, and use that device from inside the container. Not all file systems are working inside a container; check /proc/filesystems inside a container to find out.