From owner-freebsd-questions@FreeBSD.ORG Wed May 28 15:45:07 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 99C82A52 for ; Wed, 28 May 2014 15:45:07 +0000 (UTC) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id 74E6124B8 for ; Wed, 28 May 2014 15:45:07 +0000 (UTC) Received: by be-well.ilk.org (Postfix, from userid 1147) id 40C5733C48; Wed, 28 May 2014 11:44:59 -0400 (EDT) From: Lowell Gilbert To: Scott Ballantyne Subject: Re: Not seeing files in an NFS exported directory References: <20140528052835.2364.qmail@irelay.ssr.com> Reply-To: freebsd-questions@freebsd.org Date: Wed, 28 May 2014 11:44:59 -0400 In-Reply-To: <20140528052835.2364.qmail@irelay.ssr.com> (Scott Ballantyne's message of "28 May 2014 05:28:35 -0000") Message-ID: <44bnuhgb5w.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 May 2014 15:45:07 -0000 Scott Ballantyne 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.]