การติดตั้ง smartctl บน Ubuntu และ Debian

บทความ Add comments

ติดตั้ง smartmontools

sudo apt-get install smartmontools

ทำไมคุณต้องการใช้ SmartMonTools

แพคเกจ smartmontools มีโปรแกรมอรรถประโยชน์สองโปรแกรม คือ smartctl และ smartd เพื่อควบคุมและตรวจสอบระบบการเก็บรักษาโดยใช้ Self-Monitoring, การวิเคราะห์และการรายงานด้วย S.M.A.R.T. ที่ถูกรวมเข้าไว้ในฮาร์ดดิสก์ ATA และ SCSI สมัยใหม่ มันมาจากชุด smartsuite และรวมถึงการสนับสนุนดิสก์ ATA/ATAPI-5 ควรใช้กับระบบ Linux ที่ทันสมัย

แปลจาก : http://www.twistedethics.com/2007/08/06/install-smartctl-on-ubuntu/
เว็บที่เกี่ยวข้อง : http://smartmontools.sourceforge.net/

ตรวจสอบจำนวน และชื่อเรียกฮาร์ดดิสก์ ดังนี้

sudo fdisk -l

ขอดูข้อมูลฮาร์ดดิสก์ ดังนี้

sudo smartctl -i /dev/hda

หรือ

sudo smartctl -i /dev/sda

ทดสอบฮาร์ดดิสก์แบบเร็ว

sudo smartctl -t short /dev/sda

รอประมาณ 1-2 นาที แล้วใช้คำสั่งต่อไปนี้ เพื่อดูผลการทดสอบ

sudo smartctl -l selftest /dev/sda

การอ่านค่าอุณหภูมิของฮาร์ดดิสก์

sudo smartctl -A /dev/sda|grep "Temperature_Celsius"
VN:F [1.8.3_1051]
Rating: 9.3/10 (3 votes cast)
VN:F [1.8.3_1051]
Rating: +3 (from 3 votes)
การติดตั้ง smartctl บน Ubuntu และ Debian9.3103

Leave a Reply

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in