snapraid command not found

In this troubleshooting guide we learn how to fix snapraid command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

snapraid: command not found

or when using sudo you get the following error message

sudo: snapraid: command not found

Solutions to snapraid: command not found

How To Fix snapraid: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu snapraid is provided by snapraid package.

snapraid is:

SnapRAID is a backup program for disk arrays. It stores parity information of your data and it recovers from up to six disk failures.

SnapRAID is mainly targeted for a home media center, where you have a lot of big files that rarely change.

Beside the ability to recover from disk failures, the other features of SnapRAID are:

  • You can use disk already filled with files, without the need to reformat them. You will access them like now.
  • All your data is hashed to ensure data integrity and to avoid silent corruption.
  • If the failed disks are too many to allow a recovery, you lose the data only on the failed disks. All the data in the other disks is safe.
  • If you accidentally delete some files in a disk, you can recover them.
  • The disks can have different sizes.
  • You can add disks at any time.
  • It doesn’t lock-in your data. You can stop using SnapRAID at any time without the need to reformat or move data.
  • To access a file, only a single disk needs to spin, saving power and producing less noise.

The official site of SnapRAID is: http://www.snapraid.it/

To fix this problem, we can install more using the command below.

sudo apt-get -y install snapraid

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install snapraid.

sudo apt -y install snapraid

Or if you have aptitude installed you can use the following command.

sudo aptitude install snapraid

Summary

In this tutorial we learn how to fix snapraid command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.