Greetings,
I’ve been trying to setup NFSv4 on my home server. Currently I am using NFSv3. It works, but I wanted to try to implement version 4 for various reasons, but I have run into several issues.
My current server setup is as follows:
-
I have several hard drives full of files each mounted in their own directory under /media. So the naming scheme would be something like:
-
/media/Linux_HD1
-
/media/Linux_HD2
etc
Under version 3 of NFS I have them set as in my /etc/exports file and I mount them with autofs on my client computers inside the /nfs/server folder. No problems viewing my files.
However, when I try to implement version 4, I can only get two outcomes:
- I can view the /media directory and all sub directories on my clients, but the sub directories are all empty under /nfs/server.
- I can mount and view any single one of the drives under /nfs/server, but not all of them at once.
I’m still learning all the ins and outs of NFSv4, but I suspect scenario #1 has to do with /media being a directory full of mount points.
So, with all of that said, what I would like to do is:
- export all contents of the /media directory on my server which contains several drives mounted to sub directories.
- Mount all the contents of /media on my client computers using autofs.
Any info you may need, just ask. Any help is appreciated. Thanks.