Virtio-FS


mikeyosm

Recommended Posts

Hi team UNRAID

 

Whilst I'm waiting for 6.9 final to release (soon i hope), I thought I'd look at ways of speeding up VM disks on my 3Gbps NVME drive and exposing shares set up in UNRAID so that I could access them directly from a VM instead of using the 1GBps/10Gbps virtual NIC. Research led me to this article
https://www.reddit.com/r/VFIO/comments/eryb71/best_storage_for_vfiokvmqemu_experiment_results/

and

https://virtio-fs.gitlab.io/howto-qemu.html

I'm interested to know if virtio-fs can be made available in UNRAID so that shares can be access directly from a VM?

 

  • Like 1
Link to comment

just tried and  I see 2 things

 

running on ryzen 3900x unraid 6.9 beta29

using host-model it shows this error

error: internal error: qemu unexpectedly closed the monitor: 2020-10-02T13:27:56.354809Z qemu-system-x86_64: warning: This feature depends on other features that were not requested: CPUID.8000000AH:EDX.nrip-save [bit 3]
2020-10-02T13:27:56.355212Z qemu-system-x86_64: warning: This feature depends on other features that were not requested: CPUID.8000000AH:EDX.npt [bit 0]
2020-10-02T13:27:56.355217Z qemu-system-x86_64: warning: This feature depends on other features that were not requested: CPUID.8000000AH:EDX.nrip-save [bit 3]

and using host-passtrhough

i see this other error

error: Failed to start domain IsaacGaming
error: internal error: process exited while connecting to monitor: 2020-10-02T13:21:20.955765Z qemu-system-x86_64: -device vhost-user-fs-pci,chardev=chr-vu-fs0,queue-size=1024,tag=user,bus=pci.1,addr=0x19: Failed to write msg. Wrote -1 instead of 12.
2020-10-02T13:21:20.955793Z qemu-system-x86_64: -device vhost-user-fs-pci,chardev=chr-vu-fs0,queue-size=1024,tag=user,bus=pci.1,addr=0x19: vhost_dev_init failed: Operation not permitted

 

I supose i need to modify some permissions but not sure which of them

Link to comment
  • 5 months later...

Seeing that we are now at 6.9.1, I would like to have this working, too. I've not gone as far as either of you. I'm accustomed to setting up 9p, which just isn't cutting it, and am very interested in the more direct(?) virtio-fs driver.

Link to comment
  • 1 month later...
  • 3 weeks later...

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.