Files
oam/knowledge base/disks maintenance.md
2023-09-14 00:24:11 +02:00

29 lines
392 B
Markdown

# Disks maintenance
## Table of contents <!-- omit in toc -->
1. [TL;DR](#tldr)
1. [Sources](#sources)
## TL;DR
```sh
# Check disks have spun down.
# 'standby' means they did.
smartctl -i -n standby '/dev/sda'
hdparm -C '/dev/sd'*
```
## Sources
- [`smartctl`][smartctl]
- [`hdparm`][hdparm]
<!--
References
-->
<!-- Knowledge base -->
[hdparm]: hdparm.md
[smartctl]: smartctl.md