Jump to content

Best way to connect share to Ubuntu VM?


Recommended Posts

Hey all, building a new Unraid server here. I have an SMB share called Media that I want to access from an Ubuntu (22.10) VM. What is the best way to do it? Should I use 9p or VirtioFS? I see conflicting reports about both: 9p has issues with user permissions, but VirtioFS isn't stable?

 

Thoughts? 

 

The share should have no access restrictions: everything on it has full permissions, and I want the VM to be able to write to the share. 

Link to comment
28 minutes ago, Richard Baguley said:

What is the best way to do it?

Personally I use smb, have been for years.

I mount mine using fstab

//tower/share /local/folder cifs file_mode=0777,dir_mode=0777,_netdev,username=user,password=userpass,vers=1.0,uid-1000,gid=1000 0 0

ymmv, but I find speeds to be better this way than with 9p, supposedly there have been recent improvements, I haven't found the need to experiment.

  • Like 1
Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...