Hi J.R. :) On Sun, Jan 25, 2015 at 2:33 PM, <sf...@users.sourceforge.net> wrote: > > Let me make sure. > > On linux > - /titanic/Volumes/XDxxx are mounted zfs, and exported via nfs.
Correct, though the volumes aren't exported individually, just /titanic with the crossmnt flag. > - /Archive is exported by smbd. > Yup :) It's actually also exported as NFS, but at the moment it's only accessed via CIFS (from my sister's Mac). > On mac > - /titanic/Volumes/XDxxx are mounted nfs. > > Right? > Also here, /titanic is mounted, and each volume, as well as the Processed folder, are included with the mount. > >> This went alright with the XD??? shares, but when I wanted to add >> nfs:/titanic/Ripped/Processed/Music to foobar2000, I could not access >> it. Trying to ls it in a terminal gave me a "stale nfs file handle" >> message. Obviously, I then assumed it was a problem with NFS, and >> started scouring the net for help. Tried noac on the client, tried >> restarting the server, tried rebooting the Mac, but nothing helped. > > Hmm, > > On mac > - /titanic/Volumes/XDxxx are mounted nfs, and you can use them. > - /titanic/Ripped/Processed/Music is mounted nfs, but you cannot use them. > > Right? > All of them are accessible under the single /titanic mountpoint. But, when the aufs /Archive mountpoint is mounted *on the server*, the "Processed" folder becomes off-limits to my NFS client. When /Archive isn't mounted on the server (or when it's mounted with the hack I mentioned), I can access "Processed" just fine on the client. > > Currently, because you don't use /Archive on your Mac, I don't think > aufs is related. That's the weird thing. It doesn't matter if I mount the CIFS exported /Archive on my client or not, all I have to do is actually mount /Archive on the server. Then the "Processed" folder, which is the first branch on AUFS, becomes unreadable, but only on the client. > Can you verify that /titanic/Ripped/Processed/Music > is correctly exported, for instance, by "showmount -e your_nfs_server"? It isn't, I only export /Archive, /titanic/Volumes/Daniel, and /titanic. > And, for instance again, how about > "find /titanic/Ripped/Processed/Music | wc -l" > on both of nfs server and client? > The server lists everything, the client fails with the "Stale NFS file handle" error message. If I unmount /Archive on the server, or mount /Archive with a dummy folder as the first branch, the client lists everything as well. Cheers, Daniel :) > > J. R. Okajima ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/