disk-filltest command not found

In this troubleshooting guide we learn how to fix disk-filltest command not found error message

Introduction

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

disk-filltest: command not found

or when using sudo you get the following error message

sudo: disk-filltest: command not found

Solutions to disk-filltest: command not found

How To Fix disk-filltest: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu disk-filltest is provided by disk-filltest package.

disk-filltest is:

The number of hard disk produced in the last five years is huge. Of course, this is the same number of hard disks that will most probably fail in the next five years, possibly with catastrophic consequences for the particular user or business.

The simple tool disk-filltest can help, together with S.M.A.R.T. monitoring, to check disks periodically and thus be forewarned about coming failures. The function of disk-filltest is simple:

  • Write files random-######## to the current directory until the disk is full.
  • Read the files again and verify the pseudo-random sequence written.
  • Any write or read error will be reported, either by the operating system or by checking the pseudo-random sequence.
  • Optionally, delete the random files after a successful run.

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

sudo apt-get -y install disk-filltest

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

You can also use apt command to install disk-filltest.

sudo apt -y install disk-filltest

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

sudo aptitude install disk-filltest

Summary

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