ZFS How to move a zfs filesystem to a different zpool

Alain De Vos

Aspiring Daemon

Reaction score: 210
Messages: 765

I have 25 zfs filesystems I want to move incuding 2 vdevs. What is the easiest way to move them to another zpool? The mount points should be the same.
/usr/local is one of them.


Well-Known Member

Reaction score: 167
Messages: 376

I have used zfs snapshot -r source_pool@replica and
zfs send -R source_pool@replica | zfs receive -F dest_pool
for that purpose.

And after that zpool set bootfs=dest_pool/ROOT/default dest_pool
to make the new pool bootable.
Last edited: