<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>23559</bug_id>
          
          <creation_ts>2010-05-31 15:23:04 +0400</creation_ts>
          <short_desc>Проблемы с парковкой на Western Digital Green Power</short_desc>
          <delta_ts>2013-07-19 17:53:57 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>cross-component</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>20861</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Vitaly Lipatov">lav</reporter>
          <assigned_to name="Nobody&apos;s working on this, feel free to take it">nobody</assigned_to>
          <cc>ldv</cc>
    
    <cc>mdevaev</cc>
    
    <cc>mike</cc>
          
          <qa_contact name="Dmitry V. Levin">ldv</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>109573</commentid>
    <comment_count>0</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2010-05-31 15:23:04 +0400</bug_when>
    <thetext>Выяснилась проблема с Load_Cycle_Count на «зелёных» дисках WD: у меня уже значение 17659 и увеличивается с каждой минутой.

http://bbs.archlinux.org/viewtopic.php?id=73573

http://kerneltrap.org/mailarchive/linux-kernel/2008/4/10/1396844


В статье написано, что уменьшение
# cat /proc/sys/vm/dirty_expire_centisecs /proc/sys/vm/dirty_writeback_centisecs
до значений 3000/500 решает проблему, но в системе как раз и стоит
3000
500
(так по умолчанию)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109843</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2010-06-12 13:07:03 +0400</bug_when>
    <thetext>Подтверждаю, и домашний WD15EARS сопротивляется:

# hdparm -B255 /dev/sdd
/dev/sdd:
 setting Advanced Power Management level to disabled
 HDIO_DRIVE_CMD failed: Input/output error

sysctl -w vm.dirty_expire_centisecs=2200, похоже, без разницы (досовой утилитой посмотреть/поднять время парковки удалённо без IPMI не умею).  О, вроде 700 (семь секунд) получше будет.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109845</commentid>
    <comment_count>2</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2010-06-12 19:53:51 +0400</bug_when>
    <thetext>(В ответ на комментарий №1)
...
&gt; sysctl -w vm.dirty_expire_centisecs=2200, похоже, без разницы (досовой утилитой
&gt; посмотреть/поднять время парковки удалённо без IPMI не умею).  О, вроде 700
&gt; (семь секунд) получше будет.

Дома (ядро 2.6.32) получилось, Load_Cycle_Count перестал увеличиваться при
# sysctl vm.dirty_expire_centisecs
vm.dirty_expire_centisecs = 700

На работе (2.6.27-ovz-smp-alt12) два одинаковых диска. Те же 700 centisecs.
/dev/sda всё равно увеличивает. /dev/sdb — перестал.

Что за чудеса...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109847</commentid>
    <comment_count>3</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2010-06-12 20:54:59 +0400</bug_when>
    <thetext>См. также bug # 20861</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109849</commentid>
    <comment_count>4</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2010-06-12 21:58:42 +0400</bug_when>
    <thetext>https://qa.mandriva.com/show_bug.cgi?id=58071

http://community.wdc.com/t5/Desktop/Green-Caviar-High-Load-Cycle-Cout-after-short-operation-time/td-p/15731</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>141676</commentid>
    <comment_count>5</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2013-07-19 17:52:57 +0400</bug_when>
    <thetext>Отправил в Сизиф и p7 и p6 пакет idle3-tools, который позволяет выключить парковку:

# idle3ctl -d /dev/sd?

Подробности здесь:
http://bugs.etersoft.ru/show_bug.cgi?id=9438</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>