Sawtaytoes
Patron
- Joined
- Jul 9, 2022
- Messages
- 221
The Issue
I notice that ZFS send/recv stopped being able to send data if there was a failure during the transfer. This happens every time, either side loses connection, or I restart the NAS.
Here's an example of what it looks like when it's gonna fail to resend the data:
Notice how there's no "[total 56 TiB of 60 TiB]" text. It sits on this forever, nothing happens, and then it errors out. And it will always be the same snapshot.
To fix it, I sometimes delete the snapshot on the sending server. Other times, I've seen the `%recv` snapshot on the other end become busy forever and won't let me remove it, so I restart that NAS, and it might start transferring after that.
This happened today, and I restarted both ends, now it works:
My question is how I can avoid this pitfall in the future? I don't want it to keep requiring hard restarts each some this backup fails part-way.
My Configuration
I notice that ZFS send/recv stopped being able to send data if there was a failure during the transfer. This happens every time, either side loses connection, or I restart the NAS.
Here's an example of what it looks like when it's gonna fail to resend the data:
Notice how there's no "[total 56 TiB of 60 TiB]" text. It sits on this forever, nothing happens, and then it errors out. And it will always be the same snapshot.
To fix it, I sometimes delete the snapshot on the sending server. Other times, I've seen the `%recv` snapshot on the other end become busy forever and won't let me remove it, so I restart that NAS, and it might start transferring after that.
This happened today, and I restarted both ends, now it works:
My question is how I can avoid this pitfall in the future? I don't want it to keep requiring hard restarts each some this backup fails part-way.
My Configuration