How to Share Host Folder with Guest VM in Proxmox Using Virtiofs

Posted by

This guide explains how to access a shared folder on the host from a guest VM in Proxmox VE.

– Make sure virtiofsd is installed on the Proxmox host

apt install virtiofsd

– Create a shared directory on the Proxmox host.

mkdir -p /srv/sharefolder/vm101

– Go to Proxmox GUI, select Datacenter | Directory Mappings. Click add. Adjust Name, Node, and the Path

– Select VM who will access the folder share. Select Hardware | Add | Virtiofs

– Start VM after added Virtiofs

If your VM is running, you can shut it down and start it again.

– Mounting folder share from VM

Mount virtiofs

mount -t virtiofs vm101 /mnt/

To make the mounting permanent and automatic at boot, add it to the fstab. The content is as follows:

vm101 /mnt virtiofs rw,relatime 0 0

Good Luck 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.