Replacing all disks in zroot

Mike Clarke jmc-freebsd2 at milibyte.co.uk
Sat Sep 17 16:27:28 UTC 2016


On Saturday 17 Sep 2016 14:12:13 Malcolm Matalka wrote:
 
> As I understand it, after this I will have the larger capacity,
> mirrored. 

You'll need to issue a "zpool autoexpand on poolname" command before the extra 
space can be utilised. There's an example at 
<http://docs.oracle.com/cd/E19253-01/819-5461/githb/> 

> But will this be bootable?  Do I have to do something else to
> copy the boot setup over?

You'll need to create a small boot partition on each disk and install bootcode 
onto it as described in the first few steps of 
<https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror>. Since you already have 
a running system you shouldn't need to boot from the install DVD,

-- 
Mike Clarke


More information about the freebsd-questions mailing list