Lama ndak posting, kalai ini saya akan memposting cara cek kesehatan SSD atau HDD pada server linux menggunakan HDsentinel.
Oke lansung saja ke langkah-langkahnya, yok simak langkah dibawah ini
Langkah 1. Download dulu softwarenya yaitu HDsentinel
wget https://www.hdsentinel.com/hdslin/hdsentinel-018c.gz
wget https://www.hdsentinel.com/hdslin/hdsentinel-018c-x64.gz
Silahkan pilih salah satu saja sesuai dengan arsitektur yang anda gunakan. Link yang atas untuk 32bit dan yang bawah untuk 64bit.
Langkah 2. Silahkan extract file yang sudah didownload dengan perintah berikut
gunzip hdsentinel-018c-x64.gz
File yang akan di extract sesuaikan dengan nama file yang di download sebelumnya ya. Pada contoh ini saya menggunakan arsitektur 64bit. Jadi perintahnya seperti diatas
Langkah 3. Berikan hak akses pada file yang sudah di extract dengan perintah berikut
chmod 755 hdsentinel-018c-x64
Langkah 4. Silahkan bisa menjalankan HDsentinel yang telah di download untuk melakukan pengecekan HDD atau SSD yang digunakan mengguakan perintah berikut
./hdsentinel-018c-x64
Maka hasilnya akan seperti ini
Hard Disk Sentinel for LINUX console 0.18c.8675 (c) 2019 info@hdsentinel.com
Start with -r [reportfile] to save data to report, -h for help
Examining hard disk configuration ...
HDD Device 0: /dev/sda
HDD Model ID : Samsung SSD 860 EVO 1TB
HDD Serial No: S3YBNB0N919854V
HDD Revision : RVT04B6Q
HDD Size : 953870 MB
Interface : LSI RAID #0/0 [8-0]
Temperature : 25 °C
Highest Temp.: 40 °C
Health : 91 %
Performance : 100 %
Power on time: 232 days, 7 hours
Est. lifetime: more than 1000 days
Total written: 29.46 TB
The status of the solid state disk is PERFECT. Problematic or weak sectors were not found.
The health is determined by SSD specific S.M.A.R.T. attribute(s): #177 Wear Leveling Count
No actions needed.
HDD Device 1: /dev/sda
HDD Model ID : Samsung SSD 860 EVO 1TB
HDD Serial No: S3YBNB0N919835W
HDD Revision : RVT04B6Q
HDD Size : 953870 MB
Interface : LSI RAID #0/1 [8-0]
Temperature : 25 °C
Highest Temp.: 40 °C
Health : 92 %
Performance : 100 %
Power on time: 232 days, 7 hours
Est. lifetime: more than 1000 days
Total written: 29.46 TB
The status of the solid state disk is PERFECT. Problematic or weak sectors were not found.
The health is determined by SSD specific S.M.A.R.T. attribute(s): #177 Wear Leveling Count
No actions needed.
HDD Device 2: /dev/sda
HDD Model ID : Samsung SSD 860 EVO 1TB
HDD Serial No: S3YBNB0N919853N
HDD Revision : RVT04B6Q
HDD Size : 953870 MB
Interface : LSI RAID #0/2 [8-0]
Temperature : 24 °C
Highest Temp.: 40 °C
Health : 92 %
Performance : 100 %
Power on time: 232 days, 7 hours
Est. lifetime: more than 1000 days
Total written: 29.57 TB
The status of the solid state disk is PERFECT. Problematic or weak sectors were not found.
The health is determined by SSD specific S.M.A.R.T. attribute(s): #177 Wear Leveling Count
No actions needed.
HDD Device 3: /dev/sda
HDD Model ID : Samsung SSD 860 EVO 1TB
HDD Serial No: S3YBNB0N919834X
HDD Revision : RVT04B6Q
HDD Size : 953870 MB
Interface : LSI RAID #0/3 [8-0]
Temperature : 26 °C
Highest Temp.: 41 °C
Health : 92 %
Performance : 100 %
Power on time: 232 days, 7 hours
Est. lifetime: more than 1000 days
Total written: 29.57 TB
The status of the solid state disk is PERFECT. Problematic or weak sectors were not found.
The health is determined by SSD specific S.M.A.R.T. attribute(s): #177 Wear Leveling Count
No actions needed.
Pada tutorial ini server yang saya gunakan ada 4 buah SSD sehingga hasilnya muncul seperti pada report diatas. Jika ingin hasilnya bisa di akses pada browser bisa di convert ke html menggunakan perintah berikut
./hdsentinel-018c-x64 -html -r /path-dir/namafile.html
Catatan : Tutorial ini bekerja untuk saya, saya tidak bertanggung jawab atas kehilangan data yang ada pada SSD atau HDD anda setelah menjalankan perintah-perintah yang saya tuliskan diatas.
Semoga membantu 🙂
Leave a Reply