smartd is SMART Disk Monitoring Daemon for Linux. Does smartd support SATA drives?
Yes and No.
This is one of the tricky situation - sometime smartd does support SATA drives and sometime it simply does not support smartd.
Smartmontools should work correctly with SATA drives under both Linux 2.4 and 2.6 kernels, if you use the standard IDE drivers in drivers/ide. If you use the new libata drivers, it won't work correctly because libata doesn't yet support the needed ATA-passthrough ioctl() calls. Jeff Garzik, the libata developer, says that this support will be added to libata in the future.
smartd does not support SATA drives. However you can try your luck by modifying smartd.conf file:
# vi /etc/smartd.conf
You can add support to smartmontools for a new SATA/libata device adding '-d sata'. Typically, to force an SATA disk to run using the standard (non-libata) drivers, you must use the BIOS to select "legacy mode" for the controller.
Look for line that read as follows:
/dev/sda -d ata -H -m firstname.lastname@example.org
/dev/sda -d sata -H -m email@example.com
Save and close file. Restart smartd:
# /etc/init.d/smartd restart
You may need to download and patch the system to use above hack.
Otherwise it is good idea to turn off samrtd. Under RHEL or CentOS or Fedora core type command:
# /etc/init.d/smartd stop
# chkconfig smartd off
See alsoTwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!
- 30 Cool Open Source Software I Discovered in 2013
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012
- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop