IRIX Network Forums
Weird NFS issues with Raspberry Pi and O2 - Printable Version

+- IRIX Network Forums (//forums.irixnet.org)
+-- Forum: SGI/MIPS (//forums.irixnet.org/forum-3.html)
+--- Forum: Beginners' Questions/Tips (//forums.irixnet.org/forum-6.html)
+--- Thread: Weird NFS issues with Raspberry Pi and O2 (/thread-2649.html)



Weird NFS issues with Raspberry Pi and O2 - tlacct - 01-03-2021

I'm still an SGI and Unix novice, so this might be a simple issue.

A few weeks ago I successfully configured my Pi to connect to my new O2 over an Ethernet connection. I was able to set up an NFS server on the Pi to deliver files to the O2 and, for a little bit, it worked. Now, however, I am running into strange issues. Everything shared on the folder started showing up as empty files on the O2 with zero byte file sizes. I know this isn't the case because I can see the files on the Pi, but the O2 doesn't seem to recognize them. Attempting to copy files from the O2 to the Pi has the inverse problem, files show up on the Pi as empty.


I created a new folder today on the Pi and that seemed to work, I was able to share a tiff image and copy it over. However, when I added a tar file the O2 also thought it was a tiff image.

I'm still working my way around Irix but I can not figure out why this is happening (other than an incompatible file system). Has anybody had experience with this?


RE: Weird NFS issues with Raspberry Pi and O2 - Raion - 01-03-2021

It's not an incompatible file system. NFS operates on a much higher level than a file system driver.

This is an NFS server config issue, and as you said raspberry pi I'm going to assume that you're running some variety of Linux on that server. This is just my own personal anecdote/experience, but Linux NFS doesn't play as nice with IRIX as does BSD or Solaris/illumos based NFS. I run NetBSD on my RPis and it just works out of the box with simple configs.

That being said you're going to need to pick over the configuration and maintain a meticulous eye.

Start with the basics:

Make sure your server is only serving NFSv3 and/or 2. RPCBIND and MOUNTD both need to be running properly and configured under version 3 mode which varies between Linux versions. Make sure that your server and your O2 are assigned to the same subnet. Make sure that you're using the correct flags to share, and that user IDs and permissions are set up correctly