Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Can't see virtiofs share in linux VM

Featured Replies

Setup following virtiofs settings when I created a PopOS VM (settings selected from dropdown).

 

Unraid Share Mode:  Virtiofs Mode  

Unraid Share:  user: vmShare  

Unraid Source Path:  /mnt/user/vmShare

Unraid Mount Tag: vmShare

 

The VM boots fine but I can't see the share named  "vmShare". either in locations, VM's mnt folder, or using Disks utility. Is there some step I'm missing or is there a problem?

Edited by JKunraid
added info

Solved by SimonF

  • Community Expert
  • Solution
5 hours ago, JKunraid said:

Setup following virtiofs settings when I created a PopOS VM (settings selected from dropdown).

 

Unraid Share Mode:  Virtiofs Mode  

Unraid Share:  user: vmShare  

Unraid Source Path:  /mnt/user/vmShare

Unraid Mount Tag: vmShare

 

The VM boots fine but I can't see the share named  "vmShare". either in locations, VM's mnt folder, or using Disks utility. Is there some step I'm missing or is there a problem?

You have to create a mount point in the vm and then mount it.

 

i.e.

mkdir /mnt/vmShare

mount -t virtiofs vmShare /mnt/vmShare

  • Author
On 4/15/2024 at 2:20 AM, SimonF said:

You have to create a mount point in the vm and then mount it.

 

i.e.

mkdir /mnt/vmShare

mount -t virtiofs vmShare /mnt/vmShare

 

 

Perfect. Thanks.

 

 

  • Author
On 4/15/2024 at 2:20 AM, SimonF said:

You have to create a mount point in the vm and then mount it.

 

i.e.

mkdir /mnt/vmShare

mount -t virtiofs vmShare /mnt/vmShare

 

I just realized I  have one more related question. How would I keep the connection to share persistent across reboots?

  • Community Expert
10 minutes ago, JKunraid said:

 

I just realized I  have one more related question. How would I keep the connection to share persistent across reboots?

Add the mount in /etc/fstab

  • Author
5 minutes ago, SimonF said:

Add the mount in /etc/fstab

 

I opened up the  fsab file with nano.  I've never done this before so I'm not sure what the exact line I should add looks like. 

  • Community Expert
25 minutes ago, JKunraid said:

 

I opened up the  fsab file with nano.  I've never done this before so I'm not sure what the exact line I should add looks like. 

To mount the partition add a line in the fstab with the source name and the directory you want to mount it. In this example we mount the directory exported from /home/shared, that will be called home_shared. It will be mounted in the path /mnt/shared inside the virtual machine.

 

This line in the file 

home_shared /mnt/shared virtiofs rw,relatime 0 0

  • Author
1 hour ago, SimonF said:

To mount the partition add a line in the fstab with the source name and the directory you want to mount it. In this example we mount the directory exported from /home/shared, that will be called home_shared. It will be mounted in the path /mnt/shared inside the virtual machine.

 

This line in the file 

home_shared /mnt/shared virtiofs rw,relatime 0 0

 

Got it. Thanks again.

Look for any error or warning related information in system log file which indicate the cause of the error. 

 

  • Community Expert
9 minutes ago, johntk22 said:

Look for any error or warning related information in system log file which indicate the cause of the error. 

 

Is this for thks thread?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.