HOWTO: FreeBSD ZFS Madness (Boot Environments)

vermaden vermaden at
Fri May 4 21:37:02 UTC 2012

> I have zfs-on-root using the classical documentation (everything under
> zpool, possibly with some sub-mounts, but I've left those out lately).
> Is there a way to transition my system to a form that beadm expects?
> I tried just running it, and it's upset that zpool/ROOT doesn't exist.


I would suggest using something like that:

# zfs create -o mountpoint=none zpool/ROOT
# zfs snapshot zpool at be
# zfs clone zpool at be zpool/ROOT/default
# fetch
# chmod +x beadm
# ./beadm list
# ./beadm activate default
# reboot

Be sure to use the latest *beadm* from one of these:

Let me know how these instructions work, especially if You got any errors or an unbootable system.

It would be best if You would test this zpool root to sys/ROOT/be transition under VirtualBox for 100% safety ;)



More information about the freebsd-questions mailing list