From owner-freebsd-fs@FreeBSD.ORG Mon Sep 9 12:55:24 2013 Return-Path: Delivered-To: freebsd-fs@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 ESMTP id 4E20C6A8 for ; Mon, 9 Sep 2013 12:55:24 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wg0-x22c.google.com (mail-wg0-x22c.google.com [IPv6:2a00:1450:400c:c00::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DEFE7227B for ; Mon, 9 Sep 2013 12:55:23 +0000 (UTC) Received: by mail-wg0-f44.google.com with SMTP id b12so4158704wgh.23 for ; Mon, 09 Sep 2013 05:55:22 -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=uoynXNbTAspfhJHMqikXGOY076ItVxL6N+w9jPpaQbE=; b=LqePsdrgRHYagdu6DE3LhvEKY3kwNFaMhmN23SPMemXMSY0R6VB3Cq3nRpdIs5nO3d em9MeMH7igntLccbeh5RPOrKjZ2sbEfNEOQPaGQB+NE57cLuYMIGKTrRY4ISYoqd5iN7 Qioqq+Rom1pUeKO58gO4VhTXQwDtM7/l+LbZUzGBlEo/LRrKC2xu1d6VoY/lxr1vPFGO DkJ2tXZZ3KWMC0nqJeqEE0O6CDe7igc9AeuzOGgpfXF0ivXQM/BDxJ0U+0pDmLo1PMaa JcWTQRexunzsnYnq1JtyQTu3PXIhFYRRNtlHOhXea0C4Wt8BqUI8wZmtiKse/4p1Gayu CQCw== MIME-Version: 1.0 X-Received: by 10.180.189.17 with SMTP id ge17mr6034620wic.53.1378731322324; Mon, 09 Sep 2013 05:55:22 -0700 (PDT) Received: by 10.216.235.9 with HTTP; Mon, 9 Sep 2013 05:55:22 -0700 (PDT) In-Reply-To: <522D67DB.7060404@infracaninophile.co.uk> References: <522D67DB.7060404@infracaninophile.co.uk> Date: Mon, 9 Sep 2013 13:55:22 +0100 Message-ID: Subject: Re: zfs_enable vs zfs_load in loader.conf (but neither works) From: krad To: Matthew Seaman Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD FS 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: Mon, 09 Sep 2013 12:55:24 -0000 you will find without 'zfs_enable=3D"YES" ' set a lot of the zfs datasets might not get mounted On 9 September 2013 07:16, Matthew Seaman wrote: > On 09/09/2013 02:02, J David wrote: > > Under 9.1 it had in loader.conf: > > > > zfs_load=3D"YES" > > vfs.root.mountfrom=3D"zfs:data/root" > > > > Under 9.2-RC3, the same config results in a panic: > > > > Trying to mount root from zfs:data/root []=85 > > init: not found in path > > /sbin/init:/sbin/oinit:/sbin/init.bak:/rescue/init:/stand/sysinstall > > panic: no init > > > > If this is changed (as many Google hits recommend) to: > > > > zfs_enable=3D"YES" > > vfs.root.mountfrom=3D"zfs:data/root" > > > > It seems like ZFS doesn't get loaded, so it fails instead with: > > > > zfs_load=3D"YES" is correct in /boot/loader.conf -- it causes the zfs > modules to be loaded into the kernel early in the boot process. > > zfs_enable=3D"YES" is correct in /etc/rc.conf -- it enables various ZFS > related stuff run by the rc scripts. > > You want both. > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. > > PGP: http://www.infracaninophile.co.uk/pgpkey > JID: matthew@infracaninophile.co.uk > >