On 24/01/2024 15:20, Ralph Corderoy wrote:
Hi Tim,

What is the IP address of the Linux machine?  It is a 192.168.18/24?
‘ip a’ will show the address of each network interface.

‘showmount -e 192.168.18.150’ may be a useful test as well as
‘rpcinfo 192.168.18.150’.
...
$ ip a
...
2: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP 
group default qlen 1000
      link/ether 3c:97:0e:a2:0f:e8 brd ff:ff:ff:ff:ff:ff
      inet 192.168.18.34/24 brd 192.168.18.255 scope global dynamic 
noprefixroute enp0s25
         valid_lft 43835sec preferred_lft 43835sec
      inet6 2a0e:cb01:8c:7400:3ed0:59ac:9748:6714/64 scope global dynamic 
noprefixroute
         valid_lft 477sec preferred_lft 477sec
      inet6 fe80::9e5b:2313:8e2c:e6e/64 scope link noprefixroute
         valid_lft forever preferred_lft forever
So the IPv4 address of your NX1 laptop is 192.168.18.34/24.
That's in your new 192.168.18/24 network, which is good.

$ showmount -e
clnt_create: RPC: Program not registered
No, my showmount command included an IP address.

and this for the ssh terminal

admin@diskstation:~$ showmount -e
/Volume1/Data 192.168.1.1/24
Ah, good.  If the NAS is 192.168.18.150 then you've effectively done the
showmount I was after by running it on 150 itself.  But I still suggest
you do ‘showmount -e 192.168.18.150’ from NX1 to confirm it gives the
same result.

Is this the /etc/exports we were are looking for?
It's a subset of what would be in it.

I think the NAS, 192.168.18.150, AKA diskstation, is reporting through
showmount that /Volume1/Data may be mounted by 192.168.1.1/24.  I'm not
quite sure why the last byte of 1 is there given the /24 masks it off.
192.168.1.0/24 looks to be equivalent to me.

But your laptop, NX1, is 192.168.18.34/24 which is a different network.
The NAS won't let a 192.168.18/24 mount it as it's not 192.168.1/24.

So you need to check your other machines which can mount it are using
NFS rather than something else which has its own different set of
checks.  And if it's only the NFS machine having problems then alter the
NAS to allow NFS mounts from 192.168.18/24 instead of 192.168.1/24.

Sorry for the delay in replying.

So went onto the Nas and looked at the NFS entries, found an entry for 192.168.1.1/24, so I added a second entry 192.169.18.1/24. I had to reboot the NAS but once rebooted I was able to login. My Linux box is the only NFS connections. So assuming I have checked my windows boxes can access the Nas of (think there some form of Smaba used< I am not sure), would is save to remove the 192.168.1.1/24 entry?

Regards

Tim H

--
 Next meeting: Online, Jitsi, Tuesday, 2024-02-06 20:00
 Check to whom you are replying
 Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
 New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk

Reply via email to