In this tutorial I am going to show you how to replace a broken hard drive in a FreeBSD GELI encryptet ZFS mirror root installation. I'll assume that you have installed FreeBSD using the FreeBSD installer and used encryption on a guided (auto) ZFS installation. The installer partitions the two hard drives in an identical partition scheme, in which one of the partitions is fully encryptet using GELI. This is a great setup, but it requires a little knowledge of the internals to replace one of t...