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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On 09/09/2013 02:02, J David wrote: > Under 9.1 it had in loader.conf: > > zfs_load="YES" > vfs.root.mountfrom="zfs:data/root" > > Under 9.2-RC3, the same config results in a panic: > > Trying to mount root from zfs:data/root []… > 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="YES" > vfs.root.mountfrom="zfs:data/root" > > It seems like ZFS doesn't get loaded, so it fails instead with: > zfs_load="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="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 [-- Attachment #2 --] -----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-----help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?522D67DB.7060404>
