zfs send and receive does not finish

nas4free-user

Dabbler
Joined
Dec 20, 2018
Messages
22
I try to move datasets from XigmaNAS to Freenas by:
zfs send pool/dataset@snapshot | ssh destination-IP zfs receive -F dpool/dataset1/received-dataset

everything is fin for small datasets (100GB), but when trying with > 1TB, anytime (after > 100 GB) I get a
"connection closed by remite host" error all transfered data are being deleted.

How can I monitoring whats going on on FreeNAS?
Can I log anything during thr transmission?

Regards,
Frank
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
How short is your snapshot interval?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
could it be the case that the daily snapshot runs while the larger transfer is still running?
 

melloa

Wizard
Joined
May 22, 2016
Messages
1,749
Test with rsync --av --progress <source> <destination>, to see if you can transfer the files.
 

nas4free-user

Dabbler
Joined
Dec 20, 2018
Messages
22
Actually, I shifted from rsync to sednd & receive snapshots for performance reasons!
I'm going to disable automatic snapshots and try again!
 

nas4free-user

Dabbler
Joined
Dec 20, 2018
Messages
22
Problem solved!
After I disabled the automatic snapshot for the dataset to be transferred, everything went fine!
Probably, it must not be taken a newer snapshot while transferring an existing snapshot!?
Regards,
Frank
 
Top