JKunraid Posted April 15 Share Posted April 15 (edited) 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 April 15 by JKunraid added info Quote Link to comment
Solution SimonF Posted April 15 Solution Share Posted April 15 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 Quote Link to comment
JKunraid Posted April 16 Author Share Posted April 16 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. Quote Link to comment
JKunraid Posted April 16 Author Share Posted April 16 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? Quote Link to comment
SimonF Posted April 16 Share Posted April 16 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 Quote Link to comment
JKunraid Posted April 16 Author Share Posted April 16 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. Quote Link to comment
SimonF Posted April 16 Share Posted April 16 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 Quote Link to comment
JKunraid Posted April 16 Author Share Posted April 16 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. Quote Link to comment
johntk22 Posted April 16 Share Posted April 16 Look for any error or warning related information in system log file which indicate the cause of the error. Quote Link to comment
SimonF Posted April 16 Share Posted April 16 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? Quote Link to comment
Recommended Posts
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.