Background: I have an Ubuntu server sharing media to an Ubuntu client using NFS. Everything worked fine until I needed to mount a second folder on the client because the NFS mounts do not seem to traverse volumes. IP/Host is defined in hosts on both boxes.
Server:
/etc/exports:
/nfs_exports/Television 192.168.0.140(async,insecure,no_subtree_check,fsid=0,rw,nohide) /nfs_exports/Movies 192.168.0.140(async,insecure,no_subtree_check,fsid=0,rw,nohide)/etc/fstab:
/export/XBMC/Movies /nfs_exports/Movies non bind 0 0 /export/XBMC/Television /nfs_exports/Television non bind 0 0
Client:
/etc/fstab: If I say this:
192.168.0.150:/ /home/cshoults/Ryoken/Television nfs4 bg 0 0 192.168.0.150:/ /home/cshoults/Ryoken/Movies nfs4 bg 0 0Television mounts to both the Television and Movies folders.
If I say this:
192.168.0.150:/nfs_exports/Television /home/cshoults/Ryoken/Television nfs4 bg 0 0 192.168.0.150:/nfs_exports/Movies /home/cshoults/Ryoken/Movies nfs4 bg 0 0I get an error that the file or folder does not exist.
If I say this:
192.168.0.150.nfs_exports/Television:/ /home/cshoults/Ryoken/Television nfs4 bg 0 0 192.168.0.150.nfs_exports/Movies:/ /home/cshoults/Ryoken/Movies nfs4 bg 0 0It says no address associated with hostname.
I believe the problem is the fact that I have files on different volumes, multiple 2TB drives, that need to be accessible. I can mount /nfs_exports, but when I try to access the folders within it, it tells me the folders are stale and can't be accessed.