sas_disk_blink command not found

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

Introduction

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

sas_disk_blink: command not found

or when using sudo you get the following error message

sudo: sas_disk_blink: command not found

In Ubuntu sas_disk_blink is provided by sdparm package.

sdparm is:

The sdparm utility outputs and in some cases modifies SCSI device parameters. It can be used to output and modify parameters on any device that uses a SCSI command set. Apart from SCSI disks, such devices include CD/DVD drives (irrespective of transport), SCSI and ATAPI tape drives and SCSI enclosures.

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

sudo apt-get -y install sdparm

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

You can also use apt command to install sdparm.

sudo apt -y install sdparm

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

sudo aptitude install sdparm

Summary

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