I have an odd situation with NFS after I rebooted the server. Before the boot I could access the NFS mount from my client machine no problem but suddenly I don't see the correct contents any more. For instance, I touch:ed a file on the client side, but going to the server, I can't see the file there. My home directory contents are also not visible any more on the client side.
What happened? I thought I had everything mounted as I had before the boot. Bind seems to be correct on the server side and mount server:/dir /dir works.
/etc/exports looks like this:
/share 10.0.0.0/24(rw,no_root_squash,async)
EDIT: I forgot to say that when I mount that dir on the client side, there is some stuff in the directory, but not the same is in the server side (and changes are not visible as I said).
Here are the requested files.
Client-side fstab:
my.server.com:/share /share nfs rsize=8192,wsize=8192,timeo=13,intr
I haven't booted the client yet, though.
Server-side fstab:
/home /share/home none bind 0 0
I have been using the information on this post: http://ubuntuforums.org/showthread.php?t=249889 to work this out.
One thing I noticed is that even though nfs-common is installed on the client, there is no nfs-common init script anywhere. I guess this is because I'm running Lucid Lynx.
EDIT2: Could this be an issue with user rights? I have a different user name in the client and server boxes, how does NFS determine what rights I have?