# Migrate node from Windows 10 to Raspberry Pi

**URL:** <https://forum.storj.io/t/migrate-node-from-windows-10-to-raspberry-pi/4350>\
**Category:** FAQ\
**Created:** [February 2, 2020, 2:21pm UTC](https://forum.storj.io/t/migrate-node-from-windows-10-to-raspberry-pi/4350 "2020-02-02T14:21:37Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![Screechingcrow](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/screechingcrow/32/67_2.png) [@Screechingcrow](https://forum.storj.io/u/Screechingcrow)\
**Post date:** [February 2, 2020, 2:21pm UTC](https://forum.storj.io/t/migrate-node-from-windows-10-to-raspberry-pi/4350/1 "2020-02-02T14:21:37Z")

</div>

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:

> **[Install storagenode on Raspberry Pi3](https://support.storj.io/hc/en-us/articles/360026612332-Install-storagenode-on-Raspberry-Pi3)**
>
> Raspberry Pi3 model B is a microcomputer for doing almost anything. Let's use it for installing storagenode for V3 of the Storj Network!
> In this guide we presume that you have a Raspberry Pi 3, set...

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](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?

Cheers,  
Adam

---

<div class="post-metadata">

**Author:** ![kevink](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/kevink/32/6077_2.png) [@kevink](https://forum.storj.io/u/kevink)\
**Post date:** [February 2, 2020, 4:10pm UTC](https://forum.storj.io/t/migrate-node-from-windows-10-to-raspberry-pi/4350/2 "2020-02-02T16:10:32Z")

</div>

options off the top of my head:

1. Use smb on rpi and copy the files on your windows system from the drive to the new location
2. Use an ubuntu live-cd and transfer files there (probably the fastest method if you raid is supported by ubuntu)

---

<div class="post-metadata">

**Author:** ![deathlessdd](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/deathlessdd/32/6067_2.png) [@deathlessdd](https://forum.storj.io/u/deathlessdd)\
**Post date:** [February 2, 2020, 4:51pm UTC](https://forum.storj.io/t/migrate-node-from-windows-10-to-raspberry-pi/4350/3 "2020-02-02T16:51:01Z")

</div>

You can use winscp to transfer all of the files to your rpi, Might take awhile but theres not alot of ways, I think rsync also works aswell.

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [February 2, 2020, 4:56pm UTC](https://forum.storj.io/t/migrate-node-from-windows-10-to-raspberry-pi/4350/4 "2020-02-02T16:56:17Z")

</div>

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):

```auto
rsync -r /mnt/d/Storj/storage pi@192.168.1.68:/mnt/Storj/

```

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):

```auto
Stop-Service storagenode
Set-Service storagenode -StartupType Disabled

```

and do the `rsync` last time, but with a `--delete` option.  
You can transfer the identity the same way.

Then run the storagenode on your pi and uninstall the Windows GUI.

---

<div class="post-metadata">

**Author:** ![Screechingcrow](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/screechingcrow/32/67_2.png) [@Screechingcrow](https://forum.storj.io/u/Screechingcrow)\
**Post date:** [February 4, 2020, 7:35am UTC](https://forum.storj.io/t/migrate-node-from-windows-10-to-raspberry-pi/4350/5 "2020-02-04T07:35:17Z")

</div>

Thanks Alexey,

I’m assuming the above command

`rsync -r /mnt/d/Storj/storage pi@192.168.1.68:/mnt/Storj/`

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](https://support.storj.io/hc/en-us/articles/360026612332-Install-storagenode-on-Raspberry-Pi3). 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

---

<div class="post-metadata">

**Author:** ![Screechingcrow](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/screechingcrow/32/67_2.png) [@Screechingcrow](https://forum.storj.io/u/Screechingcrow)\
**Post date:** [February 4, 2020, 7:48am UTC](https://forum.storj.io/t/migrate-node-from-windows-10-to-raspberry-pi/4350/6 "2020-02-04T07:48:57Z")

</div>

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:

```
sudo mkdir /mnt/d

```

or are the drives mounted by default.

Cheers,  
Adam

---

<div class="post-metadata">

**Author:** ![kevink](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/kevink/32/6077_2.png) [@kevink](https://forum.storj.io/u/kevink)\
**Post date:** [February 4, 2020, 8:14am UTC](https://forum.storj.io/t/migrate-node-from-windows-10-to-raspberry-pi/4350/7 "2020-02-04T08:14:27Z")

</div>

They are typically mounted by default. Just check what’s inside /mnt/d

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [February 7, 2020, 11:30pm UTC](https://forum.storj.io/t/migrate-node-from-windows-10-to-raspberry-pi/4350/8 "2020-02-07T23:30:48Z")

</div>

> [@Screechingcrow](#):
>
> `rsync -r /mnt/d/Storj/storage pi@192.168.1.68:/mnt/Storj/`
> 
> will point directly to my mounted drive had i done it like this:
> 
> `sudo mount /dev/sda1 /mnt/storagenode`

Then that command will looks like:

```auto
rsync -r /mnt/d/Storj/storage pi@192.168.1.68:/mnt/storagenode

```

> [@Screechingcrow](#):
>
> do i need to first mount the harddrive within WSL?

no, they are mounted automatically

---

<div class="post-metadata">

**Author:** ![Screechingcrow](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/screechingcrow/32/67_2.png) [@Screechingcrow](https://forum.storj.io/u/Screechingcrow)\
**Post date:** [February 15, 2020, 4:59pm UTC](https://forum.storj.io/t/migrate-node-from-windows-10-to-raspberry-pi/4350/9 "2020-02-15T16:59:25Z")

</div>

Hey @Alexey,

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.

Cheers,  
Adam

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [February 15, 2020, 5:26pm UTC](https://forum.storj.io/t/migrate-node-from-windows-10-to-raspberry-pi/4350/10 "2020-02-15T17:26:32Z")

</div>

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](https://forum.storj.io/t/storagenode-keeps-writing-data-after-mounted-drive-lost/4455/2)

---

<div class="post-metadata">

**Author:** ![Screechingcrow](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/screechingcrow/32/67_2.png) [@Screechingcrow](https://forum.storj.io/u/Screechingcrow)\
**Post date:** [February 21, 2020, 12:55pm UTC](https://forum.storj.io/t/migrate-node-from-windows-10-to-raspberry-pi/4350/11 "2020-02-21T12:55:46Z")

</div>

Unfortunately, at the last rsync hangs due to the large block size of some files.

you need to add

> –block-size=508576

or what ever the max block size it indicates. See [Rsync hangs on large files - Quick fixes !!](https://bobcares.com/blog/rsync-hangs-on-large-files/)

---

<div class="post-metadata">

**Author:** ![Vadim](https://storj.bcdn.literatehosting.com/letter_avatar/vadim/32/6_22734026db12803ebb3e059622ac3534.png) [@Vadim](https://forum.storj.io/u/Vadim)\
**Post date:** [February 21, 2020, 1:13pm UTC](https://forum.storj.io/t/migrate-node-from-windows-10-to-raspberry-pi/4350/12 "2020-02-21T13:13:34Z")

</div>

dont recomend moove at all GUI to raspberry, GUI nodes success rate is better.  
But it is only my vision.

---

<div class="post-metadata">

**Author:** ![Screechingcrow](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/screechingcrow/32/67_2.png) [@Screechingcrow](https://forum.storj.io/u/Screechingcrow)\
**Post date:** [February 21, 2020, 1:30pm UTC](https://forum.storj.io/t/migrate-node-from-windows-10-to-raspberry-pi/4350/13 "2020-02-21T13:30:05Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Vadim](https://storj.bcdn.literatehosting.com/letter_avatar/vadim/32/6_22734026db12803ebb3e059622ac3534.png) [@Vadim](https://forum.storj.io/u/Vadim)\
**Post date:** [February 21, 2020, 1:44pm UTC](https://forum.storj.io/t/migrate-node-from-windows-10-to-raspberry-pi/4350/14 "2020-02-21T13:44:43Z")

</div>

my compare resalts gived 8-10% on rassperry 78 on GUI

---

<div class="post-metadata">

**Author:** ![kevink](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/kevink/32/6077_2.png) [@kevink](https://forum.storj.io/u/kevink)\
**Post date:** [February 21, 2020, 2:10pm UTC](https://forum.storj.io/t/migrate-node-from-windows-10-to-raspberry-pi/4350/15 "2020-02-21T14:10:26Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![Vadim](https://storj.bcdn.literatehosting.com/letter_avatar/vadim/32/6_22734026db12803ebb3e059622ac3534.png) [@Vadim](https://forum.storj.io/u/Vadim)\
**Post date:** [February 21, 2020, 2:13pm UTC](https://forum.storj.io/t/migrate-node-from-windows-10-to-raspberry-pi/4350/16 "2020-02-21T14:13:21Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [February 22, 2020, 6:43am UTC](https://forum.storj.io/t/migrate-node-from-windows-10-to-raspberry-pi/4350/17 "2020-02-22T06:43:24Z")

</div>

My raspberry pi just have as much storage filled as my Windows node. It just collect more big pieces than a Windows node.  
So, I think it works well.

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [April 20, 2020, 8:01pm UTC](https://forum.storj.io/t/migrate-node-from-windows-10-to-raspberry-pi/4350/18 "2020-04-20T20:01:06Z")

</div>

A post was split to a new topic: [Migrate from raspberry pi to the Windows](https://forum.storj.io/t/migrate-from-raspberry-pi-to-the-windows/6047)
