Development/Linux

[Ubuntu] Check HDD status

jstar0525 2021. 8. 2. 16:04
반응형

 

 

1. Install smartmontools

$ sudo apt install smartmontools

 

2. Check device

$ df -h

 

3. 

Show device SMART health status

$ sudo smartctl -H <device>
$ sudo smartctl -H /dev/sda1

Show all SMART information for device

$ sudo smartctl -a <device>
$ sudo smartctl -a /dev/sda1
반응형