Gordon Thagard
Dabbler
- Joined
- Jan 25, 2016
- Messages
- 33
FreeNAS-11.3-U3.2
This is kind of a strange one to me. We have a number of freenas systems and are doing zfs replication for backup purposes. Its easy to setup and works well except for one machine. I've even tried switching the system dataset between vol1 and freenas-boot and then rerunning the replication task. It always errors out with "cannot unmount '/var/db/system': Device busy".
Does anyone have any insight into this?
Error
full send of vol1/qa@auto-2020-06-14_00-00 estimated size is 6.96T
full send of vol1/qa@auto-2020-06-14_00-00 estimated size is 6.96T
cannot unmount '/var/db/system': Device busy
warning: cannot send 'vol1/qa@auto-2020-06-14_00-00': signal received.
Logs
[2020/06/15 09:00:15] INFO [Thread-17] [zettarepl.paramiko.replication_task__task_6] Connected (version 2.0, client OpenSSH_8.0-hpn14v15)
[2020/06/15 09:00:15] INFO [Thread-17] [zettarepl.paramiko.replication_task__task_6] Authentication (publickey) successful!
[2020/06/15 09:00:15] INFO [replication_task__task_6] [zettarepl.replication.run] For replication task 'task_6': doing push from 'vol1/qa' to 'vol1' of snapshot='auto-2020-06-14_00-00' incremental_base=None receive_resume_token=None
[2020/06/15 09:00:16] WARNING [replication_task__task_6] [zettarepl.replication.run] For task 'task_6' at attempt 1 recoverable replication error RecoverableReplicationError("full send of vol1/qa@auto-2020-06-14_00-00 estimated size is 6.96T\nfull send of vol1/qa@auto-2020-06-14_00-00 estimated size is 6.96T\ncannot unmount '/var/db/system': Device busy\nwarning: cannot send 'vol1/qa@auto-2020-06-14_00-00': signal received")
[2020/06/15 09:00:16] INFO [replication_task__task_6] [zettarepl.replication.run] After recoverable error sleeping for 1 seconds
[2020/06/15 09:00:17] INFO [replication_task__task_6] [zettarepl.replication.run] For replication task 'task_6': doing push from 'vol1/qa' to 'vol1' of snapshot='auto-2020-06-14_00-00' incremental_base=None receive_resume_token=None
[2020/06/15 09:00:18] WARNING [replication_task__task_6] [zettarepl.replication.run] For task 'task_6' at attempt 2 recoverable replication error RecoverableReplicationError("full send of vol1/qa@auto-2020-06-14_00-00 estimated size is 6.96T\nfull send of vol1/qa@auto-2020-06-14_00-00 estimated size is 6.96T\ncannot unmount '/var/db/system': Device busy\nwarning: cannot send 'vol1/qa@auto-2020-06-14_00-00': signal received")
[2020/06/15 09:00:18] INFO [replication_task__task_6] [zettarepl.replication.run] After recoverable error sleeping for 2 seconds
[2020/06/15 09:00:20] INFO [replication_task__task_6] [zettarepl.replication.run] For replication task 'task_6': doing push from 'vol1/qa' to 'vol1' of snapshot='auto-2020-06-14_00-00' incremental_base=None receive_resume_token=None
[2020/06/15 09:00:20] WARNING [replication_task__task_6] [zettarepl.replication.run] For task 'task_6' at attempt 3 recoverable replication error RecoverableReplicationError("full send of vol1/qa@auto-2020-06-14_00-00 estimated size is 6.96T\nfull send of vol1/qa@auto-2020-06-14_00-00 estimated size is 6.96T\ncannot unmount '/var/db/system': Device busy\nwarning: cannot send 'vol1/qa@auto-2020-06-14_00-00': signal received")
[2020/06/15 09:00:20] INFO [replication_task__task_6] [zettarepl.replication.run] After recoverable error sleeping for 4 seconds
[2020/06/15 09:00:25] INFO [replication_task__task_6] [zettarepl.replication.run] For replication task 'task_6': doing push from 'vol1/qa' to 'vol1' of snapshot='auto-2020-06-14_00-00' incremental_base=None receive_resume_token=None
[2020/06/15 09:00:25] WARNING [replication_task__task_6] [zettarepl.replication.run] For task 'task_6' at attempt 4 recoverable replication error RecoverableReplicationError("full send of vol1/qa@auto-2020-06-14_00-00 estimated size is 6.96T\nfull send of vol1/qa@auto-2020-06-14_00-00 estimated size is 6.96T\ncannot unmount '/var/db/system': Device busy\nwarning: cannot send 'vol1/qa@auto-2020-06-14_00-00': signal received")
[2020/06/15 09:00:25] INFO [replication_task__task_6] [zettarepl.replication.run] After recoverable error sleeping for 8 seconds
[2020/06/15 09:00:34] INFO [replication_task__task_6] [zettarepl.replication.run] For replication task 'task_6': doing push from 'vol1/qa' to 'vol1' of snapshot='auto-2020-06-14_00-00' incremental_base=None receive_resume_token=None
[2020/06/15 09:00:34] WARNING [replication_task__task_6] [zettarepl.replication.run] For task 'task_6' at attempt 5 recoverable replication error RecoverableReplicationError("full send of vol1/qa@auto-2020-06-14_00-00 estimated size is 6.96T\nfull send of vol1/qa@auto-2020-06-14_00-00 estimated size is 6.96T\ncannot unmount '/var/db/system': Device busy\nwarning: cannot send 'vol1/qa@auto-2020-06-14_00-00': signal received")
[2020/06/15 09:00:34] ERROR [replication_task__task_6] [zettarepl.replication.run] Failed replication task 'task_6' after 5 retries
This is kind of a strange one to me. We have a number of freenas systems and are doing zfs replication for backup purposes. Its easy to setup and works well except for one machine. I've even tried switching the system dataset between vol1 and freenas-boot and then rerunning the replication task. It always errors out with "cannot unmount '/var/db/system': Device busy".
Does anyone have any insight into this?
Error
full send of vol1/qa@auto-2020-06-14_00-00 estimated size is 6.96T
full send of vol1/qa@auto-2020-06-14_00-00 estimated size is 6.96T
cannot unmount '/var/db/system': Device busy
warning: cannot send 'vol1/qa@auto-2020-06-14_00-00': signal received.
Logs
[2020/06/15 09:00:15] INFO [Thread-17] [zettarepl.paramiko.replication_task__task_6] Connected (version 2.0, client OpenSSH_8.0-hpn14v15)
[2020/06/15 09:00:15] INFO [Thread-17] [zettarepl.paramiko.replication_task__task_6] Authentication (publickey) successful!
[2020/06/15 09:00:15] INFO [replication_task__task_6] [zettarepl.replication.run] For replication task 'task_6': doing push from 'vol1/qa' to 'vol1' of snapshot='auto-2020-06-14_00-00' incremental_base=None receive_resume_token=None
[2020/06/15 09:00:16] WARNING [replication_task__task_6] [zettarepl.replication.run] For task 'task_6' at attempt 1 recoverable replication error RecoverableReplicationError("full send of vol1/qa@auto-2020-06-14_00-00 estimated size is 6.96T\nfull send of vol1/qa@auto-2020-06-14_00-00 estimated size is 6.96T\ncannot unmount '/var/db/system': Device busy\nwarning: cannot send 'vol1/qa@auto-2020-06-14_00-00': signal received")
[2020/06/15 09:00:16] INFO [replication_task__task_6] [zettarepl.replication.run] After recoverable error sleeping for 1 seconds
[2020/06/15 09:00:17] INFO [replication_task__task_6] [zettarepl.replication.run] For replication task 'task_6': doing push from 'vol1/qa' to 'vol1' of snapshot='auto-2020-06-14_00-00' incremental_base=None receive_resume_token=None
[2020/06/15 09:00:18] WARNING [replication_task__task_6] [zettarepl.replication.run] For task 'task_6' at attempt 2 recoverable replication error RecoverableReplicationError("full send of vol1/qa@auto-2020-06-14_00-00 estimated size is 6.96T\nfull send of vol1/qa@auto-2020-06-14_00-00 estimated size is 6.96T\ncannot unmount '/var/db/system': Device busy\nwarning: cannot send 'vol1/qa@auto-2020-06-14_00-00': signal received")
[2020/06/15 09:00:18] INFO [replication_task__task_6] [zettarepl.replication.run] After recoverable error sleeping for 2 seconds
[2020/06/15 09:00:20] INFO [replication_task__task_6] [zettarepl.replication.run] For replication task 'task_6': doing push from 'vol1/qa' to 'vol1' of snapshot='auto-2020-06-14_00-00' incremental_base=None receive_resume_token=None
[2020/06/15 09:00:20] WARNING [replication_task__task_6] [zettarepl.replication.run] For task 'task_6' at attempt 3 recoverable replication error RecoverableReplicationError("full send of vol1/qa@auto-2020-06-14_00-00 estimated size is 6.96T\nfull send of vol1/qa@auto-2020-06-14_00-00 estimated size is 6.96T\ncannot unmount '/var/db/system': Device busy\nwarning: cannot send 'vol1/qa@auto-2020-06-14_00-00': signal received")
[2020/06/15 09:00:20] INFO [replication_task__task_6] [zettarepl.replication.run] After recoverable error sleeping for 4 seconds
[2020/06/15 09:00:25] INFO [replication_task__task_6] [zettarepl.replication.run] For replication task 'task_6': doing push from 'vol1/qa' to 'vol1' of snapshot='auto-2020-06-14_00-00' incremental_base=None receive_resume_token=None
[2020/06/15 09:00:25] WARNING [replication_task__task_6] [zettarepl.replication.run] For task 'task_6' at attempt 4 recoverable replication error RecoverableReplicationError("full send of vol1/qa@auto-2020-06-14_00-00 estimated size is 6.96T\nfull send of vol1/qa@auto-2020-06-14_00-00 estimated size is 6.96T\ncannot unmount '/var/db/system': Device busy\nwarning: cannot send 'vol1/qa@auto-2020-06-14_00-00': signal received")
[2020/06/15 09:00:25] INFO [replication_task__task_6] [zettarepl.replication.run] After recoverable error sleeping for 8 seconds
[2020/06/15 09:00:34] INFO [replication_task__task_6] [zettarepl.replication.run] For replication task 'task_6': doing push from 'vol1/qa' to 'vol1' of snapshot='auto-2020-06-14_00-00' incremental_base=None receive_resume_token=None
[2020/06/15 09:00:34] WARNING [replication_task__task_6] [zettarepl.replication.run] For task 'task_6' at attempt 5 recoverable replication error RecoverableReplicationError("full send of vol1/qa@auto-2020-06-14_00-00 estimated size is 6.96T\nfull send of vol1/qa@auto-2020-06-14_00-00 estimated size is 6.96T\ncannot unmount '/var/db/system': Device busy\nwarning: cannot send 'vol1/qa@auto-2020-06-14_00-00': signal received")
[2020/06/15 09:00:34] ERROR [replication_task__task_6] [zettarepl.replication.run] Failed replication task 'task_6' after 5 retries