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.

9p mount problems with "unassigned devices"

Featured Replies

I have struggled with this for a while now, and no matter what I do I seem to fail mounting drives outside unraid array with correct permissions. So for the first and maybe most important question: Is there something that needs to be enabled to be able to use disk mounts outside Unraids array in a VM over 9p?

 

If I mount any of the unraid array folders like /mnt/cache or /mnt/user/, I get expected permissions and can read and write and everything is wonderful. But if I then try to mount something like /mnt/disks/Cache (for a new external cache drive), or another /mnt/disks/Data folder which is both assigned via the "Unassigned devices" plugin, I get only read access except from creating files under root in the VM.

I have checked the folders both when mounted and not, they all share the same user:group and chmod values. The fstab and mtab is exactly the same and I can't find any useful information in the log files either.

 

I also tried to make a folder under root, chown it to myself with permissions telling me I should have no problems writing a file in it, but it still denies it.

 

It must be something I really have overlooked, maybe something stupid and tiny - because I feel I've been through more of the "advanced" shit already.

 

FSTAB:
storage		/mnt/storage	9p	trans=virtio,version=9p2000.L,msize=262144,_netdev,rw	0	0
media		/mnt/media	9p	trans=virtio,version=9p2000.L,msize=262144,_netdev,rw	0	0
scratch		/mnt/scratch	9p	trans=virtio,version=9p2000.L,msize=262144,_netdev,rw	0	0
cache		/mnt/cache	9p	trans=virtio,version=9p2000.L,msize=262144,_netdev,rw	0	0

MTAB:
storage /mnt/storage 9p rw,sync,dirsync,relatime,trans=virtio,version=9p2000.L,msize=262144 0 0
media /mnt/media 9p rw,sync,dirsync,relatime,trans=virtio,version=9p2000.L,msize=262144 0 0
scratch /mnt/scratch 9p rw,sync,dirsync,relatime,trans=virtio,version=9p2000.L,msize=262144 0 0
cache /mnt/cache 9p rw,sync,dirsync,relatime,trans=virtio,version=9p2000.L,msize=262144 0 0

"cache" is the only one which is troubling, and the only one outside the Unraid array. I have similar problems with another VM where I chose to run NFS instead, but I guess I would prefer to use 9p as long it is on the same machine.

 

I could not find anything more about this specific problem on this forum, and I have been through multiple posts here already and tried like everything as setting gid,uid etc.

  • 1 year later...

It only works if you're on the same network!     I know this is an old thread, but I'm looking and can't find anything to solve the same issue you were having.   I'm having the same issues.  I tried it, and it works on the array, but I can't seem to get it to work on an unassigned drive.  The permissions won't let me do anything unless I use sudo, which isn't a solution. 

 

Problem for me is that I'm passing through a nic with a different WAN, so I'm not on the same network as my unraid box, and I really need to be able to write to an unassigned drive passthrough-mounted.   Seems like it should be an easy deal, but it is totally not!

Edited by woodmister

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.