Solved zfs send pipe into ssh: connection timout

Hey Everyone,

I'm pretty new to ZFS and FreeBSD, so any help with an issue I'm seeing would be much appreciated.

I'm running this command to send snapshots to a new system we are spinning up and I've been running them daily to get the days worth of new data.
zfs send -I @auto-20200330.0000-1w production@auto-2020040.0000-1w | ssh user@remotehost zfs receive -F creative/production

However a couple days ago I noticed I started getting this error message
Code:
Connection to "REMOTE-IP" port 22 timed out
warning: cannot send 'production@auto-20200331.0000-1w': signal received
warning: cannot send 'production@auto-20200401.0000-1w': Broken pipe
warning: cannot send 'production@auto-20200402.0000-1w': Broken pipe
warning: cannot send 'production@auto-20200403.0000-1w': Broken pipe
I can ssh into the server just fine from the local host but anytime I try piping the send command over ssh I get this message.

Also tried setting this the ServerAliveInterval and ServerAliveCountMax values to account for timeouts but had no luck with that.

Any help would be much appreciated.
 
Now is it all right you have nothing before "@" there? Or is it a typo and in reality you send the right one? Like pool/dataset@snapshot format?
Since im passing -I its saying "this is a snapshot" so it can safely assume that you can actually even get rid of the @ and it will work. Actually just fixed the issue I was having. I was sending the zfs receive over the wrong subnet.
 
Since im passing -I its saying "this is a snapshot" so it can safely assume that you can actually even get rid of the @ and it will work. Actually just fixed the issue I was having. I was sending the zfs receive over the wrong subnet.
Hah, great! I just never used that one nor saw it in any manuals, he-he. Because what I do with ZFS is pretty much the same all the time... but paying attention to details helps quite often.
 
Back
Top