Monday, October 12, 2020

Migrating Storj from Mac OS X Windows GUI VM to NAS, Docker, Linux, etc.

Quick post:

rsync over SMB is painful. Don't.

rsync over NFS from a direct attached Drobo...less so.

Best is probably a direct copy to disk, move that disk to Unraid, and cp it over. THEN do an rsync from your live node, stop the node and sync (maybe) then you're done.

Reminder for OS X: Disk Utility won't mount an NFS share for you any more. It's CLI time.

First, create a directory on your Mac you'll mount the NFS Share in.

Then, to mount, this: sudo mount -t nfs 192.168.1.175:/mnt/user/storjnode2 /Users/robertbullock/storjnode2

Use your IP for your server obviously and the end bit is where you'll see all the files. You might consider, again, copying the files over THEN doing an rsync. 

I recommend the -aP flags like this:

rsync -aP /Volumes/Drobo\ Series\ 3/StorjStorage/storagenodeWin10VirtualBox /Volumes/storjnode2/storage


You can just type the command and flags then drag the source to the terminal window, hit space, then drag the destination. (This is an older command structure when I was using SMB...ugh.)

I'd appreciate comments on how this could be faster. I'm only getting around 5mBytes/sec over gigabit Ethernet.

Tips for an out of work IT guy accepted: http://paypal.me/beachfitrob Every quarter helps!




No comments:

 
Google Find us on Google+ Website: www.circlephone.com