ZFS root fs on FreeBSD 9.0

Gone are the old MFS root fs image and the sysinstall utility. To create a useable ZFS root fs from the 9.0-RELEASE DVD we must specify an alternate location for the temporary zpool.cache file and an alternate mountpoint for the ZFS root fs by using a command like:

zpool create -o cachefile=/tmp/zpool.cache -m /tmp/zroot zroot /dev/gpt/disk0

Also, the FreeBSD distribution is now stored as a handful of xz compressed tar files in /usr/freebsd-dist on the DVD. Everything else remain largely the same. The instructions below also apply to 9.1-RELEASE.

See http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot and http://www.aisecure.net/2011/05/01/root-on-zfs-freebsd-current/ for further details.

Keep on reading if you want my recipe for creating a ZFS root fs. Continue reading ZFS root fs on FreeBSD 9.0