ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Anton Chaykin <ant00n@mail.ru>
To: slava@tangramltd.com,
	ALT Linux Community general discussions
	<community@lists.altlinux.org>
Subject: Re: [Comm] Противно щёлкает sda
Date: Tue, 26 May 2009 00:40:56 +0700
Message-ID: <200905260041.00060.ant00n@mail.ru> (raw)
In-Reply-To: <4A1AD431.6000208@tangramltd.com>

[-- Attachment #1: Type: text/plain, Size: 1605 bytes --]

On Tuesday 26 May 2009 00:24:01 Slava Dubrovskiy wrote:
> On 25.05.2009 20:04, Anton Chaykin wrote:
> > Не могу найти скрипт, который при загрузке, суспенде и слипе выставляет
> > параметры hdparm
> >
> > Ps.: Мне надо hdparm -B 254, а то моему sda через год придёт ппц.
> > Хотя это чисто моё субьективное мнение.
>
> Такого скрипта нет. Такую функцию мог бы выполнять
> /etc/rc.d/scripts/idetune , но он только для IDE.
> Поэтому выход - данную команду (hdparm -B 254) записать в rc.local, но
> при суспенде, слипе она не будет отрабатывать.
>
> Тут уже нужно шаманить с pm-utils. Там есть хуки (скрипты) которые
> запускаются при суспенде и слипе. Вот если сделать такой хук, который бы
> дергал hdparm -B 254, то было бы хорошо.

[root@### ~]# smartctl -d ata -a /dev/sda | grep Load_Cycle
193 Load_Cycle_Count        0x0032   185   185   000    Old_age   
Always       -       47993
[root@### ~]# smartctl -d ata -a /dev/sda | grep Load_Cycle
193 Load_Cycle_Count        0x0032   184   184   000    Old_age   
Always       -       48006


Гыг через 2 минуты )

-- 
#Jabber: metalgizmo@jabber.ru
#ICQ:    388767565             
With best regards, Anton Chaykin.  
Novosibirsk, Russia               



[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2009-05-25 17:40 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-25 17:04 Anton Chaykin
2009-05-25 17:24 ` Slava Dubrovskiy
2009-05-25 17:40   ` Anton Chaykin [this message]
2009-05-25 18:17 ` Anton Chaykin
2009-05-26 20:17 ` Michael Shigorin
2009-05-26 20:19   ` Anton Farygin
2009-05-27 12:30     ` Slava Dubrovskiy
2009-05-27 12:32       ` Anton Farygin
2009-05-27 12:44         ` Slava Dubrovskiy
2009-05-27  4:07   ` alisher
2009-05-27  8:06     ` Anton Chaykin
2009-05-27  9:11       ` alisher
2009-05-27 13:11         ` Anton Chaykin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200905260041.00060.ant00n@mail.ru \
    --to=ant00n@mail.ru \
    --cc=community@lists.altlinux.org \
    --cc=slava@tangramltd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git