ZFS on root: / is found but child datasets are not mounted

Mathieu Arnold mat at mat.cc
Sun Sep 18 09:40:13 UTC 2011


+--On 18 septembre 2011 11:27:22 +0200 Jeremie Le Hen <jeremie at le-hen.org>
wrote:
| The kernel boots fine, it finds the root filesystem, but fails miserably
| when running rc.d scripts because child datasets are not mounted (/var,
| /usr, ...).
|
| obiwan:~# cp /tmp/zpool.cache /mnt/boot/zfs/zpool.cache
| obiwan:~# grep 'zfs[:_]' /mnt/boot/loader.conf 
| zfs_load="YES"
| vfs.root.mountfrom="zfs:zroot/root"

What about zfs_enable="yes" in /etc/rc.conf ?

-- 
Mathieu Arnold


More information about the freebsd-fs mailing list