Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

NethServer VM - how to pass through a share

Featured Replies

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?

 

  • Author

I edited fstab as described in older thread, rebooted, doesn't work.

 

  • Author

any ideas please?

 

  • Author

Can someone help me please? It is pretty vital to pass through some disk from the host to the VM.

 

  • 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?
 

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.

 

 

vm.png

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.