odd NFS problems

Aaron Birenboim <[email protected]> Sat, 17 Oct 2009 10:13:57 -0600
Newsgroups gmane.org.user-groups.nmlug
Message-ID <[email protected]>
I have been having some odd outages with my home NFS server recently.
It is sharing several folders, in EXACTLY THE SAME WAY, and while
some shares work, one share goes bad.  When I try to re-mount, I get:

On client:

earwig:/etc> sudo mount coot:/home/users /home/users
earwig:/etc> sudo mount coot:/scr /scr
mount.nfs: access denied by server while mounting coot:/scr

On server:

aaron@coot:/etc$ sudo exportfs
/home/users   	grebe
/scr          	grebe
/scr          	earwig
/home/users   	192.168.1.0/24
/home         	192.168.1.0/24
/data         	192.168.1.0/24
/scr          	192.168.1.0/24
/scr          	192.168.1.27
aaron@coot:/etc$ cat /etc/exports
/home/users 	192.168.1.0/24(rw,no_root_squash,no_subtree_check,sync)
grebe(sync,rw,insecure,no_subtree_check)
/home		192.168.1.0/24(rw,no_root_squash,no_subtree_check,sync)
/scr		192.168.1.0/24(rw,no_root_squash,no_subtree_check,sync)
grebe(sync,rw,insecure,no_subtree_check)
earwig(sync,rw,insecure,no_subtree_check)
192.168.1.27(sync,rw,insecure,no_subtree_check)
/data		192.168.1.0/24(rw,no_root_squash,no_subtree_check,sync)
aaron@coot:/etc$

I used to have the settings for /home/users and /scr exactly the same.
I tried adding entries as a hack to get /scr back

I'm not getting any ideas by surfing on this.
All I find is advice on how to format /etc/exports, which seems fine,
especially since /home/users seems to work.

I rebooted to single user, ran xfs_check on the /scr partition, rebooted
again, and got the service back.
Problem is that the server is not of any practical use if it
needs frequent shutdowns like this.

              aaron
_______________________________________________
NMLUG mailing list
[email protected]
http://lists.b9.com/cgi-bin/mailman/listinfo/nmlug