Problems setting up NFS on IRIX 6.5.3
#1
Problems setting up NFS on IRIX 6.5.3
I got my O2 today and have tried setting up NFS, but IRIX doesn't seem to be able to find the shared NFS folder (see video below).
https://youtu.be/si8KZZ8PlYg?t=48

The video is green, apparently my cheap usb capture card can't handle sync on green signal.

I'm hosting a NFS sever on a raspberry pi (pihole). The NFS folder is set as /mnt/usb1 (which is an external hdd connected via usb to the raspberry pi).
The IP of the pi is 192.168.1.4, so I was expecting it to detect the shared folder, but it doesn't. I watched a youtube video by forum user "Irinikus" as a reference but I'm not sure why it's not working for me.

I was able to access the shared folder via my Windows 10 PC.

The guide I used to set up NFS on the pi:
https://pimylifeup.com/raspberry-pi-nfs/
(This post was last modified: 10-27-2020, 07:52 PM by SGIArtist.)
SGIArtist
Octane

Trade Count: (0)
Posts: 55
Threads: 9
Joined: Oct 2020
Location: EU
Find Reply
10-27-2020, 07:29 PM
#2
RE: Problems setting up NFS on IRIX 6.5.3
Anecdotal, and certainly not helpful to your exact issue but:

I have had zero luck on any GNU/Linux distro with getting them to talk to IRIX over NFS. I use Solaris/Illumos, Both free and netbsd, and IRIX itself just fine, but there's probably differences in their config and security that prevent GNU/Linux from interfacing as easily.

Onto the things to check:

1. You need to be able to do NFSv3, that guide looks like it may be for NFSv4, which plain won't work on IRIX period. There's no support.

2. For NFS, you need to ensure RPCBIND, LOCKD, and MOUNTD are all enabled, running and that their respective ports are open.

3. I recall that the last NFS share I set up, I had to specifically put in my IRIX host addresses to /etc/exports to get it to work. That may not actually be necessary, but for some reason IP ranges didn't.

I'm the system admin of this site. Private security technician, licensed locksmith, hack of a c developer and vintage computer enthusiast. 

https://contrib.irixnet.org/raion/ -- contributions and pieces that I'm working on currently. 

https://codeberg.org/SolusRaion -- Code repos I control

Technical problems should be sent my way.
Raion
Chief IRIX Officer

Trade Count: (9)
Posts: 4,239
Threads: 533
Joined: Nov 2017
Location: Eastern Virginia
Website Find Reply
10-27-2020, 08:06 PM
#3
RE: Problems setting up NFS on IRIX 6.5.3
Hi SGIArtist,

I have no problems mounting NFS from shares from Ubuntu Linux on SGI machine.

I also have no problems mounting SGI IRIX based shares on Ubuntu Linux machines,

Problems with NFS are typically due to permissions/priviledge issues and making sure you NFS Client/Server will work across older / newer NFS versions.

As a starting point you should do:

1. chkconfig on your IRIX machine to make sure NFS enabled 
2. showmount -e 192.168.1.4 (your PI server) from your IRIX machine to verify if the exports are visible.

If they are then you will have to dig into permissions etc.
My advise is keep it really simple(as per of /etc/exports configuration) to start only then tighten it up if required.

Beware that NFS uses user ids and group ids to manage authorisation and if you have machines where the account id's are not managed with single directory then ensuring the permissions work gets pretty messing pretty quickly.

Good luck.
Please post diagnostics to get more specific guidance.

Cheers from Oz,


John.
jwhat
Octane/O350/Fuel User

Trade Count: (0)
Posts: 513
Threads: 29
Joined: Jul 2018
Location: Australia
Find Reply
10-28-2020, 06:39 AM
#4
RE: Problems setting up NFS on IRIX 6.5.3
Just for Anecdotal observations myself.

When I tried access a NFS export (server) on an Indigo2 running like 6.5.19 with a (client) MacOS laptop running (at the time) Mojave). It would work for small files, but if the file took longer than 10 seconds to transfer, the Indigo2 would have a kernel oops (odd, I know). Took me 20 minutes to figure that out. So I just made sure all files I needed at that were tarred and split into 5MiB chunks, then those chunks each took less than 10 seconds to transfer and it was stable. Anything that took too long Irix oops the kernel and had to be rebooted.

Don't know if 6.5.22 would have done that, but it wasn't accessible at the time.
weblacky
I play an SGI Doctor, on daytime TV.

Trade Count: (10)
Posts: 1,716
Threads: 88
Joined: Jan 2019
Location: Seattle, WA
Find Reply
10-28-2020, 07:41 AM
#5
RE: Problems setting up NFS on IRIX 6.5.3
That could have been connection unreliability. There's an unresolved NFS bug that will hang the IRIX system for an extended period of time if the NFS connection is interrupted by some manner.

This is definitely a frustrating issue.

But yes, SGIArtist you really really need to ensure your configuration supports NFSv3 and has the daemons I mentioned running. That's probably your first step. Anything beyond that is ancillary.

It's possible to get NFS for IRIX even on Windows server 2008R2! (using the Unix stuff that Windows has done in the past, forget it's name) but each implemention has its own finnickyness with legacy (pre-v4) connections because v4 was AFAIK an entire protocol rewrite! It's like comparing Japanese to Chinese!

I'm the system admin of this site. Private security technician, licensed locksmith, hack of a c developer and vintage computer enthusiast. 

https://contrib.irixnet.org/raion/ -- contributions and pieces that I'm working on currently. 

https://codeberg.org/SolusRaion -- Code repos I control

Technical problems should be sent my way.
Raion
Chief IRIX Officer

Trade Count: (9)
Posts: 4,239
Threads: 533
Joined: Nov 2017
Location: Eastern Virginia
Website Find Reply
10-28-2020, 08:04 AM
#6
RE: Problems setting up NFS on IRIX 6.5.3
EDIT: I've solved the issue by mounting from the terminal:

Code:
mount -t nfs 192.168.1.4:/mnt/usb1 /nfsshare

I've also added the following to /etc/fstab so it auto mounts in the future

Code:
192.168.1.4:/mnt/usb1 /nfsshare nfs rw,bg 0 0


-------------------------------------------------------------------------------
Thanks for all the help. Here are some of the results:

Result of chkconfig
   
NFS is set to ON

Result of showmount -e 192.168.1.4
   
It seems to be able to see the exports.

Exports file:
   
I set the parameters to the example given in the comment section of the file for NFS v3.

I added the nfs file after googling Raion's suggestion.

/etc/sysconfig/nfs
   
This is a copy of a sample file I found on the internet with NFS v3 set to yes.

rpcinfo output
   


The NFS on IRIX is set to AutoFS (I changed it to AutoFS after taking the below picture):

   

I don't have much experience with Linux or stuff like this so any help is welcome.
(This post was last modified: 10-30-2020, 07:02 PM by SGIArtist.)
SGIArtist
Octane

Trade Count: (0)
Posts: 55
Threads: 9
Joined: Oct 2020
Location: EU
Find Reply
10-29-2020, 07:28 PM


Forum Jump:


Users browsing this thread: 1 Guest(s)