|
Recently I fell in love RedHat Linux, because his spirit GUN, so trying to learn, is to use a virtual machine installed, be afraid of the wood there are ways to control the character directly little strange but very attractive system, boot time is always displayed smartd process fails, so find technical articles, share with you.
In fact, there is a problem with my Linux no sound, the sound card is normal, but the test is not sound, the next goal is to solve this, huh, huh ~ ~
smartd is a daemon (a helper), it has a self-monitoring monitoring, analysis and reporting technology (Self-Monitoring,
Analysis, and Reporting Technology - SMART) hard disk.
SMART system makes hard to monitor and report on their health. It is an important feature is the ability to predict failure, so that the system administrator
To avoid data loss.
smartd by the kernel-utils packages installed by default. With the command rpm -ql kernel-utils kernel-utils package can list the files.
smartd daemon is normally open when the system starts, its configuration file is /etc/smartd.conf.
For example, suppose you have two hard drives are installed, / dev / hda and / dev / hdb. A device is CD_ROM, another hard disk. In order to detect them
Support SMART, 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" which explained support SMART. "SMART
support is: Enabled "explained SMART line has been opened.
CD-ROM device and the old hard drive does not support SMART, which can be seen smartctl -i / dev / hdb output from:
# / 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 'permissive'
Note that some of the hard disk controller does not support SMART. For example, some hardware RAID controller does not support or does not pass SMART information, even with the addition
HDD support SMART.
/etc/smartctl.conf Can modify the file so that only monitors smartd you want to monitor equipment. Assuming only / dev / hda needs to be monitored,
On the device if there is a warning message occurs, you need to send it to the root user, then the need for such /etc/smartd.conf Review:
# /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
...
Finished editing /etc/smartd.conf, restart the daemon:
# / Sbin / service smartd restart
Shutting down smartd: [FAILED]
Starting smartd: [OK]
To set smartd be activated at boot time, under the root user with chkconfig smartd on command.
Close smartd service starts automatically
root LINUX smartd is a daemon that monitors the Self-Monitoring, Analysis and Reporting
Technology (SMART) system built
into many ATA-3 and later ATA, IDE and SCSI-3 hard drives. The purpose of SMART is to
monitor the reliability
of the hard drive and predict drive failures, and to carry out different types of
drive self-tests. This
version of smartd is compatible with ATA / ATAPI-7 and earlier standards
Simply put, smartd is hard to monitor and predict the reliability of its failure, a daemon perform testing!
A closer look smartd instructions can! (Man smartd)
#chkconfig smartd off
This is close smartd service starts automatically when the machine is restarted smartd not run! |
|
|
|