Skip to content

A Beginner's Installation Setup Guide

Petros Koutoupis edited this page Feb 24, 2023 · 2 revisions

Thank you to @singlecheeze for going through the steps and documenting this.

Installation steps for a dkms install.

Load dependencies (Fedora 35):

sudo dnf update -y
sudo dnf install libmicrohttpd libmicrohttpd-devel jansson-devel kernel-headers kernel-devel dkms
sudo dnf install pcre2-devel device-mapper-devel
sudo reboot

Load dependencies (Ubuntu 20.04):

sudo apt update -y
sudo apt install libmicrohttpd-dev libjansson-dev kernel-package dkms
sudo apt install libpcre2-dev libdevmapper-dev
sudo reboot

Build and start module (Fedora 35 and Ubuntu 20.04):

wget https://github.com/pkoutoupis/rapiddisk/archive/refs/heads/master.zip
unzip master.zip 
rm master.zip 
cd rapiddisk-master/
sudo make dkms-install
sudo make install
sudo modprobe rapiddisk
sudo modprobe rapiddisk-cache
sudo systemctl start rapiddiskd.service
sudo systemctl status rapiddiskd.service
sudo systemctl enable rapiddiskd.service
sudo rapiddisk -l
sudo cat /sys/kernel/rapiddisk/mgmt

To load modules on boot (Fedora 35):

echo -e "rapiddisk \nrapiddisk-cache \n"  | sudo tee -a  /etc/modules-load.d/rapiddisk.conf > /dev/null

To load modules on boot (Ubuntu 20.04):

echo -e "rapiddisk \nrapiddisk-cache \n"  | sudo tee -a  /etc/modules > /dev/null

And test with a reboot:

sudo reboot
sudo systemctl status rapiddiskd.service
lsmod | grep rapid

Optional, load cockpit to manage md array (Fedora 35):

sudo dnf install cockpit

Optional, load cockpit to manage md array (Ubuntu 20.04):

sudo apt install cockpit

Start cockpit:

sudo systemctl start cockpit cockpit.socket
sudo systemctl enable cockpit cockpit.socket

Optional, allow cockpit to manage SELinux (Fedora 35):

sudo dnf install cockpit-selinux
sudo systemctl restart cockpit cockpit.socket