Added disk information notes to the knowledge base

This commit is contained in:
Michele Cereda
2022-04-17 23:14:11 +02:00
parent 0eedb247ee
commit a37022e55d

View 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