Fab Sidoli
Contributor
- Joined
- May 15, 2019
- Messages
- 114
Hi All,
During a ZFS send/receive a users share did not unmount cleanly which has resulted in their share appearing to be missing on the receiving box. Below is the redacted log for the transaction.
I'm not entirely clear on the processes involved during a ZFS s/r but I feel the result of a failed unmount should abort more cleanly and remount the share on the receiving box.
Is this a bug or expected behaviour?
[2020/07/28 00:20:14] INFO [replication_task__task_6] [zettarepl.replication.run] For replication task 'task_6': doing push from 'store/home/myUSER' to 'store/home/myUSER' of snapshot='auto-2020-07-28_00-00' incremental_base='auto-2020-07-27_00-00' receive_resume_token=None
[2020/07/28 00:20:14] DEBUG [replication_task__task_6] [zettarepl.transport.base_ssh.root@IPADDR.shell.12.async_exec.33076] Running ['zfs', 'umount', 'store/home/myUSER']
[2020/07/28 00:20:14] DEBUG [replication_task__task_6] [zettarepl.paramiko.replication_task__task_6] [chan 2580] Max packet in: 32768 bytes
[2020/07/28 00:20:14] DEBUG [Thread-34] [zettarepl.paramiko.replication_task__task_6] [chan 2580] Max packet out: 32768 bytes
[2020/07/28 00:20:14] DEBUG [Thread-34] [zettarepl.paramiko.replication_task__task_6] Secsh channel 2580 opened.
[2020/07/28 00:20:14] DEBUG [Thread-34] [zettarepl.paramiko.replication_task__task_6] [chan 2580] Sesch channel 2580 request ok
[2020/07/28 00:20:14] DEBUG [replication_task__task_6] [zettarepl.transport.base_ssh.root@IPADDR.shell.12.async_exec.33076] Reading stdout
[2020/07/28 00:20:14] DEBUG [Thread-34] [zettarepl.paramiko.replication_task__task_6] [chan 2580] EOF received (2580)
[2020/07/28 00:20:14] DEBUG [replication_task__task_6] [zettarepl.transport.base_ssh.root@IPADDR.shell.12.async_exec.33076] Waiting for exit status
[2020/07/28 00:20:14] DEBUG [Thread-34] [zettarepl.paramiko.replication_task__task_6] [chan 2580] EOF sent (2580)
[2020/07/28 00:20:14] DEBUG [replication_task__task_6] [zettarepl.transport.base_ssh.root@IPADDR.shell.12.async_exec.33076] Error 1: "cannot unmount '/mnt/store/home/myUSER': Device busy\n"
[2020/07/28 00:20:14] DEBUG [replication_task__task_6] [zettarepl.transport.local.shell.1.async_exec.33077] Running ['zfs', 'send', '-V']
[2020/07/28 00:20:14] DEBUG [replication_task__task_6] [zettarepl.transport.local.shell.1.async_exec.33077] Error 2: 'missing snapshot argument\nusag.... list, run: zfs allow|unallow\n'
[2020/07/28 00:20:14] DEBUG [replication_task__task_6] [zettarepl.transport.local.shell.1.async_exec.33079] Running ['sh', '-c', 'exec 3>&1; eval $(exec 4>&1 >&....] && exit $pipestatus1; exit 0']
[2020/07/28 00:20:16] DEBUG [replication_task__task_6.async_exec_tee.wait] [zettarepl.transport.local.shell.1.async_exec.33079] Success: None
[2020/07/28 00:20:16] DEBUG [replication_task__task_6.monitor] [zettarepl.transport.local.shell.1.async_exec.33079] Stopping
Thanks,
Fab
During a ZFS send/receive a users share did not unmount cleanly which has resulted in their share appearing to be missing on the receiving box. Below is the redacted log for the transaction.
I'm not entirely clear on the processes involved during a ZFS s/r but I feel the result of a failed unmount should abort more cleanly and remount the share on the receiving box.
Is this a bug or expected behaviour?
[2020/07/28 00:20:14] INFO [replication_task__task_6] [zettarepl.replication.run] For replication task 'task_6': doing push from 'store/home/myUSER' to 'store/home/myUSER' of snapshot='auto-2020-07-28_00-00' incremental_base='auto-2020-07-27_00-00' receive_resume_token=None
[2020/07/28 00:20:14] DEBUG [replication_task__task_6] [zettarepl.transport.base_ssh.root@IPADDR.shell.12.async_exec.33076] Running ['zfs', 'umount', 'store/home/myUSER']
[2020/07/28 00:20:14] DEBUG [replication_task__task_6] [zettarepl.paramiko.replication_task__task_6] [chan 2580] Max packet in: 32768 bytes
[2020/07/28 00:20:14] DEBUG [Thread-34] [zettarepl.paramiko.replication_task__task_6] [chan 2580] Max packet out: 32768 bytes
[2020/07/28 00:20:14] DEBUG [Thread-34] [zettarepl.paramiko.replication_task__task_6] Secsh channel 2580 opened.
[2020/07/28 00:20:14] DEBUG [Thread-34] [zettarepl.paramiko.replication_task__task_6] [chan 2580] Sesch channel 2580 request ok
[2020/07/28 00:20:14] DEBUG [replication_task__task_6] [zettarepl.transport.base_ssh.root@IPADDR.shell.12.async_exec.33076] Reading stdout
[2020/07/28 00:20:14] DEBUG [Thread-34] [zettarepl.paramiko.replication_task__task_6] [chan 2580] EOF received (2580)
[2020/07/28 00:20:14] DEBUG [replication_task__task_6] [zettarepl.transport.base_ssh.root@IPADDR.shell.12.async_exec.33076] Waiting for exit status
[2020/07/28 00:20:14] DEBUG [Thread-34] [zettarepl.paramiko.replication_task__task_6] [chan 2580] EOF sent (2580)
[2020/07/28 00:20:14] DEBUG [replication_task__task_6] [zettarepl.transport.base_ssh.root@IPADDR.shell.12.async_exec.33076] Error 1: "cannot unmount '/mnt/store/home/myUSER': Device busy\n"
[2020/07/28 00:20:14] DEBUG [replication_task__task_6] [zettarepl.transport.local.shell.1.async_exec.33077] Running ['zfs', 'send', '-V']
[2020/07/28 00:20:14] DEBUG [replication_task__task_6] [zettarepl.transport.local.shell.1.async_exec.33077] Error 2: 'missing snapshot argument\nusag.... list, run: zfs allow|unallow\n'
[2020/07/28 00:20:14] DEBUG [replication_task__task_6] [zettarepl.transport.local.shell.1.async_exec.33079] Running ['sh', '-c', 'exec 3>&1; eval $(exec 4>&1 >&....] && exit $pipestatus1; exit 0']
[2020/07/28 00:20:16] DEBUG [replication_task__task_6.async_exec_tee.wait] [zettarepl.transport.local.shell.1.async_exec.33079] Success: None
[2020/07/28 00:20:16] DEBUG [replication_task__task_6.monitor] [zettarepl.transport.local.shell.1.async_exec.33079] Stopping
Thanks,
Fab