Jump to content

Way to transfer datas from one unraid server to another quickly?


Go to solution Solved by jmztaylor,

Recommended Posts

hi all,
i'm currently copying from one Unraid to another over 24TB of datas since 7days now (still currently copying 24h/7)... i was wondering what is the best was to copy large amount of datas from one Unraid to another...

- i'm copying folders from my PC with source/destination with the network path mount (ie: \\server1\share1\*).
- tryied with FreeFileCopy... workes but way too slow (copying on an average of 20-40kb/s).

- tryied with TeraCopy... great since it's shows what files are now copied, but still slow.
- tryied with robotcopy... workes well best one for far, but still way slow (can't know the datatransfer rate since it's a dos command).
- tryied with default window copy... wrost one since it keeps asking if i want to copy/overwrite - and it's slow.
- all my NIC are at 1000.

Strangely, when i copy a file from my PC to one of the Unraid server, the transfer is around 115mb/s... wich is way faster that copying from one unraid to another... any ideas? Thx in advance!

Link to comment
  • Solution

I don't venture much into different copying techniques but I always use this.

 

Logged into destination server

rsync -avzP --progress root@sourceIP:/mnt/user/WHATEVER_SHARE/ /mnt/user/WHATEVER_SHARE/

 

And any failures can easily be picked back up by running the command again.  Once its done I would recommend running again to make sure no data changed on the source server in the meantime.

  • Like 1
Link to comment

One more thing, if you are just copying data to the new array, you have a backup copy of your data.  You could remove the parity disk until you have finished the copy.  The connect it back up and built parity at that point.  That would allow transfer speeds over 100MB/s for large files (say, >10GB).  Small files have a lot of file/disk overheard and depending on their size, it could go as low as 10MB/s.  (Be a bit careful on the readings you are getting from the copy program.  They have always seemed to be a bit suspect...)

Link to comment
3 hours ago, jmztaylor said:

I don't venture much into different copying techniques but I always use this.

 

Logged into destination server

rsync -avzP --progress root@sourceIP:/mnt/user/WHATEVER_SHARE/ /mnt/user/WHATEVER_SHARE/

 

And any failures can easily be picked back up by running the command again.  Once its done I would recommend running again to make sure no data changed on the source server in the meantime.

 

Works like a charm thank you !

Link to comment
3 hours ago, Frank1940 said:

One more thing, if you are just copying data to the new array, you have a backup copy of your data.  You could remove the parity disk until you have finished the copy.  The connect it back up and built parity at that point.  That would allow transfer speeds over 100MB/s for large files (say, >10GB).  Small files have a lot of file/disk overheard and depending on their size, it could go as low as 10MB/s.  (Be a bit careful on the readings you are getting from the copy program.  They have always seemed to be a bit suspect...)

 

That's good to know, thank for the input!
In my case, yes i want to copy large amount of data but the folders are re-organised... So it's not a mirror.

Link to comment
  • 1 year later...

Hi,

I'm trying to move data between two unraid servers.

I've tried this command (rsync -avzP --progress root@sourceIP:/mnt/user/WHATEVER_SHARE/ /mnt/user/WHATEVER_SHARE/) but it is not working for me.

This is the response:

 

root@XXXXXXXXXX:~# rsync -avzP --progress [email protected]:/mnt/user/MEDIA/ /mnt/user/Media/
ssh: connect to host 192.168.1.150 port 22: Connection refused
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: unexplained error (code 255) at io.c(231) [Receiver=3.2.7]

 

Can you point me in the right direction? What I'm doing wrong? Double checked share's names and they're correct.

 

Thx,

Link to comment

There it is. Does it matter that it is not asking me for the root password at the source server: 192.168.1.150 ?

 

root@XXXXXXXX:~# ssh -vvv 192.168.1.150
OpenSSH_9.3p2, OpenSSL 1.1.1v  1 Aug 2023
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: resolve_canonicalize: hostname 192.168.1.150 is address
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/root/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/root/.ssh/known_hosts2'
debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
debug3: ssh_connect_direct: entering
debug1: Connecting to 192.168.1.150 [192.168.1.150] port 22.
debug3: set_sock_tos: set socket 3 IP_TOS 0x48
debug1: connect to address 192.168.1.150 port 22: Connection refused
ssh: connect to host 192.168.1.150 port 22: Connection refused
root@XXXXXXXXX:~#

Link to comment
  • 2 weeks later...
On 12/4/2023 at 10:05 PM, xyzeratul said:

I just take out my HDD, put into another server, use Unassigned Devices mount the HDD, copy away.

 

I am not joking, this was how I transfer files between my server and my friend's server.

This technique could invalidate parity on your server unless you mount the disk read-only.

  • Upvote 1
Link to comment

I'm doing a large copy, 18TB. I was thinking it would be fastest to take the parity drive out of the array, do all the writes, then rebuild the parity. Hmm looks like even at 110MB/s it will take 1 day 21 hours, that's not too bad.

Any other advice there? thanks!!

 

Derp that's the saturation for gigabit ethernet. Looks like it's a hardware swap that needs to happen, 10G ethernet to make it any faster. 1.8 days it is! Can do.

 

Oops, I need to turn my cache drive off. This will change things again.

 

"Turbo write mode" Settings > Disk Settings > Tunable (md_write_method)

options are Auto, read/modify/write, or reconstruct write.

Reconstruct write is the "turbo mode" I'll do a short test without the cache drive, see where we land.

 

https://wintelguy.com/transfertimecalc.pl

https://www.gbmb.org/mbps-to-mbs

Edited by rutherford
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...