mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
Added disk information notes to the knowledge base
This commit is contained in:
17
knowledge base/retrieve disk information.md
Normal file
17
knowledge base/retrieve disk information.md
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
# Retrieve disk information
|
||||||
|
|
||||||
|
## TL;DR
|
||||||
|
|
||||||
|
```shell
|
||||||
|
lshw -class disk
|
||||||
|
smartctl -i /dev/sda
|
||||||
|
hdparm -i /dev/sda
|
||||||
|
hwinfo --disk
|
||||||
|
ls /dev/disk/by-id
|
||||||
|
```
|
||||||
|
|
||||||
|
## Further readings
|
||||||
|
|
||||||
|
- [Retrieve disk info from the command line]
|
||||||
|
|
||||||
|
[retrieve disk info from the command line]: https://www.linuxjournal.com/content/tech-tip-retrieve-disk-info-command-line
|
||||||
Reference in New Issue
Block a user