February 18, 201115 yr 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?
February 18, 201115 yr Author Ooh, as this got moved to the Roadmap category, does that mean this is likely to be in v5 at some point? :hopeful:
February 19, 201115 yr 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.
February 19, 201115 yr 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.
February 19, 201115 yr 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?
August 10, 201114 yr 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.