October 21, 20196 yr I need to pass through a share inside my NethServer. I have set "Unraid Share" to be "/mnt/user/" and I have set "Unraid Mount tag" to "shares". How to I make this a persistent mount within NetServer, so that I can actually use it?
October 23, 20196 yr Author Can someone help me please? It is pretty vital to pass through some disk from the host to the VM.
October 23, 20196 yr Author In VM definition I have: Quote <filesystem type='mount' accessmode='passthrough'> <source dir='/mnt/user/'/> <target dir='shares'/> <alias name='fs0'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </filesystem> In NethServer /etc/fstab the last line is this: Quote shares /shares 9p trans=virtio,version=9p2000.L,_netdev,rw 0 0 What am I doing wrong? If I try Quote mount shares ...it says unknown file system type 9p. I guess Centos doesn't have 9p enabled? Can I enable it?
October 23, 20196 yr Disclaimer: I am no expert on this and have never tried what you want to do. I don't know if this will help, but a year or so ago if I recall correctly, a user was trying to do something similar and no unRAID shares would show up in the VM. It turns out they had the Network Bridge in the VM set to virbr0. This creates an isolated virtual network in the VM with no access to anything outside the VM. Changing it to br0 allowed unRAID shares to be accessible within the VM.
October 23, 20196 yr Author Thanks man but no that wasn't it. The issue seems to be that 9p virtual fs is not enabled in CentOS (one of the things Red Hat doesn't officially implement... it getting pathetic actually, I keep hitting this barrier). So I used NFS shares instead.
Archived
This topic is now archived and is closed to further replies.