From the course: Proxmox Virtual Environment Essential Training

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Map a directory to share files

Map a directory to share files

- [Instructor] A map directory is a directory that exists on the host's storage and which is provided to the guest through Virtiofs, the Virtio file system. Within the guest, the map directory can be mounted and used like it's a local disc. Map directories allow us to share files between the host and guest or between the host and many guests without having to set up network storage or some other method of file transfer. We might use map directories to provide guests with the same data set to work on, or to provide them a central place to store results or logs or something like that. Or we might map a separate directory for each guest in some kind of larger storage pool on the host, so guests each have their own location to share files with the host. To create a map directory, we'll need to take two steps. We'll need a directory to share, and then we'll need to create the mapping. So with my host selected, I'll go into its shell, and here I'll create a directory at the root of the…

Contents