nscd caused NFS "Permission denied" problem

On a Solaris 8 system, Solaris's name server caching daemon (nscd) caused a strange NFS mount problem.

In this example, I was logged into host1, and attempted to mount an NFS share from 192.168.1.100.

# showmount -e 192.168.1.100
export list for 192.168.1.100:
/vol/decru_systest_files/systest_arch
host1,host2,host3
/vol/decru_test
host1,host2,host3
/vol/decru_systest_files/systest_areas
host1,host2,host3

The three NFS shares should be mountable by host1. However, I could only mount two of the three.

# mount 192.168.1.100:/vol/decru_test /tmp/mnt
# umount /tmp/mnt
# mount 192.168.1.100:/vol/decru_systest_files/systest_areas /tmp/mnt
# umount /tmp/mnt
# mount 192.168.1.100:/vol/decru_systest_files/systest_arch /tmp/mnt
nfs mount: 192.168.1.100:/vol/decru_systest_files/systest_arch:
Permission denied

Stopping and restarting nscd fixed the NFS mount "Permission denied" problem.

Back to brandonhutchinson.com.
Last modified: 2006/10/30