Sign inSign up

bitctrlnl/storj-stbb

By bitctrlnl

Updated 5 months ago

Minimal Docker image for STBB (Storj hashstore analysis tool) with helper script for node analysis.

Image
Developer tools
Data science
0

130

bitctrlnl/storj-stbb repository overview

Storj STBB Docker Image

Minimal Docker image for running STBB (Storj hashstore analysis tool).

Usage

Basic STBB usage
docker run --rm bitctrlnl/storj-stbb --help
Analyze a hashstore

Mount your Storj node data into the container:

  -v /path/to/nodedata:/data:ro \
  bitctrlnl/storj-stbb \
  stat /data/storage/hashstore/<satellite>/s0

Example:

docker run --rm \
  -v /mnt/storj/node1:/data:ro \
  bitctrlnl/storj-stbb \
  stat /data/storage/hashstore/<satellite>/s0

Helper script: check-hashstores.sh

This repository includes a helper script to automate analysis of all hashstores in a Storj node setup.

Usage

Run the script on the host:

  check-hashstores.sh [--dry-run] [--force] [compose_file]

The script will:

  • detect Storj containers
  • optionally stop them safely
  • run STBB analysis
  • output reports per node
  • restart containers afterwards
Notes

Always mount node data as read-only (:ro) Do not run analysis on a live node without understanding the impact

Source

STBB project: https://github.com/elek/stbb

This project on github: https://github.com/bitctrlnl/storj-stbb-docker

Tag summary

Content type

Image

Digest

sha256:e81303365

Size

72.5 MB

Last updated

5 months ago

docker pull bitctrlnl/storj-stbb