Eben King <e...@gmx.us> wrote:
> On 3/19/25 15:05, Greg Wooledge wrote:
> > On Wed, Mar 19, 2025 at 14:53:51 -0400, Eben King wrote:  
> >> I have this machine "alexandria".  It mounts a directory from the
> >> nas via NFS.  When I export a parent directory on alexandria, the
> >> mount point appears empty, even though you can ssh to it and see
> >> everything there that should be.  How do I get it to share the
> >> contents of that mount?  
> >
> > As I understand it, you have three machines: alexandria (a), nas (n)
> > and another client (c).
> >
> > You have shared a directory from n, and mounted it on a
> > (at /foo/bar).  
> 
> Yes.
> 
> > Meanwhile, you have shared directory /foo from a, and mounted it on
> > c.  
> 
> Yes.
> 
> > I believe all of these shares and mounts are using NFS.  
> 
> Yes.
> 
> > If I understand correctly, you are wondering why c cannot see the
> > contents of /foo/bar which is only shared between n and a.  
> 
> Correct.
> 
> > In essence, what you are asking is "how can I re-share an NFS share
> > that I'm mounting as a client, to another client".  
> 
> Correct.
> 
> > To the best of my knowledge, this is not possible.
> >
> > However, what *is* possible, because I've done it, is to mount an
> > NFS share and then share that via Samba.  
> 
> I used to use SMB, but it did funny things to filenames with a colon.
> These files are TV shows and movies, and colons are not infrequent.
> Has it got better, or is there a config option I need to set?
> 
> > If you need c to see the contents of n's share using NFS, then c
> > should mount the share directly from n, and not go through a.  
> 
> That was my temporary workaround.  I guess it'll become a permanent
> workaround.

It's not a workaround. It's expected behaviour. You told the NAS to
share some of its contents with alexandria. That's what it's doing. Why
would you expect it to respond to a random request from some other
computer? Alternatively, why would you expect alexandria to share
content that doesn't belong to it?

Reply via email to