Date: Wed, 28 May 2014 11:44:59 -0400 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: Scott Ballantyne <sdb@ssr.com> Cc: freebsd-questions@freebsd.org Subject: Re: Not seeing files in an NFS exported directory Message-ID: <44bnuhgb5w.fsf@be-well.ilk.org> In-Reply-To: <20140528052835.2364.qmail@irelay.ssr.com> (Scott Ballantyne's message of "28 May 2014 05:28:35 -0000") References: <20140528052835.2364.qmail@irelay.ssr.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Scott Ballantyne <sdb@ssr.com> writes: > I have /var/MOUNT1 and /var/MOUNT1/MOUNT2 > > /var/MOUNT1 is a directory on a ZFS filesystem and is exported: > > /var/MOUNT1 -ro 192.168.1.5 > > There are various files and directories in MOUNT1, all of which I can > access on the client, with the exception of MOUNT2. > > MOUNT2 is an NTFS filesystem, which is mounted with ntfs-3g. I can > access all the files from the server, so I know it's mounted > properly. But when I enter the MOUNT2 directory from the client, it > shows as empty. > > Is this because it's a mountpoint? If so, how can I get this to work > without having to do two NFS mounts on the client? You can't; NFS has some concept of (a few) filesystem attributes. These really are different filesystems underneath, with different attributes. What you can do instead is have the mounts occur automatically. Look at amd(8); I think the example in the Handbook is a little different from your configuration, but I'm pretty sure that somewhere back in the mists of time I did something similar to what you want. [Caveat: I don't know NFSv4 that well. But I'm pretty sure that doesn't change the answer.]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44bnuhgb5w.fsf>