complete clone/restore from a ZFS-based system replication stream

Victor Sudakov vas at mpeks.tomsk.su
Wed Sep 28 14:51:45 UTC 2016


Mike Tancsa wrote:

[dd]

> zpool create -f -o altroot=/mnt2 -O canmount=off -m none zroot mirror /dev/ada0p3 /dev/ada1p3

I'm making progress but there is a problem. When I create a new pool
to receive into it, I create it on the second disk, ada1. When I
insert the restored disk into a new box, it becomes ada0 (the first
and only disk). 

How do you deal with that?


-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:sudakov at sibptus.tomsk.ru


More information about the freebsd-questions mailing list