shimee Posted February 9, 2013 Share Posted February 9, 2013 hi guys, My housemate is moving out and taking his unRAID box. I've built my new box and have it running about 80% ok so need to migrate 7-8TB of data across. When I do this from another PC on the home LAN through SMB the transfer rate is terrible - approx 4MB/s. If I copy from his NAS to my PC it is 80MB/s. If I then write that data to my unRAID box from the PC I get 70MB/s (I use cache drive) So the question is - how do I copy from unraid > unraid without this middle hop which seems to be destroying the transfer. I assume the transfer must traverse the windows host and this is causing the issue. unRAID(NAS) > Windows PC = 70MB/s unRAID(NAS) > unRAID(Tower) = 4MB/s Windows PC > unRAID(Tower) = 70MB/s All are connected to a GbE switch. I'm guessing I can just telnet into his box and issue a copy command - just not clear what that command is?? Thanks!! Quote Link to comment
redlaws Posted February 10, 2013 Share Posted February 10, 2013 how long have you got before he moves. you could copy every from his usb to yours except the lic. add 1 on your disks to his & rebuild then put in your unit & do parity disk last maybe. this may take several days but you should get an exact copy of each disk! syd Quote Link to comment
BetaQuasi Posted February 10, 2013 Share Posted February 10, 2013 export his shares to NFS, mount the nfs shares, then use midnight commander (mc) to copy across. i.e. from the command line on your unraid box, something like this. This is based on his user share being called 'tv' and your destination user share being called 'tv': mkdir -p /mnt/yourfriendsnas/tv ("yourfriendsnas" can be whatever, it's just to make things easy when browsing via mc, and to keep it separate from your user/disk shares) mount -t nfs yourfriendsnasIPaddress:/mnt/user/tv /mnt/yourfriendsnas/tv mc Now from midnight commander, put the contents of his share in the left pane (from above example, it would be /mnt/yourfriendsnas/tv), your empty share destination folder in the right pane (destination - maybe /mnt/user/tv?), highlight everything you want to copy by pressing insert and then hit F5 to copy. Should be much faster.. follow the same as above for the other folders you want to copy. You could also use rsync instead of MC, but MC is probably easiest if you are new at this sort of thing. Quote Link to comment
shimee Posted February 10, 2013 Author Share Posted February 10, 2013 Thanks guys for the suggestions - Ill look into both. I have 4 days before the other nas is gone so hopefully I can figure this out. Quote Link to comment
trurl Posted February 10, 2013 Share Posted February 10, 2013 rsync is the traditional way to copy data between two linux systems and it will even eliminate going through NFS and SMB. It might take a little more effort to get it going but if you are interested here is a good place to start. Quote Link to comment
neilt0 Posted February 10, 2013 Share Posted February 10, 2013 I always rsync, you should be able to get 20 to 30MB/sec -- it would still take about 4 days to do 8TB. Here's what I do (change IP addresses and folder names as appropriate): screen mkdir /mnt/tower mount -o ro 192.168.0.7:/mnt/user/Movies /mnt/tower rsync -ai --modify-window=1 --recursive --stats --progress "/mnt/tower/name_of_folder" /mnt/disk13/Movies/ Quote Link to comment
Recommended Posts
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.