Skip to content

Repository files navigation

45Drives Server CLI Tools

Supported OS

  • CentOS 7.X
  • Rocky Linux 8.X
  • Rocky Linux 9.X
  • Ubuntu 20.X.X
  • Ubuntu 22.X.X

Contents

  • Drive Aliasing

    • dmap: (opt/tools/dmap)
      Automatically configures device aliases for 45Drives Storinator products.
      Options:
      -h, --help show this help message and exit
      -m, --no-udev Creates map but doesnt trigger udev rules
      -s SZ, --size=SZ Specify chassis size
      -q, --quiet Quiet Mode
      -r, --reset-map Resets the drive map
      
  • Drive Display

    • lsdev: (opt/tools/lsdev)
      Lists a variety of block device information. Options:
      -h, --help show this help message and exit
      -j, --json Output in JSON format
      -n, --no-color, --no-colour Replace colour coding with asterisks
      -d, --device Output device name "/dev/sd<x>/"
      -H, --health Output SMARTCTL health (slow)
      -m, --model Output model names
      -t, --type Output drive types (HDD/SSD)
      -s, --serial Output serial numbers
      -T, --temp Output temperature (deg-C) (slow)
      -f, --firmware Output firmware version
      -o, --ceph-osd Output OSD name - Ceph only
      
  • ZFS Drive Tools

    • zcreate: (/opt/tools/zcreate)
      Automatically creates zpools based on system hardware. Also takes input for fine tuned options. Use '-h' flag for more options
      
  • Ceph Drive Tools

    • findosd: (/opt/tools/findosd)
      Takes osd id as input and outputs device alias. If osd is located on another host output is that hostname.
      
    • generate-osd-vars.sh: (opt/tools/generate-osd-vars.sh)
      Outputs list of devive names and device alias to stdout. Used by ceph-ansible playbook to autogenerate devices varibles
      
    • wipedev (/opt/tools/wipedev)
      Wipes the partition table of all drives in system. (excluding server's OS drives).
      

Installation

Rocky Linux or CentOS 7

Enable Official 45Drives Repo

curl -sSL https://repo.45drives.com/setup | sudo bash

Install Package

With the 45drives Repo enabled, you can now install using yum from your terminal.

yum install 45drives-tools

Ubuntu 20

Enable Official 45Drives Repo

curl -sSL https://repo.45drives.com/setup | sudo bash

Install Package

sudo apt install 45drives-tools

About

No description, website, or topics provided.

Resources

Stars

38 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages