How to develop and test Storj in LAN?

How to build a complete Storj system in my local area network please?
I’d like to build a complete Storj system in LAN so that I can adjust various parameters and test how decentralized cloud storage work, just like a testbed.
Furthermore, what device is needed to build such a Storj system in LAN if I start 20 storage nodes and 2 satellites? Can a NAS or upscale workstation work? By the way, why Node Operator document doesn’t recommend the NAS?


Have a look at Test network · storj/storj Wiki · GitHub

I suppose it’s not recommended to use remote storage because the node uses some databases on the disk and the latency will be high.

1 Like

Because of wrong implementation of file locks in popular remote filesystems.
Storagenode uses sqlite for databases, they are not compatible with the network filesystem protocols. The storagenode also need normal locks for pieces too, thus the main storage is not compatible with the network filesystem protocols too.
There are some exceptions - like use the SMB when both - server and client are Windows. Unfortunately it doesn’t work on Linux neither their implementation of SMB, nor NFS.

So, in general if you forced to use a network access to your storage, then you can use iSCSI, it’s block-level network protocol and you would have a normal filesystem there like ext4 for Linux or NTFS for Windows and it’s can be used for storage. However, if you would have interruptions in the network you could have missed or broken pieces and as result your node would have a greater probability to fail audits and being disqualified at some point.

We have also a positive reports from operators in using Ceph: Distributed architecture for SNOs for high availability of storage nodes - #7 by Cmdrd