Raghav Ilavarasu wrote:
Hi there,

While receiving incremental streams, "zfs recv" ignores the existing snapshots and stops without processing rest of the streams.

Here is the scenario.

# zfs snapshot sp...@s1

# zfs send sp...@s1 | zfs recv dpath

# zfs snapshot sp...@s2

# zfs snapshot sp...@s3

# zfs send -I sp...@s1 sp...@s3 | zfs recv dpath

# zfs snapshot sp...@s4

# zfs snapshot sp...@s5

# zfs send -v -I sp...@s1 sp...@s5 | zfs recv -v dpath
sending from @s1 to sp...@s2
sending from @s2 to sp...@s3
sending from @s3 to sp...@s4
sending from @s4 to sp...@s5
receiving incremental stream of sp...@s2 into dp...@s2
snap dp...@s2 already exists; ignoring
#

It should ignore s2, s3 and recv s4 and s5, but it stopped with first ignore. It works if I send s4 and s5 alone, but I need to always send it from s1.

The obvious question is why do you always send it from s1?

--
Ian.

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to