Replication Errors

ZiggyGT

Contributor
Joined
Sep 25, 2017
Messages
125
I am trying to replicate a pool2 to pool3 on the same system. I set up the task to replicate pool2 to Pool3. It starts to run and then gives this error. Originally Pool3 was a samba share but I deleted that the first time I got the error. Pool2 is a samba share. Pool2 is my photo storage and I want to back it up to Pool3. In the background. What is the error code trying to tell me? What is samba4? Why is it busy.

Task State​

Error​

cannot unmount '/var/db/system/samba4': pool or dataset is busy
warning: cannot send 'pool2@auto-2022-11-06_19-10': signal received.

Logs​

[2022/11/06 19:28:46] INFO [replication_task__task_1] [zettarepl.replication.pre_retention] Pre-retention destroying snapshots: []
[2022/11/06 19:28:46] INFO [replication_task__task_1] [zettarepl.replication.run] For replication task 'task_1': doing push from 'pool2' to 'Pool3' of snapshot='auto-2022-11-06_19-10' incremental_base=None receive_resume_token=None encryption=False
[2022/11/06 19:28:47] WARNING [replication_task__task_1] [zettarepl.replication.run] For task 'task_1' at attempt 1 recoverable replication error RecoverableReplicationError("cannot unmount '/var/db/system/samba4': pool or dataset is busy\nwarning: cannot send 'pool2@auto-2022-11-06_19-10': signal received")
[2022/11/06 19:28:47] INFO [replication_task__task_1] [zettarepl.replication.run] After recoverable error sleeping for 1 seconds
[2022/11/06 19:28:48] INFO [replication_task__task_1] [zettarepl.replication.pre_retention] Pre-retention destroying snapshots: []
[2022/11/06 19:28:48] INFO [replication_task__task_1] [zettarepl.replication.run] For replication task 'task_1': doing push from 'pool2' to 'Pool3' of snapshot='auto-2022-11-06_19-10' incremental_base=None receive_resume_token=None encryption=False
[2022/11/06 19:28:48] WARNING [replication_task__task_1] [zettarepl.replication.run] For task 'task_1' at attempt 2 recoverable replication error RecoverableReplicationError("cannot unmount '/var/db/system/samba4': pool or dataset is busy\nwarning: cannot send 'pool2@auto-2022-11-06_19-10': signal received")
[2022/11/06 19:28:48] INFO [replication_task__task_1] [zettarepl.replication.run] After recoverable error sleeping for 2 seconds
[2022/11/06 19:28:50] INFO [replication_task__task_1] [zettarepl.replication.pre_retention] Pre-retention destroying snapshots: []
[2022/11/06 19:28:50] INFO [replication_task__task_1] [zettarepl.replication.run] For replication task 'task_1': doing push from 'pool2' to 'Pool3' of snapshot='auto-2022-11-06_19-10' incremental_base=None receive_resume_token=None encryption=False
[2022/11/06 19:28:50] WARNING [replication_task__task_1] [zettarepl.replication.run] For task 'task_1' at attempt 3 recoverable replication error RecoverableReplicationError("cannot unmount '/var/db/system/samba4': pool or dataset is busy\nwarning: cannot send 'pool2@auto-2022-11-06_19-10': signal received")
[2022/11/06 19:28:50] INFO [replication_task__task_1] [zettarepl.replication.run] After recoverable error sleeping for 4 seconds
[2022/11/06 19:28:54] INFO [replication_task__task_1] [zettarepl.replication.pre_retention] Pre-retention destroying snapshots: []
[2022/11/06 19:28:54] INFO [replication_task__task_1] [zettarepl.replication.run] For replication task 'task_1': doing push from 'pool2' to 'Pool3' of snapshot='auto-2022-11-06_19-10' incremental_base=None receive_resume_token=None encryption=False
[2022/11/06 19:28:55] WARNING [replication_task__task_1] [zettarepl.replication.run] For task 'task_1' at attempt 4 recoverable replication error RecoverableReplicationError("cannot unmount '/var/db/system/samba4': pool or dataset is busy\nwarning: cannot send 'pool2@auto-2022-11-06_19-10': signal received")
[2022/11/06 19:28:55] INFO [replication_task__task_1] [zettarepl.replication.run] After recoverable error sleeping for 8 seconds
[2022/11/06 19:29:03] INFO [replication_task__task_1] [zettarepl.replication.pre_retention] Pre-retention destroying snapshots: []
[2022/11/06 19:29:03] INFO [replication_task__task_1] [zettarepl.replication.run] For replication task 'task_1': doing push from 'pool2' to 'Pool3' of snapshot='auto-2022-11-06_19-10' incremental_base=None receive_resume_token=None encryption=False
[2022/11/06 19:29:03] WARNING [replication_task__task_1] [zettarepl.replication.run] For task 'task_1' at attempt 5 recoverable replication error RecoverableReplicationError("cannot unmount '/var/db/system/samba4': pool or dataset is busy\nwarning: cannot send 'pool2@auto-2022-11-06_19-10': signal received")
[2022/11/06 19:29:03] ERROR [replication_task__task_1] [zettarepl.replication.run] Failed replication task 'task_1' after 5 retries
 

Glorious1

Guru
Joined
Nov 23, 2014
Messages
1,211
samba4 is just the version of samba (SMB) I think. This problem is in your system dataset. If it were me, and noone could tell me how to fix it straight up, I would try working around it by relocating the system dataset onto the boot pool. System > System Dataset. Then your replication might go.
 

ZiggyGT

Contributor
Joined
Sep 25, 2017
Messages
125
samba4 is just the version of samba (SMB) I think. This problem is in your system dataset. If it were me, and noone could tell me how to fix it straight up, I would try working around it by relocating the system dataset onto the boot pool. System > System Dataset. Then your replication might go.
I created pool4 on another system and was able to move pool2 to it as expected. I am going to move that data to pool3 and then redo the Pool2 dataset and move Pool3 to Pool2. It is an indirect route but I don't want to mess with Pool2 as it has key data. When you go to the doctor and say "Doc, It hurts when I do this", Doctor responds "Don't do that"
 
Top