sdparm is a command-line utility for inspecting and modifying parameters associated with devices that use SCSI command sets. It provides functionality broadly comparable to hdparm, but focuses on SCSI configuration and management.
The software works with supported SCSI disks and other devices that implement appropriate SCSI commands, including tape drives, optical drives and storage enclosures. It can also operate with certain devices connected through interfaces that translate commands into the SCSI protocol.
sdparm provides access to mode pages containing configurable device parameters, along with Vital Product Data used to identify hardware and describe its capabilities. Users can examine available settings, compare their current and default values, and modify supported parameters.
The utility is useful for storage administrators who need to investigate device behaviour or adjust settings that are unavailable through graphical disk management tools.
This is free and open source software.
Key Features
- Mode page inspection – displays configuration parameters exposed through SCSI mode pages.
- Parameter modification – changes supported device settings using SCSI MODE SELECT commands.
- Default and saved values – examines current, changeable, default and saved parameter values.
- Vital Product Data – retrieves identification information and additional device characteristics.
- Device identification – displays vendor, product and revision information.
- Caching controls – examines and modifies supported read and write caching parameters.
- Power management – accesses supported device power-related settings and controls.
- Media operations – issues commands for starting, stopping, loading and ejecting supported removable media.
- Capacity reporting – retrieves logical block information and device capacity.
- Parameter enumeration – searches built-in tables of standard, transport-specific and vendor-specific fields.
- Diagnostic information – retrieves supported sense data and device readiness information.
- Cross-platform support – runs on Linux, FreeBSD, and Windows.
Website: sg.danny.cz/sg/sdparm.html
Support:
Developer: Douglas Gilbert
License: BSD 2-Clause ‘Simplified’ License
sdparm is written in C. Learn C with our recommended free books and free tutorials.
Related Software
| Handy Hard Disk Utilities | |
|---|---|
| NVMe-CLI | NVM-Express user space tooling |
| Smartmontools | Control and monitor storage systems using S.M.A.R.T. |
| scrutiny | WebUI for smartd S.M.A.R.T monitoring |
| openSeaChest | Perform various operations on SATA, SAS, NVMe, and USB storage devices |
| GSmartControl | Graphical user interface for smartctl |
| hdparm | Tune hard disk parameters for high performance |
| sg3_utils | Utilities that send SCSI commands to devices |
| sdparm | Accesses SCSI device parameters |
| nwipe | Secure disk eraser |
| Bonnie++ | Toolkit for testing hard drive and file system performance |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.