Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Oct 2016 04:49:43 -0400
From:      Aryeh Friedman <aryeh.friedman@gmail.com>
To:        FreeBSD Stable List <freebsd-stable@freebsd.org>
Subject:   NFS Client can't reconnect (RPC timeout) after reboot
Message-ID:  <CAGBxaXm9Pcgh=MB4%2B9UkPj548q2KesedvOfdyJzCf3bzFL-B5w@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I get a RPC time out when I attempt to reboot a 11-STABLE (1st uname) NFS
client attempting to connect to a 11-STABLE NFS server (2nd uname):  (Note:
NIS continues to work w/ "server" being the NIS server also note rebooting
the server clears it but restarting rpcbind/nfsd/mountd does not)

FreeBSD lilith 11.0-STABLE FreeBSD 11.0-STABLE #7 r308121: Mon Oct 31
02:58:37 EDT 2016     root@lilith:/usr/obj/usr/src/sys/GENERIC  amd64

FreeBSD server 11.0-STABLE FreeBSD 11.0-STABLE #0 r308000: Thu Oct 27
09:47:19 EDT 2016     aryeh@server2:/data/usr.obj/data/usr.src/sys/GENERIC
amd64

Server /etc/rc.conf:

hostname="server"
ifconfig_vtnet0="inet 10.0.10.254 netmask 255.255.255.0"
defaultrouter="10.0.10.1"
sshd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
named_enable="YES"
rpcbind_enable="YES"
nfs_server_enable="YES"
mountd_flags="-r"
nisdomainname="office"
nis_server_enable="YES"
nis_yppasswdd_enable="YES"
lockd_enable="YES"
statd_enable="YES"

Server /etc/exports:
/usr/local/com -maproot=root -network 10.0.10/24
/data/home /data/usr.src /data/ports -maproot=root -network 10.0.10/24

Client /etc/rc.conf:
hostname="lilith"
ifconfig_re0="inet 10.0.10.20 netmask 255.255.255.0"
defaultrouter="10.0.10.1"
sshd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
nisdomainname="office"
nis_client_enable="YES"
tomcat7_enable="YES"
cupsd_enable="YES"
autofs_enable="YES"
lockd_enable="YES"
statd_enable="YES"


-- 
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGBxaXm9Pcgh=MB4%2B9UkPj548q2KesedvOfdyJzCf3bzFL-B5w>