Project

General

Profile

Actions

Bug #1101

closed

NFS service fails to start after hostname change

Added by Igor Vasilyev almost 10 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
2011-06-10
Due date:
% Done:

100%

Estimated time:
Difficulty:
Tags:
needs-triage
Gerrit CR:

Description

If we does not have share before changing hostname, nfsd does not start.

root@illumos-gate:~# share
root@illumos-gate:~# ps ax | grep nfs
 100943 pts/1    R  0:00 grep nfs
root@illumos-gate:~# 
root@illumos-gate:~# hostname illumos-gate2
root@illumos-gate2:~# share /testpool/NFS40 
root@illumos-gate2:~# share
-               /testpool/NFS40   rw   ""  
root@illumos-gate2:~# ps ax | grep nfs
 100960 ?        S  0:00 /usr/lib/nfs/nfsmapid
 100965 ?        S  0:00 /usr/lib/nfs/lockd
 100993 pts/1    S  0:00 grep nfs
root@illumos-gate2:~# 
root@illumos-gate2:~# svcs -x
svc:/network/nfs/server:default (NFS server)
 State: maintenance since Fri Jun 10 08:19:19 2011
Reason: Start method exited with $SMF_EXIT_ERR_FATAL.
   See: http://sun.com/msg/SMF-8000-KS
   See: nfsd(1M)
   See: /var/svc/log/network-nfs-server:default.log
Impact: This service is not running.

svc:/network/nfs/status:default (NFS status monitor)
 State: maintenance since Fri Jun 10 08:19:19 2011
Reason: Restarting too quickly.
   See: http://sun.com/msg/SMF-8000-L5
   See: statd(1M)
   See: /var/svc/log/network-nfs-status:default.log
Impact: This service is not running.

If some share already exist - all works fine

Actions

Also available in: Atom PDF