From owner-freebsd-fs@FreeBSD.ORG Mon Sep 9 06:17:06 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 11672A59 for ; Mon, 9 Sep 2013 06:17:06 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9480E2885 for ; Mon, 9 Sep 2013 06:17:05 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.7/8.14.7) with ESMTP id r896GxxS096495 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Mon, 9 Sep 2013 07:16:59 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk r896GxxS096495 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1378707420; bh=dpIccGK1xJHA3PpWvSjUwSHA/nsafhQMh8alM6e2kmI=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Mon,=2009=20Sep=202013=2007:16:59=20+0100|From:=20Matthew =20Seaman=20|To:=20freebsd-fs@fre ebsd.org|Subject:=20Re:=20zfs_enable=20vs=20zfs_load=20in=20loader .conf=20(but=20neither=20works)|References:=20|In-Reply- To:=20; b=DY/6ZGFR7A7nPfT0HQEr7imxHQBRChixVjBdeWd7Q5hzJpfqzuzGeJwFpIzUIVXOh 6d1sinIU5s7RCk0xDasJ0A4WaoirEj2lbdYLqty36Px68FuxLt8oza/2wHlpcyLQ6c lnfB5vhUa8fRhzWC6TyoVWxMvdJQrfO684rIhNKY= Message-ID: <522D67DB.7060404@infracaninophile.co.uk> Date: Mon, 09 Sep 2013 07:16:59 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: freebsd-fs@freebsd.org Subject: Re: zfs_enable vs zfs_load in loader.conf (but neither works) References: In-Reply-To: X-Enigmail-Version: 1.5.2 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="F1hUPxSKWLdgxXhfebia9wlcOuT5mVgvn" X-Virus-Scanned: clamav-milter 0.97.8 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk 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 06:17:06 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --F1hUPxSKWLdgxXhfebia9wlcOuT5mVgvn Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 09/09/2013 02:02, J David wrote: > Under 9.1 it had in loader.conf: >=20 > zfs_load=3D"YES" > vfs.root.mountfrom=3D"zfs:data/root" >=20 > Under 9.2-RC3, the same config results in a panic: >=20 > 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 >=20 > If this is changed (as many Google hits recommend) to: >=20 > zfs_enable=3D"YES" > vfs.root.mountfrom=3D"zfs:data/root" >=20 > It seems like ZFS doesn't get loaded, so it fails instead with: >=20 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 --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk --F1hUPxSKWLdgxXhfebia9wlcOuT5mVgvn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlItZ9sACgkQ8Mjk52CukIxZzQCfewQdkbF9KoLt2ZN2wXL567bU UmIAn1dnNyhMIeo+VpQdT+gGQsuKtwoC =H3oA -----END PGP SIGNATURE----- --F1hUPxSKWLdgxXhfebia9wlcOuT5mVgvn--