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

<!-- image -->

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

![](images/pve-directory-mapping-1024x394.webp)

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

![](images/add-virtiofs-vm.webp)

![](images/select-virtiofs-vm.webp)

– 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 🙂

### Share this:

- Click to email a link to a friend (Opens in new window)
Email
- Click to share on Facebook (Opens in new window)
Facebook
- Click to share on X (Opens in new window)
X
- Click to share on LinkedIn (Opens in new window)
LinkedIn
- Click to share on Pinterest (Opens in new window)
Pinterest
- Click to share on Tumblr (Opens in new window)
Tumblr
- Click to share on Telegram (Opens in new window)
Telegram
- Click to share on WhatsApp (Opens in new window)
WhatsApp
- Click to share on Reddit (Opens in new window)
Reddit

## Post navigation

### How to Limit Email Attachment Size for Individual Users in Zimbra

### How to Set Up a Ceph Cluster on a Single Node

### Leave a Reply Cancel reply

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

Comment *

Name *

Email *

Website

Notify me of follow-up comments by email.

Notify me of new posts by email.

Δ

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

### Categories

### Recent Comments

- Luis Navas on Zimbra Tips : How To Configure Rate Limit Sending Message on PolicyD
- Imanudin Ahmad on Relay Tips Based on User/Domain Receiver on Zimbra 8.5-8.6
- Imanudin Ahmad on Zimbra Tips : How To Configure Rate Limit Sending Message on PolicyD
- Rajaji on Relay Tips Based on User/Domain Receiver on Zimbra 8.5-8.6
- Luis Navas on Zimbra Tips : How To Configure Rate Limit Sending Message on PolicyD

### Tags

### Books &amp; Publishing

<!-- image -->

<!-- image -->

### Search

## 

## 

### 