Hey all,
I currently have a node set up in a windows 10 system using a RAID1 NTFS file type system. I want to move it to my raspberry pi following the guide which sets the harddrive with a ext4 type files system. See the forum guide:
The problem is, I should transfer my existing node to the harddrive with the ext4 type system, which I cannot read with Windows 10. I would have to use Ext2Fsd tool to read/write from Windows 10 but i heard it is unreliable.
I also found the following guide https://www.pinode.co.uk/storj-host-raspberry-pi.html
which could perhaps fulfill my needs but I want to check with everyone about the best way forward. Has anyone migrated a node from Windows 10 NTFS to a linux based filetype system before?
You can use rsync. You need to enable WSL on your Windows 10 and install Ubuntu from the Microsoft Store. Then you can run Ubuntu shell from the Windows and use the rsync from there, while your node still running on the Windows 10.
The path to your D: disk for example will be /mnt/d
so the command will looks like (Ubuntu shell/bash):
assuming that the IP of your pi is 192.168.1.68, the user there pi, the source path of data is D:\Storj\storage, the destination on your pi is /mnt/Storj.
You should run that command a few times. When the difference will be a small, then shutdown your node on the Windows (elevated Powershell):
will point directly to my mounted drive had i done it like this:
sudo mount /dev/sda1 /mnt/storagenode
which is exactly the instructions i followed here. Will this sync over my local network? Therefore, I do NOT plug my harddrive in with the ext4 filesystem into my windows 10 PC. I think I interpret it correctly but i want to make sure.
Thanks,
Adam
Also, btw, in Windows 10 I have the drive D:\ (4TB) connected via a USB 3.0 port. Therefore, do i need to first mount the harddrive within WSL? For example, do i do this:
I know if the rsync process is working by putting a P after the -r, e.g., like this rsync -rP … That’s nice! I’m monitoring the transfer on my pi side… but it doesn’t seem the storagenode folder is increasing in size… I’ll just wait for a couple of hours.
By the way, I can recommend to place the storage data inside the folder on the disk, in case of disk lose this folder will not be exist and node will fail, but will not start from scratch and will not be disqualified because of data lose: Storagenode keeps writing data after mounted drive lost
Hey,
That’s dependent on many things, e.g., specs of raspberry and the OS understanding. But I agree… in fact… it is much more difficult. Fortunately, I enjoy the pain.
Cheers,
Adam
That is not neccesarily what matters. You don’t get paid for upload anyway so the download successrate is far more interesting.
Of course you need upload to fill your drive but currently my drives are all pretty full anyway…
if you have 2-3 TB it is not big problem, if you have 30-40TB it is other picture.
I am migrating my raspberry to GUI, litle problematic EXT4 to NTFS copy 1.1TB