Is it safe to stop replication in progress?

Status
Not open for further replies.

dniq

Explorer
Joined
Aug 29, 2012
Messages
74
Is it safe to kill the "zfs send" on source (or "zfs receive" on destination)? Technically, should be safe, but you can never be sure...
 
D

dlavigne

Guest
Depends upon your definition of safe. It won't affect the data. However, you can't resume an interrupted snapshot (i.e. it has to start all over again) and it may "stick" the next replication, meaning you'll have to check the box for "Initialize remote side" in order to kick-start it again.
 

dniq

Explorer
Joined
Aug 29, 2012
Messages
74
The reason I ask is that, from my past experiences, I suspect stopping replication in progress might make a pool start acting up (in one instance I've had nfsd start using all available CPU resources, when very little traffic was being read/written from/to an NFS volume, in another - I can't remove ZIL vdev from the pool, with message "no such device in the pool")... So I suspect that stopping the replication in progress might screw something up in the pool.
 
Status
Not open for further replies.
Top