Re: NFS export subdirs on different file systems?




I have a directory /net/store. This directory is exported to all machines on my network.

I have a sub-directory /net/store/photos. That too is exported to all machines on my network.

What I want is that when I mount /net/store from another machine, the contents of /net/store/photos too be visible. Is there any way I can do that?

From the manpage and the handbook and Google etc I get the idea that it might not be possible. Still, asking just in case there are any round-about ways ... I would assume a scenario like this is common.

[I need /net/store/photos to be on a separate partition coz its encrypted and stuff. And I'd rather have it appear as part of the /net/store namespace ...]

Forgot to add: the two directories are imported "dynamically" on the client side. So I can't just make fstab entries on the client side to mount both points. I use AMD to mount /net/store when needed. And I can't for the life of me figure how to make it mount /net/store/photos too when needed -- I dont think that's possible(?) ...
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Cannot mount via NFS
    ... >> How can both machines be running portmapper, ... > what/if is currently being shared by the server. ... mount clntudp_create: RPC: Port mapper failure - RPC: Timed out ... the problem is definitely in the connection of the client to the server's ...
    (comp.os.linux.networking)
  • Re: Cannot mount via NFS
    ... >> How can both machines be running portmapper, ... > what/if is currently being shared by the server. ... mount clntudp_create: RPC: Port mapper failure - RPC: Timed out ... the problem is definitely in the connection of the client to the server's ...
    (comp.os.linux.setup)
  • Re: Cannot mount via NFS
    ... >> How can both machines be running portmapper, ... > what/if is currently being shared by the server. ... mount clntudp_create: RPC: Port mapper failure - RPC: Timed out ... the problem is definitely in the connection of the client to the server's ...
    (comp.os.linux.misc)
  • automating SMB/CIFS share configs (was: Re: relative path in fstab)
    ... > I have a number of network paths I want to mount. ... Within a host, you specify shares. ... line -- with access expected from multiple programs). ... network structure and you've got a rapidly evolving maintenance mess. ...
    (Debian-User)
  • Re: mount to NFS server Server failed: server is down
    ... > problem is more on the client side. ... I have my fstab to mount the nfs shares, so I never really cared about ... > (I don't write Server but the IP address though.) ... and recived (run it on both machines). ...
    (alt.linux)