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.

Unable to make device files in user shares

Featured Replies

Hi everyone, I'm running a 4-disk array using unRAID Plus, and I've recently been trying to prepare an NFS share as a root device that I can PXE boot a diskless machine from, but I was unable prepare the filesystem on the share because I kept getting I/O errors while trying to make device files over NFS.

 

I telnet-ed into the unRAID box and tried a simple

mknod /mnt/user/myshare/foo c 4 64

, but it didn't work -- though I got a slightly more useful error message:

mknod: `foo': function not implemented

. Doing this outside of /mnt/user seemed to work, and "function not implemented" seems to be an error from FUSE, which suggests that the unRAID filesystem driver hasn't got mknod support implemented. Any chance this could be added in, please?

  • Author

Ooh, as this got moved to the Roadmap category, does that mean this is likely to be in v5 at some point? :hopeful:

Ooh, as this got moved to the Roadmap category, does that mean this is likely to be in v5 at some point? :hopeful:

No, I moved it because all feature requests should be here.  (It is entirely up to lime-tech to decide if it should be implemented, or not, or when))

 

At least here it might not get overlooked as a feature request.

  • Author

Ah okay. Thanks for explaining things. :)

Ah okay. Thanks for explaining things. :)

Is it possible for you to create your device node on the disk share?  It would probably still be accessible in the user-share.

 

The only issue I foresee is you'll need to un-mount/whatever the device before the disk share can be un-mounted. Otherwise, the unRAID server will wait in an infinite loop for the disk to not be "busy" and even with the higher speed CPUs in most of our servers, those infinite loops still can take a really long time. ;)

  • Author

Hmm, that worked and I could actually boot from the NFS share. The system wasn't amazingly usable (though lots of that is because I haven't finished setting up the environment for the netboot machine yet, it's a very raw debootstrap-created environment). One problem I ran into was that I couldn't add a user account, I kept getting errors about being unable to lock /etc/passwd. Is there something I need to set in unRAID to allow file locking to work over NFS?

  • 5 months later...

I tried to do something similar, and ended up finding out that the system was unusable. The main problem seemed to be that shfs (which is what unraid uses to make multiple disks appear as a single virtual disk) simply doesn't support some necessary operations (such as creating hard links, the lack of which was causing xauth to fail).

 

Since I wanted the entire netboot drive on a single disk anyway, I ended up sharing this directly by creating an entry for /mnt/diskN/dir in "/etc/exports-" (so that it ends up in /etc/exports when unraid rebuilds it).

 

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.