simple question regarding moving zfs filesystems

From: tech-lists <tech-lists_at_zyxst.net>
Date: Thu, 27 May 2021 06:47:57 +0100
Hi,

Is it the case that, if I want to transfer filesystems from one pool to
another, that the descendant filesystems/vols will also be transferred?

lets say there is one zpool called "data" and another called "new"

zfs list shows:

NAME                 USED   AVAIL     REFER MOUNTPOINT
data/pkg             32.2K  5.88T     32.2K /usr/local/etc/pkg
data/poudriere       22.9G  5.88T     31.4K /poudriere
data/poudriere-bulk  164G   5.88T     164G  /usr/local/poudriere
data/poudriere/jails 22.9G  5.88T     37.4K /poudriere/jails
data/vm1             256G   5.88T     256G  -

if I do zfs snapshot data_at_snapshot1 and then:

zfs send data_at_snapshot1 | zfs receive new

will what's in data and data/pkg data/poudriere etc appear under new ?
will characteristics like compression remain the same?
On data compression=lz4 on new it's zstd.

thanks,
-- 
J.

Received on Thu May 27 2021 - 05:47:57 UTC

Original text of this message