# /usr/sbin/smartctl -i /dev/hda smartctl version 5.1-11 Copyright (C) 2002-3 Bruce Allen Home page is [url]http://smartmontools.sourceforge.net/[/url] === START OF INFORMATION SECTION === Device Model: ST380011A Serial Number: 3JVB672N Firmware Version: 8.01 Device is: Not in smartctl database [for details use: -P showall] ATA Version is: 6 ATA Standard is: ATA/ATAPI-6 T13 1410D revision 2 Local Time is: Fri Aug 20 14:09:16 2004 EST SMART support is: Available - device has SMART capability. SMART support is: Enabled
# /usr/sbin/smartctl -i /dev/hdb smartctl version 5.1-11 Copyright (C) 2002-3 Bruce Allen Home page is [url]http://smartmontools.sourceforge.net/[/url] === START OF INFORMATION SECTION === Device Model: LTN526D Serial Number: [No Information Found] Firmware Version: 9S03 Device is: Not in smartctl database [for details use: -P showall] ATA Version is: 1 ATA Standard is: Exact ATA specification draft version not indicated Local Time is: Fri Aug 20 14:24:43 2004 EST SMART is only available in ATA Version 3 Revision 3 or greater. We will try to proceed in spite of this. SMART support is: Unavailable - device lacks SMART capability. A mandatory SMART command has failed: exiting. To continue, use the -T option to set the tolerance level to 'permissive'
# /etc/smartd.conf # Sample configuration file for smartd. See man 5 smartd.conf. # Home page is: [url]http://smartmontools.sourceforge.net[/url] ... # A very silent check. Only report SMART health status if it fails # But send an email in this case /dev/hda -a -m [email]root@localhost.loca[/email]ldomain ...
# /sbin/service smartd restart Shutting down smartd: [FAILED] Starting smartd: [ OK ]
要设置smartd在系统启动时候被激活,在根用户下用 chkconfig smartd on 命令。