I created 6 ZFS replication tasks, and 1 keeps failing... a little help?

hungarianhc

Patron
Joined
Mar 11, 2014
Messages
234
Hi There,

I'm in the process of migrating to a new ZFS pool, and I want to migrate my JailData ZFS dataset.

I did the same thing I did for the other datasets, and I created a replication task. Here's the error I'm getting...

cannot send JailData@auto-2023-12-21_00-00 recursively: snapshot JailData/resilio_sync@auto-2023-12-21_00-00 does not exist
warning: cannot send 'JailData@auto-2023-12-21_00-00': backup failed
cannot receive: failed to read from stream.
I don't fully understand the error. It says the snapshot doesn't exist, but isn't the replication task supposed to create the snapshot, if it doesn't exist? If I go to the dataset and manually create a snapshot, that doesn't seem to fix the issue.

Thanks in advance for any help!
 
Joined
Oct 22, 2019
Messages
3,641
It appears you created a Periodic Snapshot Task named "auto-XXXX" for the root dataset "JailData", yet you did not make it a recursive snapshot. Hence, the child datasets lack these atomic snapshots.
 

hungarianhc

Patron
Joined
Mar 11, 2014
Messages
234
Hmm... I deleted a bunch of old snapshots and snapshot tasks to start fresh. I created a brand new replication task, which as I understand it, should also create the snapshot task. When I then run the replication task, though, it still fails. Here's the error:

Dataset 'JailData' does not have any matching snapshots to replicate.

Screenshot of the replication / snapshot tasks included... As you can see from the screenshot, the JailData task doesn't work. It shows as "Pending."

The logs are basic and show that there are no snapshots. Again, though, this works for every other replication task I have.
[2023/12/21 14:52:09] INFO [replication_task__task_6] [zettarepl.replication.pre_retention] Pre-retention destroying snapshots: []
[2023/12/21 14:52:09] INFO [replication_task__task_6] [zettarepl.replication.run] No snapshots to send for replication task 'task_6' on dataset 'JailData'
[2023/12/21 14:52:09] ERROR [replication_task__task_6] [zettarepl.replication.run] For task 'task_6' non-recoverable replication error ReplicationError("Dataset 'JailData' does not have any matching snapshots to replicate")

I've tried going to take a manual snapshot. That's successful, but then it won't find it when trying to replicate.
 

Attachments

  • Screenshot 2023-12-21 at 2.49.43 PM.png
    Screenshot 2023-12-21 at 2.49.43 PM.png
    116.7 KB · Views: 36
  • Screenshot 2023-12-21 at 2.51.40 PM.png
    Screenshot 2023-12-21 at 2.51.40 PM.png
    74.5 KB · Views: 36
Joined
Oct 22, 2019
Messages
3,641
Screenshot of the replication / snapshot tasks included... As you can see from the screenshot, the JailData task doesn't work. It shows as "Pending."
What is the configuration of this Periodic Snapshot Task?
 

hungarianhc

Patron
Joined
Mar 11, 2014
Messages
234
Here's the screenshot of the periodic snapshot task. Pretty basic, and it looks the same as all the other snapshot tasks. Is there a chance this has something to do with this being my jails pool?
 

Attachments

  • Screenshot 2023-12-21 at 3.49.05 PM.png
    Screenshot 2023-12-21 at 3.49.05 PM.png
    34.2 KB · Views: 38
Joined
Oct 22, 2019
Messages
3,641
Is there a chance this has something to do with this being my jails pool?
I wonder if the snapshots were even created?

Do you see the relevant ones in here?
Code:
zfs list -t snapshot -r -o name JailData
 
Top