<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[沧海一粟]]></title> 
<link>http://www.dzhope.com/index.php</link> 
<description><![CDATA[Web系统架构与服务器运维,php开发]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[沧海一粟]]></copyright>
<item>
<link>http://www.dzhope.com/post//</link>
<title><![CDATA[linux smartd启动失败]]></title> 
<author>jed &lt;jed521@163.com&gt;</author>
<category><![CDATA[服务器技术]]></category>
<pubDate>Thu, 09 Apr 2009 02:40:48 +0000</pubDate> 
<guid>http://www.dzhope.com/post//</guid> 
<description>
<![CDATA[ 
	smartd是一个守护进程（一个帮助程序），它能监视拥有自我监视，分析和汇报技术(Self-Monitoring, <br/><br/>Analysis, and Reporting Technology - SMART)的硬盘。 <br/><br/>SMART系统使得硬盘能监视并汇报自己的运行状况。它的一个重要特性是能够预测失败，使得系统管理员 <br/><br/>能避免数据丢失。 <br/><br/>smartd由kernel-utils包缺省安装。用命令 rpm -ql kernel-utils 可以列出kernel-utils包中的文件。 <br/><br/>smartd守护进程通常在系统启动的时候被开启，它的配置文件是/etc/smartd.conf。 <br/><br/>比如，假设有两个硬盘被安装，/dev/hda和/dev/hdb。一个是CD_ROM设备，另一个是硬盘。为了检测它们 <br/><br/>是否支持SMART，使用命令 smartctl -i /dev/hda 和 smartctl -i /dev/hdb： <br/><br/><br/># /usr/sbin/smartctl -i /dev/hda <br/>smartctl version 5.1-11 Copyright (C) 2002-3 Bruce Allen <br/>Home page is <a href="http://smartmontools.sourceforge.net/" target="_blank">http://smartmontools.sourceforge.net/</a> <br/><br/>=== START OF INFORMATION SECTION === <br/>Device Model: ST380011A <br/>Serial Number: 3JVB672N <br/>Firmware Version: 8.01 <br/>Device is: Not in smartctl database [for details use: -P showall] <br/>ATA Version is: 6 <br/>ATA Standard is: ATA/ATAPI-6 T13 1410D revision 2 <br/>Local Time is: Fri Aug 20 14:09:16 2004 EST <br/>SMART support is: Available - device has SMART capability. <br/>SMART support is: Enabled <br/><br/>”SMART support is: Available - device has SMART capability.“这行说明支持SMART。"SMART <br/><br/>support is: Enabled”这行说明SMART已经被打开。 <br/><br/>CD-ROM设备和旧式的硬盘不支持SMART，这可以从smartctl -i /dev/hdb的输出看出： <br/><br/># /usr/sbin/smartctl -i /dev/hdb <br/>smartctl version 5.1-11 Copyright (C) 2002-3 Bruce Allen <br/>Home page is <a href="http://smartmontools.sourceforge.net/" target="_blank">http://smartmontools.sourceforge.net/</a> <br/><br/>=== START OF INFORMATION SECTION === <br/>Device Model: LTN526D <br/>Serial Number: [No Information Found] <br/>Firmware Version: 9S03 <br/>Device is: Not in smartctl database [for details use: -P showall] <br/>ATA Version is: 1 <br/>ATA Standard is: Exact ATA specification draft version not indicated <br/>Local Time is: Fri Aug 20 14:24:43 2004 EST <br/>SMART is only available in ATA Version 3 Revision 3 or greater. <br/>We will try to proceed in spite of this. <br/>SMART support is: Unavailable - device lacks SMART capability. <br/>A mandatory SMART command has failed: exiting. To continue, use the -T <br/>option to set the tolerance level to 'permissive' <br/><br/>注意有些硬盘控制器不支持SMART。比如有些硬件RAID控制器不支持，或者不会传递SMART信息，即使加入 <br/><br/>的硬盘支持SMART。 <br/><br/>chkconfig --del smartd<br/><br/>在服务里面停掉smartd服务守护进程。这是一个硬盘是否有故障的监视进程，<br/><br/>shell# service smartd start<br/>启动 smartd： [失败]<br/><br/>shell# service smartd status<br/>smartd 已死，但是 subsys 被锁<br/><br/><br/>Tags - <a href="http://www.dzhope.com/tags/linux/" rel="tag">linux</a> , <a href="http://www.dzhope.com/tags/smartd/" rel="tag">smartd</a>
]]>
</description>
</item><item>
<link>http://www.dzhope.com/post//#blogcomment</link>
<title><![CDATA[[评论] linux smartd启动失败]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://www.dzhope.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>