Complete newbie here. I have a replication task setup to replicate another drive. I get the below error when trying to run the task. Following the error I try to run the “zfs destroy -r Fire Control Center LGM@auto-2025-11-30_00-00"
I get “root@truenas[/mnt/Thunderball/sgtmass]# sudo zfs destroy -r Fire Control Center LGM@auto-2025-11-30_00-00
too many arguments
usage:
destroy [-fnpRrv] <filesystem|volume>
destroy [-dnpRrv] <filesystem|volume>@[%][,…]
destroy <filesystem|volume>#
For the property list, run: zfs set|get
For the delegated permission list, run: zfs allow|unallow”
I am not able to delete the replication error and start a new replication task.
Error: [2025/12/05 10:11:55] INFO [replication_task__task_4] [zettarepl.replication.pre_retention] Pre-retention destroying snapshots:
[2025/12/05 10:11:55] ERROR [replication_task__task_4] [zettarepl.replication.run] For task ‘task_4’ non-recoverable replication error ReplicationError(‘Last full ZFS replication failed to transfer all the children of the snapshot Fire Control Center LG@auto-2025-11-30_00-00. The snapshot Fire Control Center LGM/.system@auto-2025-11-30_00-00 was not transferred. Please run zfs destroy -r Fire Control Center LGM@auto-2025-11-30_00-00 on the target system and run replication again.’)
If you have a command argument that contains spaces you need to quote it. In this example, zfs destroy -r "Fire Control Center LGM@auto-2025-11-30_00-00" would be better. However spaces aren’t allowed inside in ZFS component names, so I don’t think that would work.
I don’t know how you managed to get to this point. What dataset are you trying to replicate? How did you get a name with spaces inside?
I have two 16 TB drives that I have previously replicated to another set of 16 TB drives. The file drives/replication task is “Fire Control Center LG” - “Fire Control Center LGM” I have replicated this way without errors for about 6 months until I had a boot drive failure. After reinstalling and setting the replication back up, I get the replication error. I’m assuming a permission issue developed somewhere after reinstall. So I just want to delete the dataset and start the replication again, but I want to understand how to do this and/or why this happened.
Ok so I ran zfs destroy -r “Fire Control Center LGM@auto-2025-11-30_00-00” that worked. I then had another error and also had to run zfs destroy -r “Fire Control Center LGM@auto-2025-11-23_00-00” as it was complaining about that one after.
Once I run the zfs destroy on the second dataset it appears to be running as of now without error. I’ll post back after it completes.