NLS Posted October 21, 2019 Share Posted October 21, 2019 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? Quote Link to comment
NLS Posted October 21, 2019 Author Share Posted October 21, 2019 I edited fstab as described in older thread, rebooted, doesn't work. Quote Link to comment
NLS Posted October 22, 2019 Author Share Posted October 22, 2019 any ideas please? Quote Link to comment
NLS Posted October 23, 2019 Author Share Posted October 23, 2019 Can someone help me please? It is pretty vital to pass through some disk from the host to the VM. Quote Link to comment
NLS Posted October 23, 2019 Author Share Posted October 23, 2019 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? Quote Link to comment
Hoopster Posted October 23, 2019 Share Posted October 23, 2019 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. Quote Link to comment
NLS Posted October 23, 2019 Author Share Posted October 23, 2019 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. 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.