"Chris Ross" [email protected] – 14 July 2026 at 6:23 am

> do exactly this with ZFS. But, I can’t find a general guide or anything
> specific in the docs/pages for bioctl, that describes how to do this with
> OpenBSD.
> 
> Is there a way to replace a failed drive with a larger one, rebuild the
> mirror onto it, then replace the smaller remaining drive with one of equal
> size and rebuild onto that? 
 
While it 'might' be possible, i would not try to ram that square peg into a 
round hole. Your best course of action is to backup and restore. Honestly, it 
won't take that long and you aren't going to fall on any sharp edges in the 
process and lose all of your data.
 
Worked fine back in the Solaris days before we had ZFS. tar, cpio, 
dump/restore, choose your path, verify the backup and you are good. If you just 
backup your user data, a clean build will get rid of a lot of cruft at the same 
time (not to mention fragmentation if you are using spinning rust).

Reply via email to