Solution to linuxsmartd [FAILED] When RedHatLinux is started

Source: Internet
Author: User
Recently, he fell in love with RedHatLinux. Because of his GUN spirit, he was studying hard and installed on a virtual machine. He was afraid that wood could directly control this strange but attractive system, when the machine is started, it always shows that the smartd process failed, so find the relevant technical articles and share them. In fact, there is another problem. My Linux has no sound and the sound card is normal, but the test sound is not. The next goal is to solve this problem ~~ Smartd is a daemon (a help program) that monitors self-monitoring, analysis, and reporting technologies.

Recently, he fell in love with RedHat Linux. Because of his GUN spirit, he was studying hard and installed on a virtual machine. He was afraid that wood could directly control this strange but attractive system, when the machine is started, it always shows that the smartd process failed, so find the relevant technical articles and share them.

In fact, there is another problem. My Linux has no sound and the sound card is normal, but the test sound is not. The next goal is to solve this problem ~~

Smartd is a daemon (a help program) that monitors Self-Monitoring, analysis, and reporting technologies (Self-Monitoring,
Analysis, and Reporting Technology-SMART) hard disk.
The SMART system enables the hard disk to monitor and report its running status. One of its important features is the ability to predict failures, making the system administrator
This prevents data loss.
Smartd is installed by default by the kernel-utils package. Run the rpm-ql kernel-utils command to list the files in the kernel-utils package.
The smartd daemon is usually enabled when the system starts. Its configuration file is/etc/smartd. conf.
For example, assume that two hard disks are installed:/dev/hda and/dev/hdb. One is the CD_ROM device, and the other is the hard disk. To detect them
Whether SMART is supported. Use the command smartctl-I/dev/hda and smartctl-I/dev/hdb:
#/Usr/sbin/smartctl-I/dev/hda
Smartctl version 5.1-11 Copyright (C) 2002-3 Bruce Allen
Home page is
Http://smartmontools.sourceforge.net/

=== 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
"SMART support is: Available-device has SMART capability." This line indicates that SMART is supported. "SMART
Support is: Enabled "indicates that SMART has been Enabled.
CD-ROM devices and legacy hard drives do not support SMART, as can be seen from the output of smartctl-I/dev/hdb:
#/Usr/sbin/smartctl-I/dev/hdb
Smartctl version 5.1-11 Copyright (C) 2002-3 Bruce Allen
Home page is
Http://smartmontools.sourceforge.net/

=== 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 'persistent'
Note that some hard drive controllers do not support SMART. For example, some hardware RAID controllers do not support or do not transmit SMART information.
The hard drive supports SMART.
You can modify the/etc/smartctl. conf file so that smartd only monitors the devices you want to monitor. Assume that only/dev/hda needs to be monitored,
If a warning occurs on the device and you need to send it to the root user, you need to modify/etc/smartd. conf as follows:

#/Etc/smartd. conf
# Sample configuration file for smartd. See man 5 smartd. conf.
# Home page is:
Http://smartmontools.sourceforge.net
...
# A very silent check. Only report SMART health status if it fails
# But send an email in this case
/Dev/hda-a-m
Root@localhost.localdomain
...
After editing/etc/smartd. conf, restart the daemon:

#/Sbin/service smartd restart
Shutting down smartd: [FAILED]
Starting smartd: [OK]
To set the smartd to be activated when the system starts, run the chkconfig smartd on command under the root user.

Disable Automatic startup of the smartd Service
Root LINUX smartd is a daemon that monitors the Self-Monitoring, Analysis and Reporting
Technology (SMART) system built
Into hardware ATA-3 and later ATA, IDE and SCSI-3 hard drives. The purpose of SMART is
Monitor the reliability
Of the hard drive and predict drive failures, and to carry out different types
Drive self-tests. This
Version of smartd is compatible with ATA/ATAPI-7 and earlier standards
To put it simply, smartd is a daemon that monitors the reliability of the hard disk and predicts its failure and tests it!
Take a closer look at the description of smartd! (Man smartd)
# Chkconfig smartd off
This is to disable the Automatic startup of the smartd service, and the smartd will not run again when the machine restarts!

For more information about RedHat, see RedHat topic page http://www.linuxidc.com/topicnews.aspx? Tid = 10

This article permanently updates the link address: Http://www.linuxidc.com/Linux/2016-01/127615.htm

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.