zfs_enable vs zfs_load in loader.conf (but neither works)

J David j.david.lists at gmail.com
Mon Sep 9 11:50:02 UTC 2013


On Sun, Sep 8, 2013 at 11:11 PM, Darren Pilgrim
<list_freebsd at bluerosetech.com> wrote:
> You can use zfs.root.mountfrom="zfs:data/root" in /boot/loader.conf instead
> of an fstab entry.

That has been in loader.conf the whole time.

> Mountpoint=legacy is required either way.

It isn't.  There is another machine right next to it running 9.2-RC1
and it works fine with the mountpoint=/ setting and an empty fstab.

And it worked fine on *this* machine on 9.1.  It's not clear what
changed to stop it from working after upgrading to 9.2-RC3.

If time permits, we will update our PXE install environment to 9.2 and
rebuild the whole thing.  That would eliminate the upgrade step and
hopefully give a result others could reproduce.

> This only applies to Solaris, IIRC.

[citation needed]

Setting mountpoint=/ is necessary in order for "zpool import -o
altroot=/mnt data" to do the right thing at maintenance time.

Thanks!


More information about the freebsd-stable mailing list