From owner-freebsd-fs@freebsd.org Sat Aug 1 12:01:31 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 9734D9AE01A for ; Sat, 1 Aug 2015 12:01:31 +0000 (UTC) (envelope-from email.ahmedkamal@googlemail.com) Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3DFA3CF1; Sat, 1 Aug 2015 12:01:31 +0000 (UTC) (envelope-from email.ahmedkamal@googlemail.com) Received: by wibxm9 with SMTP id xm9so64861854wib.0; Sat, 01 Aug 2015 05:01:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=0Zfhbfek68M7qpRGgLzn9UC8EPE/B5v6ot49xwuiDkI=; b=Zzjrx1D8g2ty+OhyuD+H2za4jgUO5Q+bb9zeKdXTdD6EemgpZF10040Zfj16Qt7+8L qMSTXlEELGc88etYLN65hEAMsYIQjWCaFZuLPSPpMluIUm+Z9MuJr8waGs1dvEzfwrP5 4U85pxV41ZoTVZ1/Wpy3bIed8GHBrj05RzpFfe88LzQ5qKwdiFzGZ9W3sMpVHzCOvgH6 jc1yCNApEVC/yttKhIK8BQhR6DXpXUwpR3N/9Mm8j+H125+aYsS7KYsQoxUlxCzx1a3J kRJTAumpuxvhDudFk0dEIzTpApOOTZKUyh77AQl8B7Gm3zk5g9YW4HRC82fabDlGIq7H 2erQ== X-Received: by 10.194.184.232 with SMTP id ex8mr6431442wjc.42.1438430489193; Sat, 01 Aug 2015 05:01:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.6.143 with HTTP; Sat, 1 Aug 2015 05:01:09 -0700 (PDT) In-Reply-To: <1593307781.20150801143052@serebryakov.spb.ru> References: <795246861.20150801140429@serebryakov.spb.ru> <1363497421.7238055.1438428070047.JavaMail.zimbra@uoguelph.ca> <1593307781.20150801143052@serebryakov.spb.ru> From: Ahmed Kamal Date: Sat, 1 Aug 2015 14:01:09 +0200 Message-ID: Subject: Re: NFS & ZFS: how to export whole FS hierarhy to mount it with one command on client? To: lev@freebsd.org Cc: Rick Macklem , FreeBSD FS Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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: Sat, 01 Aug 2015 12:01:31 -0000 My setup is # cat /etc/exports V4: / -sec=sys # zfs get sharenfs sitank/home NAME PROPERTY VALUE SOURCE sitank/home sharenfs on local and that's it .. All children zfs datasets under sitank/home inherit the sharenfs=on property and life works. The integration between zfs and sharing nfs is not too smooth .. so ensure it's the last step you do On Sat, Aug 1, 2015 at 1: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? > > -- > Best regards, > Lev mailto:lev@FreeBSD.org > > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" >