FreeBSD 11.0-RELEASE-p7 i386 system drive imaging and migration

Warren Block wblock at wonkity.com
Sun Jan 29 13:27:30 UTC 2017


On Sat, 28 Jan 2017, David Christensen wrote:

> What is the proper way to clone a FreeBSD system image from one drive to 
> another?

On encrypted ZFS?  I'm not sure there is a brute-force way that is 
trustworthy.  Using higher-level commands to recreate the partitions, 
GELI encryption, and then zfs send | recv are certain safer and won't 
duplicate supposedly unique IDs.

> What is the proper way to move a HDD or SSD with a FreeBSD system image from 
> one computer to another computer?

Provided the binaries have not been optimized for one CPU, just move the 
drive.  Disk drive names can change, which is not a problem when labels 
are used.  Ethernet interface names can change.  If there is only one 
interface, use ifconfig_DEFAULT in /etc/rc.conf.


More information about the freebsd-questions mailing list