Setting Up RPi4 64Bit

I’m trying to set it up… I have three disks on that node! i tried to remove one, the slowest! Unmounted it and edit the fstab file. When i remove the disk the pi doesn’t boot up (Fixed)! How could i set it properly using two disks on two nodes (Fixed)? Also manage to add port forwarding on router and domain name on service! I think it’s a fail!

You have to adapt the docker instruction:

-p [external port of pi]:[external port of docker container]

The last one defaults to 28967, but the first one can be freely adapted.

See also: https://support.storj.io/hc/en-us/articles/360042343052-Single-and-multi-node-Port-forwarding-setup

I think it’s running! At least one node! How do you see the stats for each one? I’ve seen elsewhere that there is a dashboard for each node! I was not able to find time for digging into it!

Hey… Hey… I think i’m up… at least one is :slight_smile: ! Getting serious… :slight_smile: ! I have some logs on one node, seems like it has a problem! Here’s a snapshot "2023-08-26 20:59:26,113 INFO exited: storagenode (exit status 1; not expected)
2023-08-26 20:59:28,125 INFO spawned: ‘storagenode’ with pid 55
2023-08-26T20:59:28Z INFO Anonymized tracing enabled {“process”: “storagenode”}
2023-08-26T20:59:28Z INFO Operator email {“process”: “storagenode”, “Address”: “StorageWars85@gmail.com”}
2023-08-26T20:59:28Z INFO Operator wallet {“process”: “storagenode”, “Address”: “0x20ba0ed29b38f63cfe96193b1e85365821a7058a”}
Error: Error starting master database on storagenode: group:
— stat config/storage/blobs: no such file or directory
— stat config/storage/temp: no such file or directory
— stat config/storage/garbage: no such file or directory
— stat config/storage/trash: no such file or directory

"

Not able to find the cure!

you missed the setup step for this node. Please note - each node must have an own generated identity, not a clone, otherwise all nodes will be disqualified for losing data.

https://forum.storj.io/t/my-docker-run-commands-for-multinodes-on-synology-nas/22034

Read my topic. It gives you all you need. The last post has the updated commands.

You are the MEN! Last night i was until 2AM trying to figure it out! Is it possible to set a bandwith limiter with the nodes? I have 100MB/s of upload and download speed! Could it be set it for each node to operate with only 25MB/s?

Why? They are not using that bandwidth nonstop. There are spikes of transfer, but in general, nodes use very small bandwidth, when pieces are stored or retrieved (ingress or egress). No need to put limits. Better, if you use that internet connection for other stuff, you can set QoS for nodes, to reserve a minimum bandwith for them, just to be sure you don’t loose races because you download a movie or something.

1 Like

Do you recommend to do a sd backup? What kind sd imager do you recommend?

I don’t know if a cloning tool works with SD cards, but they are the best for cloning drives. EaseUS I used while ago and is working great. But better than a backup would be to creat yourself a step-by-step guide, with all the instructions and commands, edited and saved with a coding text editor like Notepad++. That way, you don’t need backups that can get autdated, and you get back in business very quickly. You should put the identity files on your storagenode data HDDs. The databases don’t need backups. If you loose them, the node software will recreate them; you only loose the history on your side. Using backed up databases will get your node disqualified I believe.
And to prevent as much as possible drives and SD card corruption, you shoud use an UPS, that shuts down automaticaly the system, and good SD cards from known brands, like SanDisk, Kingston, Lexar, with all those speed classes at max.

Have to save the sd card on a sd image, can’t figure it out the best tool to do it! If something goes bad i want to have it back online in no time! Have to shut down the nodes for some time! i want to be as quick and perfect as possible!

I would recommend to copy/move node’s identity to the disk with its data. The identity without its data is useless and data without its identity is useless too.

it will not, but it could be disqualified for lost data since backup if you restore blobs from the backup.

Where do i find node identity?

On the node’s dashboard, both web and CLI, also in logs or requesting from the identity:

1 Like

Is it possible to have same Node ID on two different nodes? On command line i’m able to see two nodes and their logs! On node’s dashboard the node id is the same!

storagewars@raspberrypi:~ $ sudo docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
e8ce4e034c4a storjlabs/storagenode:latest “/entrypoint --opera…” 26 hours ago Up 26 hours 127.0.0.1:14003->14002/tcp, 0.0.0.0:28968->28967/tcp, 0.0.0.0:28968->28967/udp, :::28968->28967/tcp, :::28968->28967/udp storagenode2
dd40e864c1bb storjlabs/storagenode:latest “/entrypoint --opera…” 28 hours ago Up 27 hours 127.0.0.1:14002->14002/tcp, 0.0.0.0:28967->28967/tcp, 0.0.0.0:28967->28967/udp, :::28967->28967/tcp, :::28967->28967/udp storagenode
c385aa961387 hello-world “/hello” 3 days ago Exited (0) 3 days ago frosty_fermat

No. This is mean that you have used the same identity for your second node, if it’s online, this identity will be disqualified in hours because of losing data of each other. Even if you used a different authorization token, but the same identity, it will still be the same identity, but each of them will not have data of each other, so it will start to fail audits pretty quick and will be disqualified.

You must generate a new identity for each node, not copy/clone the existing one.

You should read the official docs carefuly. All the sections and the FAQ. You will understand better how it all works and prevent you from doing mistakes. There is no need to rush in to setup storagenodes. They fill verry slowly. If you start them today or in 2 weeks, there is no difference. Just take your time and read the docs first.

2 Likes

Lets say i’ve created a identity for node1, moved it to it’s disk. To create identity for node2 it needs to be specified? The command should be identity create storagenode2?

No. You use storagenode2 3 etc only in docker commands when you run your nodes, if they are on the same machine. There can’t be 2 containers with the same name. The identity dosen’t care how your container is named. Each identity must be placed on it’s own disk, where the node’s data is. The folder can have the same name on both disks, if you have 2 nodes.
And the indentity creation system dosen’t care how many nodes you have. It just creates a new unique identity every time you run the steps; dosen’t care for who is it and how many nodes that person/persons have.

I try to get other authorization! It says error!