HOWTO: FreeBSD ZFS Madness (Boot Environments)

vermaden vermaden at interia.pl
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.

Hi,

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 https://github.com/vermaden/beadm/blob/master/beadm
# chmod +x beadm
# ./beadm list
# ./beadm activate default
# reboot

Be sure to use the latest *beadm* from one of these:
https://raw.github.com/vermaden/beadm/master/beadm
https://sourceforge.net/projects/beadm/

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 ;)

Regards,
vermaden
-- 








































...


More information about the freebsd-fs mailing list