LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 705|回复: 7

关于Load_Cycle_Count

[复制链接]
发表于 2010-11-1 01:24:40 | 显示全部楼层 |阅读模式
while true; do smartctl -a /dev/sda | grep 193; sleep 30; done;
通过这个命令查看发现大概每分钟两次。 正常吗?
我启用了laptop-mode . 在laptop mode 设置中设置了:

  1. #
  2. # Power management for HD (hdparm -B values)
  3. #
  4. BATT_HD_POWERMGMT=254
  5. LM_AC_HD_POWERMGMT=254
  6. NOLM_AC_HD_POWERMGMT=254

复制代码


按说设成254硬盘应该不停的.

irc上有人说: spinning up and down is not necessarily related to load cycle count

大家的这个数值是多少?谢谢
发表于 2010-11-1 05:40:23 | 显示全部楼层
254不行,试一下255那是我试的值,我正在把笔记本当家用服务器。
anyway,最好去硬盘厂商那里看一下说明。
回复 支持 反对

使用道具 举报

发表于 2010-11-1 13:37:57 | 显示全部楼层
以前也关注和折腾这个问题。现在不管了。。。
回复 支持 反对

使用道具 举报

发表于 2010-11-1 18:30:24 | 显示全部楼层
  1. # cat /etc/conf.d/hdparm
  2. # /etc/conf.d/hdparm: config file for /etc/init.d/hdparm

  3. #
  4. # Note that options such as -y which force *immediate* power saving options
  5. # should generally not be placed here.  The hdparm init.d script may run at
  6. # anytime with respect to other init.d scripts that do system wide drive
  7. # scans (like the hald script), so they will merely get spun right back up.
  8. # If you wish to use these options, please use the local.start init.d script
  9. # instead so that you're guaranteed that it will run last.
  10. #

  11. # You can either set hdparm arguments for each drive using hdX_args,
  12. # discX_args, cdromX_args and genericX_args, e.g.
  13. #
  14. # hda_args="-d1 -X66"
  15. # disc1_args="-d1"
  16. # cdrom0_args="-d1"

  17. # or you can set options for all PATA drives
  18. pata_all_args="-d1"

  19. # or you can set options for all SATA drives
  20. sata_all_args=""

  21. # or, you can set hdparm options for all drives
  22. all_args="-B255 -M128"
复制代码


如此設置之後,wd硬盤那個不斷增加的值就很正常了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-11-1 21:18:52 | 显示全部楼层
Post by zxuan;2118057
  1. # cat /etc/conf.d/hdparm
  2. # /etc/conf.d/hdparm: config file for /etc/init.d/hdparm

  3. #
  4. # Note that options such as -y which force *immediate* power saving options
  5. # should generally not be placed here.  The hdparm init.d script may run at
  6. # anytime with respect to other init.d scripts that do system wide drive
  7. # scans (like the hald script), so they will merely get spun right back up.
  8. # If you wish to use these options, please use the local.start init.d script
  9. # instead so that you're guaranteed that it will run last.
  10. #

  11. # You can either set hdparm arguments for each drive using hdX_args,
  12. # discX_args, cdromX_args and genericX_args, e.g.
  13. #
  14. # hda_args="-d1 -X66"
  15. # disc1_args="-d1"
  16. # cdrom0_args="-d1"

  17. # or you can set options for all PATA drives
  18. pata_all_args="-d1"

  19. # or you can set options for all SATA drives
  20. sata_all_args=""

  21. # or, you can set hdparm options for all drives
  22. all_args="-B255 -M128"
复制代码


如此設置之後,wd硬盤那個不斷增加的值就很正常了。


那么我需要/etc/init.d/hdparm start 吧 ? 谢谢
回复 支持 反对

使用道具 举报

发表于 2010-11-1 21:41:52 | 显示全部楼层
Post by waterloo2005;2118068
那么我需要/etc/init.d/hdparm start 吧 ? 谢谢

答案是。其实不要太不这个值的事情放在心上。
回复 支持 反对

使用道具 举报

发表于 2010-11-2 10:19:27 | 显示全部楼层
多少年的伪科学了,怎么还有人关注……
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-11-2 10:50:20 | 显示全部楼层
Post by yafeng;2118107
多少年的伪科学了,怎么还有人关注……


难道这个不影响硬盘寿命吗?谢谢
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表