Jump to content

NFS mount was working, now not...


Recommended Posts

NFS mounts were working great, but in the morning, that was no longer the case... Here's the setup...

 

Two servers on LAN and also linked via crossover:

 

cerver: 192.168.0.3 on LAN 192.168.25.2 on crossover interface

unraid: 192.168.0.4 on LAN 192.168.25.1 on crossover interface

 

cerver has host entries for unraid, the LAN ip is kept as 'tower' for ease of use with the other systems and the crossover ip is set as 'unRAID'.

 

Here is what is confusing me, since the NFS mounts were working, and over the crossover connection there should have been no issue with the link going down for no reason, and yet when I went to move some data over the next morning, my client computer said the NFS mounts were stale... So I tried to umount/mount them and found I was getting an error, even after verifying that I used the exact same command to mount them the night before I still found that I was getting an error, I even tried connecting via the LAN link, even though it doesn't have permissions (after giving it permissions the error returned to the same as the crossover link)

 

Error on cerver:

[root@cerver usenet]# mount unRAID:/mnt/unRAID/Movies /mnt/unRAID/Movies/
mount: unRAID:/mnt/unRAID/Movies failed, reason given by server: Permission denied
[root@cerver usenet]# mount tower:/mnt/unRAID/Movies /mnt/unRAID/Movies/
mount: tower:/mnt/unRAID/Movies failed, reason given by server: Permission denied

 

Syslog on unRAID:

Apr  4 20:56:24 Tower mountd[9651]: refused mount request from 192.168.25.2 for /mnt/unRAID/Movies (/): not exported
Apr  4 21:07:22 Tower mountd[9651]: refused mount request from 192.168.0.3 for /mnt/unRAID/Movies (/mnt/unRAID/Movies): unmatched host

 

Exports

root@Tower:~# cat /etc/exports
# See exports(5) for a description.
# This file contains a list of all directories exported to other computers.
# It is used by rpc.nfsd and rpc.mountd.

"/mnt/user/Apps" -async,no_subtree_check,anongid=0,anonuid=0,all_squash,fsid=100 192.168.25.2(rw)
"/mnt/user/Consoles" -async,no_subtree_check,anongid=0,anonuid=0,all_squash,fsid=101 192.168.25.2(rw)
"/mnt/user/Games" -async,no_subtree_check,anongid=0,anonuid=0,all_squash,fsid=102 192.168.25.2(rw)
"/mnt/user/Movies" -async,no_subtree_check,anongid=0,anonuid=0,all_squash,fsid=104 192.168.25.2(rw)
"/mnt/user/Music" -async,no_subtree_check,anongid=0,anonuid=0,all_squash,fsid=105 192.168.25.2(rw)
"/mnt/user/Music Videos" -async,no_subtree_check,anongid=0,anonuid=0,all_squash,fsid=106 192.168.25.2(rw)
"/mnt/user/TV" -async,no_subtree_check,anongid=0,anonuid=0,all_squash,fsid=108 192.168.25.2(rw)

 

Hosts

root@Tower:~# cat /etc/hosts
# Generated
127.0.0.1       Tower localhost

192.168.25.2    cerver

root@Tower:~# cat /etc/hosts.allow
#
# hosts.allow   This file describes the names of the hosts which are
#               allowed to use the local INET services, as decided by
#               the '/usr/sbin/tcpd' server.
#
# Version:      @(#)/etc/hosts.allow    1.00    05/28/93
#
# Author:       Fred N. van Kempen, <[email protected]
#
#

ALL: 192.168.25.2
# End of hosts.allow.

 

 

Not sure what other information I can provide, but after searching forums and even the wider Internet, I'm stumped...

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...