Skip to content

Move FreeBSD System Between ZFS Disks

vermaden.wordpress.com
15 pointsvermaden3 comments
On HN

Comments

The simplicity of FreeBSD really shines here. I recently performed the same task with Ubuntu 24.04. It seemed daunting due to various Linux-isms and Canonical’s anemic public documentation. Warp terminal got the job done. It blew through half a month’s tokens on the Build subscription tier. With FreeBSD, the task fits very nicely into just a short blog post.

Nice. Not so much a FreeBSD as a ZFS feature?

Its both actually.

This is strictly the FreeBSD part:

    freebsd # gpart backup ada1 | gpart restore nda0
    
    freebsd # gpart backup ada1 | gpart restore nda1
The ZFS part comes later :)

Regards,

vermaden

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.