Date: Mon, 09 Sep 2013 07:16:59 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: freebsd-fs@freebsd.org Subject: Re: zfs_enable vs zfs_load in loader.conf (but neither works) Message-ID: <522D67DB.7060404@infracaninophile.co.uk> In-Reply-To: <CABXB=RTz6jM=B895Bo6Kp-ZAf2pvTZkm-HfS=PrfX=aMKqjMbw@mail.gmail.com> References: <CABXB=RTz6jM=B895Bo6Kp-ZAf2pvTZkm-HfS=PrfX=aMKqjMbw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?522D67DB.7060404>