From owner-freebsd-fs@freebsd.org Mon Aug 3 03:56:34 2015 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6C0A69B2811 for ; Mon, 3 Aug 2015 03:56:34 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4546611C8 for ; Mon, 3 Aug 2015 03:56:34 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (ppp121-45-239-102.lns20.per1.internode.on.net [121.45.239.102]) (authenticated bits=0) by vps1.elischer.org (8.14.9/8.14.9) with ESMTP id t733uTbM087159 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 2 Aug 2015 20:56:33 -0700 (PDT) (envelope-from julian@freebsd.org) Subject: Re: NFS & ZFS: how to export whole FS hierarhy to mount it with one command on client? To: freebsd-fs@freebsd.org References: <795246861.20150801140429@serebryakov.spb.ru> <1363497421.7238055.1438428070047.JavaMail.zimbra@uoguelph.ca> <1593307781.20150801143052@serebryakov.spb.ru> From: Julian Elischer Message-ID: <55BEE668.3080303@freebsd.org> Date: Mon, 3 Aug 2015 11:56:24 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <1593307781.20150801143052@serebryakov.spb.ru> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Aug 2015 03:56:34 -0000 On 8/1/15 7:30 PM, Lev Serebryakov wrote: > Hello Rick, > > Saturday, August 1, 2015, 2:21:10 PM, you wrote: > >> To mount multiple file systems as one mount, you'll need to use NFSv4. I believe >> you will have to have a separate export entry in the server for each of the file >> systems. > So, /etc/exports needs to have BOTH v3-style exports & V4: root of tree line? OR you can have a non-standard patch that pjd wrote to do recursive mounts of sub-filesystems. it is not supposed to happen according to the standard but we have found it useful. Unfortnately it is written agains the old NFS Server. Rick, if I gave you the original pjd patch for the old server, could you integrate it into the new server as an option? >