Uploaded image for project: 'FreeNAS / TrueNAS'
  1. FreeNAS / TrueNAS
  2. NAS-105409

‚ÄčTarget dataset does not have snapshots but has data and replication from scratch is not allowed. Refusing to overwrite existing data

    XMLWordPrintable

    Details

      Description

      It's not possible to select a totally clean pool, just created, as the target of a Replication Task. Because this error log:
       
      [2020/03/14 17:22:28] ERROR    [replication_task__task_1] [zettarepl.replication.run] For task 'task_1' non-recoverable replication error ReplicationError("Target dataset 'tank2' does not have snapshots but has data (541632 bytes used) and replication from scratch is not allowed. Refusing to overwrite existing data.")

      But, there is no data in pool! It's just created.

      Debug attached.

      And two questions about the new replication system please:
      1) Do I need to create a "readonly=on" as the dataset tree replication target, or the system is smart enough to handle it by itself?
      2) Do I need to manually replicate the source dataset tree in the target dataset? Or the system do it by itself? Thanks.

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                vladimirv Vladimir Vinogradenko
                Reporter:
                vicmarto2 vicmarto2
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: