From owner-freebsd-current@FreeBSD.ORG Fri Nov 27 16:25:00 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB8C5106566B for ; Fri, 27 Nov 2009 16:25:00 +0000 (UTC) (envelope-from marcin.bujak@openetworks.pl) Received: from mail.openetworks.pl (mail.openetworks.pl [62.181.1.150]) by mx1.freebsd.org (Postfix) with ESMTP id 927648FC0C for ; Fri, 27 Nov 2009 16:25:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.openetworks.pl (Postfix) with ESMTP id 2D8E512B1F4 for ; Fri, 27 Nov 2009 17:05:25 +0100 (CET) X-Virus-Scanned: amavisd-new at openetworks.pl Received: from mail.openetworks.pl ([127.0.0.1]) by localhost (mail.openetworks.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WyuUAC3OxZ8R for ; Fri, 27 Nov 2009 17:05:22 +0100 (CET) Received: from [10.133.8.105] (ksi-system-193239037070.internet.dla.mnie.pl [193.239.37.70]) by mail.openetworks.pl (Postfix) with ESMTP id A183D12B1D7 for ; Fri, 27 Nov 2009 17:05:21 +0100 (CET) Message-Id: From: Marcin Bujak To: freebsd-current@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Fri, 27 Nov 2009 17:05:15 +0100 X-Mailer: Apple Mail (2.936) Subject: zfs parent/child nfs share problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Nov 2009 16:25:00 -0000 Hi How can I properly share ZFS trough NFS with a child ZFS filesystems mounted in ? What I did; on server1: zfs create something/test1 zfs create something/test2 zfs list something something/test1 something/test2 zfs sharenfs=on something on server2: showmount -e server1 Exports list on server1: /something/test1 /something/test2 /something mount server1:something /something ls /something test1 test2 touch /something/test1/testfile ls /something/test1/testfile /something/test1/testfile on server1: ls /something/test1/testfile ls: /something/test1/testfile: No such file or directory zfs umount something/test1 ls /something/test1/testfile /something/test1/testfile so, the file has been created in the parent filesystem instead of in the mounted child when I use mount server1:something/test1 /something then it works properly zfs sharenfs=off something/test1 doesn't help is it possible to share a whole zfs structure in a one single parent share ? regards marcin