From owner-freebsd-fs@FreeBSD.ORG Thu Jul 4 15:28:22 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 36310854 for ; Thu, 4 Jul 2013 15:28:22 +0000 (UTC) (envelope-from kpaasial@gmail.com) Received: from mail-qa0-x232.google.com (mail-qa0-x232.google.com [IPv6:2607:f8b0:400d:c00::232]) by mx1.freebsd.org (Postfix) with ESMTP id F042A1C93 for ; Thu, 4 Jul 2013 15:28:21 +0000 (UTC) Received: by mail-qa0-f50.google.com with SMTP id l18so834913qak.9 for ; Thu, 04 Jul 2013 08:28:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=DplLSclHBkH4VQWY4dtcrCCVgPDDNh7L6BHksuKAnWY=; b=hcxqQ7iUlDFnPBacfgNCYdQ3W+RDjZFkbmmRUYy1/JolqbCKoMrRusIBNhzMohMQQu G4lFaS+ph1n06kRGgxLgLp3dBtrJSZQAG/3Q4DUMMX3S8VfM7KvFzTkXHCXAOe0mRiU6 QvLtTinUhbhv4xCMb/Jt+eYW4Mwrv3bv7ab7H47FagP6+ZcLPUyeFhyZ0qBJWadYYRsp JzRFKy9P34YIUi0l2gC+T/Fh3yFFxtMLWmWE3wIRN84CgMZkcmXwZFJ+fRW9/IL8WZiE dxUjZ+GjuF7CZ0BekzjDiwn6d99/SpfrxrF4uHPoTzT92afra0wXjWYozuKg8uSLOKCS L6SQ== MIME-Version: 1.0 X-Received: by 10.224.29.69 with SMTP id p5mr7853423qac.5.1372951701590; Thu, 04 Jul 2013 08:28:21 -0700 (PDT) Received: by 10.224.138.78 with HTTP; Thu, 4 Jul 2013 08:28:21 -0700 (PDT) In-Reply-To: <20130704151352.GC43809@roberto02-aw.erc.corp.eurocontrol.int> References: <51D56066.1020902@FreeBSD.org> <51D56C19.8080103@FreeBSD.org> <20130704151352.GC43809@roberto02-aw.erc.corp.eurocontrol.int> Date: Thu, 4 Jul 2013 18:28:21 +0300 Message-ID: Subject: Re: boot from ZFS: which pool types use? From: Kimmo Paasiala To: Ollivier Robert Content-Type: text/plain; charset=UTF-8 Cc: freebsd-fs@freebsd.org, Dmitry Morozovsky X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jul 2013 15:28:22 -0000 On Thu, Jul 4, 2013 at 6:13 PM, Ollivier Robert wrote: > According to Andriy Gapon on Thu, Jul 04, 2013 at 03:35:37PM +0300: >> Setting bootfs should not be required. If your root filesystem is your root >> dataset (like "tank"), then everything should have just worked. > > Except that it is a better idea to have a dataset separated from the root of the pool in order to be able to switch from one to another when upgrading, right? > > -- If you use the Solaris boot environments (the FreeBSD port is called sysutils/beadm) they require that the datasets are structured exacly in a certain way. For example: pool/ROOT/default pool/ROOT/default/usr ... pool/ROOT/test pool/ROOT/test/usr etc. To be able to boot from any of the boot environments you have to set the bootfs property (or set vfs.root.mountfrom in loader.conf but that's terribly clumsy with boot environments). -Kimmo