NFS or network file system, is something like dropbox, you share over a network(export) some files from a server and the clients can write on it or read it.
In this particular scenario gfam wanted to export the /home folder so each user in any client can use his info.
Well, first the diagnosis:
nfs was working half-way, some machines were not connecting.
Doing a simple df -h I realized that the file system was not mounting on those machines, It was weird that the file /etc/exports was fine and also /etc/fstab in each client... apparently.
# mount /home |
on a client without nfs, prompted me a message saying I don't have permissions from the server, then a
# dmesg | grep nfs |
revealed that nfs4 was installed, some config files are somehow different from nfs3.
A bunch of forums and howtos say that in /etc/fstab the type of filesystem has to be specifically nfs4, but that was not necessary.
The real problem was that nfs4 handles the directions from the server in a different way, you have to use correctly the option fsid in the file /etc/exports so the nfs4 pseudofilesystem can export the right folder with the right path, here's a link that will help you (althought it is for arch):
No comments:
Post a Comment