I'm having a weird issue with zfs incremental snapshots. Let's say I have the following volumes. kirssy
is the backup for abby
:
NAME USED AVAIL REFER MOUNTPOINTabby 8.20T 4.40T 192K /mnt/abbyabby/main 8.20T 4.40T 8.20T /mnt/abby/mainabby/main@2024-10-08 399M - 8.06T -abby/main@2025-01-18 14.2M - 8.19T -krissy 8.06T 8.17T 192K /mnt/krissykrissy/main 8.06T 8.17T 8.06T /mnt/krissy/mainkrissy/main@2024-10-08 0B - 8.06T -
If I run the following:
zfs send -i abby/main@2024-10-08 abby/main@2025-01-18 | pv | zfs recv krissy/main
It tries to write this snapshot into a subvolume of krissy/main
, so the full name is krissy/main/main
:
krissy 8.06T 8.17T 192K /mnt/krissykrissy/main 8.06T 8.17T 8.06T /mnt/krissy/mainkrissy/main@2024-10-08 0B - 8.06T -krissy/main/main 970M 8.17T 970M /mnt/krissy/main/main
I tried changing the recv
command to zfs recv krissy
but it will say the most recent snapshot of krissy does not match incremental source
.
I haven't run into this before. Why is it only allowing me to receive the snapshot in a subpool of the original pool with the same name?
I'm on Alpine 3.20.5 and zfs/zfs-kmod 2.2.5-1.