Skip to content

Gandi/jbod-rs

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
gif
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

jbod - Generic storage enclosure tool

jbod is a CLI that allows us to get information from disk enclosures and JBOD as well as control the led identification of disks. It also comes with a prometheus-exporter where we can collect metrics like the disks temperature, number of fans, the RPM of the fans and etc.

It was based on encled and WDDCS tool.

Commands:

  • jbod help - Help menu
  • jbod list [-e|--enclosure] - Provide a storage enclosure overview
  • jbod list [-d|--disks] - List all disks per enclosure
  • jbod list [-f|--fan] - List all FAN on the jbod
  • jbod prometheus [-i|--ip-address][-p|--port] - Start prometheus-exporter
  • jbod led [-l|--locate] <device> --[on|off] - Turn ON/OFF disk bay location led.
  • jbod led [-f|--fault] <device> --[on|off] - Turn ON/OFF disk bay fault led.

Example of usage:

jbod-cli

Grafana:

graphana

Build the project:

  • Release: cargo build --release

Debian package:

  • First install: cargo install cargo-deb
  • Generate the debian package: cargo deb -v

Crate:

https://crates.io/crates/jbod

Contributing:

License:

The project is made available under the BSD 2-Clause license. See the LICENSE file for more information.