Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Sep 2013 13:55:22 +0100
From:      krad <kraduk@gmail.com>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>
Cc:        FreeBSD FS <freebsd-fs@freebsd.org>
Subject:   Re: zfs_enable vs zfs_load in loader.conf (but neither works)
Message-ID:  <CALfReyeAnpDAZEYPNP4-OZy3wCc9Yt1nurhfgA%2B=o7WFVZGHLA@mail.gmail.com>
In-Reply-To: <522D67DB.7060404@infracaninophile.co.uk>
References:  <CABXB=RTz6jM=B895Bo6Kp-ZAf2pvTZkm-HfS=PrfX=aMKqjMbw@mail.gmail.com> <522D67DB.7060404@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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
<m.seaman@infracaninophile.co.uk>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
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALfReyeAnpDAZEYPNP4-OZy3wCc9Yt1nurhfgA%2B=o7WFVZGHLA>