Installing Snapshot Driver

This section helps you install the Snapshot driver.

Prerequisites

Depending on the Linux distribution and tools you plan to use for installing Snapshot Driver for Linux, execute the commands from the sections that follows to ensure that your environment meets the system requirements.

Debian-based Using Aptitude

  • Make sure that the system is up to date:
sudo apt update
sudo apt upgrade -y
  • Install the gcc compilrer and the make utility:
sudo apt install -y gcc
sudo apt install -y make
  • Install the libelf development library:
sudo apt install -y libelf-dev
  • Install the kernel headers:
sudo apt install linux-headers-$(uname -r)

RPM-based Using YUM

  • Make sure that the system is up to date:
sudo yum update
  • Install the gcc compiler and the make utility:
sudo yum install -y gcc
sudo yum install -y make
  • Install the libelf development library:
sudo yum install -y elfutils-libelf-devel
  • Install the kernel headers:
sudo yum install kernel-devel

RPM-based Using Zypper

  • Make sure system is up to date:
sudo zypper refresh
sudo zypper update
  • Install the gcc compiler and the make utility:
sudo zypper install -y gcc
sudo zypper install -y make
  • Install the libelf development library:
sudo zypper install -y libelf-devel
  • Install the kernel header:
sudo zypper install -y kernel-devel

Steps to Install the Snapshot Driver

Step1 Download the driver installer archive from our website, and then unpack it.

By default, the system prompts you to unpack the driver installer archive to the CLBB_driver folder.

Step 2 Navigate to the folder where you have extracted the archived files:

cd CLBB_driver

Step 3 Build driver:

sudo ./install make

When prompted, type in Y (Yes) to proceed with the installation process as shown in the following screen:

Step 4: Install the snapshot driver:

sudo ./install install
sudo insmod /lib/modules/$(uname -r)/kernel/drivers/block/cblb_module.ko

This command will load driver kernel module.

IBB driver module won't be loaded automatically after restart