I am operating a Synology node and a Windows node. Since Windows Node seems to be difficult for beginners to manage, I decided to convert Windows Node to Qnap.
I thought it would be good to get some help before moving it, so I wrote it in order, so if there are any mistakes or anything to add, please let me know.
I plan to migrate the files installed on Windows to RoboCopy using the USB QuickAccess function of the qnap ts251a and then install the Qnap Storage Node.
windows : NFTS
Qnap : EXT4
- Storage locations across operating systems
windows : "%AppData%\Storj\Identity\storagenode
Qnap : /share/storj/identitywindows : C:\Program Files\Storj\Storage Node\orders
Qnap : /share/storj/data/orderswindows : D:\ ( storj data, Ex_: blobs, garbage,temp…)
Qnap : /share/storj/data/storage
E:\ = Qnap DRIVE (USB CONNECT)
robocopy "%AppData%\Storj\Identity\storagenode" E:\storj\identity /MIR
robocopy "%ProgramFiles%\Storj\Storage Node\orders" E:\storj\data\orders /MIR
robocopy D:\storagenode E:\storj\data\storage /MIR
- Repeat 3-4 times
windows node exit ( CMD : net stop storagenode)
robocopy D:\storagenode E:\storj\data\storage /MIR
- Install Qnap storage node
(The Z: drive in the screenshot is the location of the node where Synology docker is currently running, and the folder location will be the same for Qnap.)
docker run -d --restart unless-stopped --stop-timeout 300 \
-p 28967:28967/tcp \
-p 28967:28967/udp \
-p 14002:14002 \
-e WALLET="“0xXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"” \
-e EMAIL="user@example.com" \
-e ADDRESS="“domain.ddns.net:28967"” \
-e STORAGE="“14.5TB"” \
--log-driver json-file \
--log-opt max-size=10m \
--log-opt max-file=5 \
--mount type=bind,source="/share/storj/identity",destination=/app/identity \
--mount type=bind,source="/share/storj/data",destination=/app/config \
--name storagenode storjlabs/storagenode:latest
I wrote it in the order of application, but if you have anything to add, please let me know. Thank you.