Overview
sedutil-test is used to check the capabilities of Self-Encrypting Drives (SEDs) that adhere to the TCG Opal standard. This tool runs diagnostic tests to determine if the drive is ready to operate correctly within the sedutil ecosystem.
Key Features
- SED compatibility verification
- TCG Opal feature testing
- Drive status diagnostics
Usage Examples
sedutil-test primarily takes a specific drive path as an argument to perform tests.
Testing a specific SATA drive
sudo sedutil-test /dev/sda
Runs SED compatibility and functionality tests for the /dev/sda drive.
Testing a specific NVMe drive
sudo sedutil-test /dev/nvme0n1
Runs SED compatibility and functionality tests for the /dev/nvme0n1 drive.
Running tests with verbose output
sudo sedutil-test -v /dev/sda
You can use the '-v' option to see more detailed test progress and results (supported in some versions).
Installation
sedutil-test is not included by default in most Linux distributions and needs to be installed separately. It is provided as part of the sedutil package.
Debian/Ubuntu
sudo apt update && sudo apt install sedutil
Install the sedutil package using the APT package manager.
Fedora/RHEL
sudo dnf install sedutil
Install the sedutil package using the DNF package manager.
Compiling from Source
For other distributions, you may need to download the source code from the sedutil project's GitHub repository and compile it yourself. Please refer to the official documentation for details.
Tips & Precautions
Before using sedutil-test, consider the following points.
Important Notes
- Ensure that there is no critical data on the drive being tested. (While the test itself typically does not corrupt data, misuse can pose risks.)
- The test may take some time depending on the performance and size of the drive.
- The test results are crucial for determining if the drive supports TCG Opal features and can be a prerequisite for managing the drive using sedutil-cli.
Related Tools
- sedutil-cli: This is the primary command used for actual SED management and encryption setup. You would use this command after verifying compatibility with sedutil-test.