IRIX 6.5.22 NFS and RedHat Linux [Fedora,Centos, RHEL]
#1
IRIX 6.5.22 NFS and RedHat Linux [Fedora,Centos, RHEL]
This only applies to RHEL 8/CENTOS 8 and Fedora 34

I've had a problem getting my Indy running 6.5.22 to mount NFS shares on RHEL8 and it's taken me forever the figure out how to fix it because so much is undocumented.

NFS/ONC3 on 6.5.22 will only use NFS v3 with UDP which is not turned on by default on RHEL 8-based distributions. The error messages in IRIX and on Linux are not very helpful. In order to fix this you'll need to add:


Code:
udp=y
vers3=y

in the [nfsd] secion of /etc/nfs.conf

Voila. It's stupid simple and hopefully will help someone with that aggrivation.
praetor
Octane

Trade Count: (0)
Posts: 55
Threads: 12
Joined: Nov 2017
Find Reply
10-01-2021, 10:13 PM
#2
RE: IRIX 6.5.22 NFS and RedHat Linux [Fedora,Centos, RHEL]
Nice nice. What else is necessary? If you wanted to draw up a basic guide, I'll add it to the wiki.

I also am curious if you enabled rpcbind and related daemons. On FreeBSD, NetBSD and such to act as a NFS server this is a must.

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,240
Threads: 533
Joined: Nov 2017
Location: Eastern Virginia
Website Find Reply
10-02-2021, 12:49 AM
#3
RE: IRIX 6.5.22 NFS and RedHat Linux [Fedora,Centos, RHEL]
(10-02-2021, 12:49 AM)Raion Wrote:  Nice nice. What else is necessary? If you wanted to draw up a basic guide, I'll add it to the wiki.

I also am curious if you enabled rpcbind and related daemons. On FreeBSD, NetBSD and such to act as a NFS server this is a must.

Yes. You have to install nfs-utils and rpcbind as rpcbind is required for NFSv3, you'll have to also disable the firewall or map the daemons to specific ports in the nfs.conf file and then create firewall rules.

This has vexxed me for a while!!! But not having to scp things over to my Indy is so nice.
praetor
Octane

Trade Count: (0)
Posts: 55
Threads: 12
Joined: Nov 2017
Find Reply
10-02-2021, 01:32 AM
#4
RE: IRIX 6.5.22 NFS and RedHat Linux [Fedora,Centos, RHEL]
I enabled UDP and NFSv3, disabled NFSv4, but it still doesn't work for me after upgrade my Linux machine to Devuan Daedalus (it's systemd-free Debian Bookworm). It worked before on the previous Linux version (Chimaera). No firewall... Does anyone has any ideas?

rpcbind is enabled, everything is enabled, but they seem to have broken something in Linux NFS...

what I get (.5 is IRIX, .1 is Linux which acts as a server)

on IRIX:

-bash-4.2# mount -t nfs 172.19.4.1:/storage0 /stuff/mnt
mount: 172.19.4.1:/storage0 on /stuff/mnt: I/O error
mount: giving up on:
  /stuff/mnt

I see in logs that Linux allows IRIX's mount request:

2024-09-07T21:42:19.294206+02:00 serana rpc.mountd[6806]: check_default: access by 172.19.4.5 ALLOWED (cached)
2024-09-07T21:42:19.294235+02:00 serana rpc.mountd[6806]: Received MNT1(/storage0) request from 172.19.4.5
2024-09-07T21:42:19.294299+02:00 serana rpc.mountd[6806]: authenticated mount request from 172.19.4.5:957 for /storage0 (/storage0)
2024-09-07T21:42:19.295703+02:00 serana rpc.mountd[6806]: granted access to /storage0 for 172.19.0.0/255.255.0.0

but what I see in tcpdump on Linux:

21:42:19.499675 IP 172.19.4.5.682 > 172.19.4.1.2049: NFS request xid 422345574 116 getattr fh Unknown/010005008C09CDEA7C83BB4C0000000000000000000000000000000000000000
E.......<.4..............|.}.,{f...........................,f.......indy.............................................  ..|..L....................
21:42:19.500153 IP 172.19.4.1.2049 > 172.19.4.5.682: NFS reply xid 422345574 reply ok 32 getattr PROG_MISMATCH

UPD: found in logs that IRIX wants NFS2:
Sep  7 19:42:19 6A:indy unix: NFS2 unknown failed for server 172.19.4.1: Program/version mismatch

retro computer fan from the USSR

I have: Indy SGI Indy, Sun Ultra 60, Sun Blade 100, IBM RS/6000 380, PowerMac G3, PowerBook 150 and Compaq Aero 4/33
Also Soviet home computers: BK-0010-01, Vector-06c (not working) and UK-NC (not working)
(This post was last modified: 09-07-2024, 08:40 PM by Merclangrat.)
Merclangrat
Indy

Trade Count: (0)
Posts: 13
Threads: 0
Joined: Aug 2024
Location: Berlin, Germany
Website Find Reply
09-07-2024, 07:55 PM
#5
RE: IRIX 6.5.22 NFS and RedHat Linux [Fedora,Centos, RHEL]
Actually, I made it working! I had to install software from ONC/NFSv3 disk on my 6.5.22 (also used Overlay CDs to fix conflicts) and reboot the system. After that I could mount it via

mount -t nfs3 172.19.4.1:/storage0 /stuff/mnt

explicitly as nfs3

praetor: I think you have it installed, but it seems to be mandatory if the server supports only v3, because IRIX seems to try only v2 without ONC/NFSv3.

Raion: I can try to reformulate/summarize it as a basic guide for the wiki. But I am interested how it works on your system - maybe *BSD support v2 too, I mean, didn't break the backward compatibility

retro computer fan from the USSR

I have: Indy SGI Indy, Sun Ultra 60, Sun Blade 100, IBM RS/6000 380, PowerMac G3, PowerBook 150 and Compaq Aero 4/33
Also Soviet home computers: BK-0010-01, Vector-06c (not working) and UK-NC (not working)
Merclangrat
Indy

Trade Count: (0)
Posts: 13
Threads: 0
Joined: Aug 2024
Location: Berlin, Germany
Website Find Reply
09-07-2024, 10:30 PM
#6
RE: IRIX 6.5.22 NFS and RedHat Linux [Fedora,Centos, RHEL]
(10-02-2021, 01:32 AM)praetor Wrote:  This has vexxed me for a while!!! But not having to scp things over to my Indy is so nice.

That vexxed me too! But I understand why - the defaults were working for many many years (I even didn't check /etc/nfs.conf before)

I found that out using tcpdump - Indy was trying to connect by udp and the port wasn't open. Thank you for sharing this!

retro computer fan from the USSR

I have: Indy SGI Indy, Sun Ultra 60, Sun Blade 100, IBM RS/6000 380, PowerMac G3, PowerBook 150 and Compaq Aero 4/33
Also Soviet home computers: BK-0010-01, Vector-06c (not working) and UK-NC (not working)
Merclangrat
Indy

Trade Count: (0)
Posts: 13
Threads: 0
Joined: Aug 2024
Location: Berlin, Germany
Website Find Reply
09-07-2024, 11:31 PM
#7
RE: IRIX 6.5.22 NFS and RedHat Linux [Fedora,Centos, RHEL]
Watch the dates on posts please, you resurrected a 3 year old thread.

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,240
Threads: 533
Joined: Nov 2017
Location: Eastern Virginia
Website Find Reply
09-08-2024, 12:14 AM
#8
RE: IRIX 6.5.22 NFS and RedHat Linux [Fedora,Centos, RHEL]
Watch the dates on posts please, you resurrected a 3 year old thread. May wanna start a new thread next time..

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,240
Threads: 533
Joined: Nov 2017
Location: Eastern Virginia
Website Find Reply
09-08-2024, 12:14 AM
#9
RE: IRIX 6.5.22 NFS and RedHat Linux [Fedora,Centos, RHEL]
(09-07-2024, 10:30 PM)Merclangrat Wrote:  ...
mount -t nfs3 172.19.4.1:/storage0 /stuff/mnt

explicitly as nfs3
...

I usually use that command for NFS and it works Ok.

Indy Indy R4400 150 MHz, 256 MB RAM, 24-bit graphics, 6.5.22
  Octane2 Octane2 R12000 400 MHz, 1024 MB RAM, ODYSSEY V6, 6.5.30

IBM 44p model 170 (7044-170), POWER3-II 64 bits 400 MHz, 1 GB RAM
AlphaServer DS10 466 MHz, 128 MB RAM
HP C3600 PA-RISC 8600 552MHz, 2 GB RAM
HP ProDesk 400 G2 MINI Intel Core i5 6th Gen 2,50GHz 16GB, Debian GNU/Linux (NAS)
HP t610 Debian GNU/Linux, 2 GB RAM (NAS)
(This post was last modified: 09-09-2024, 12:53 PM by Linux-RISC.)
Linux-RISC
RISC and Unix lover

Trade Count: (0)
Posts: 51
Threads: 4
Joined: Apr 2022
Location: Spain
Website Find Reply
09-09-2024, 12:52 PM


Forum Jump:


Users browsing this thread: 1 Guest(s)