* [Comm] Противно щёлкает sda
@ 2009-05-25 17:04 Anton Chaykin
2009-05-25 17:24 ` Slava Dubrovskiy
` (2 more replies)
0 siblings, 3 replies; 13+ messages in thread
From: Anton Chaykin @ 2009-05-25 17:04 UTC (permalink / raw)
To: community
[-- Attachment #1: Type: text/plain, Size: 645 bytes --]
Не могу найти скрипт, который при загрузке, суспенде и слипе выставляет
параметры hdparm
Ps.: Мне надо hdparm -B 254, а то моему sda через год придёт ппц.
Хотя это чисто моё субьективное мнение.
А что Вы думаете по этому поводу?
Плюс конечно есть, когда я свой выкидыш ноутбука трясти буду :D
--
#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 --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Comm] Противно щёлкает sda
2009-05-25 17:04 [Comm] Противно щёлкает sda Anton Chaykin
@ 2009-05-25 17:24 ` Slava Dubrovskiy
2009-05-25 17:40 ` Anton Chaykin
2009-05-25 18:17 ` Anton Chaykin
2009-05-26 20:17 ` Michael Shigorin
2 siblings, 1 reply; 13+ messages in thread
From: Slava Dubrovskiy @ 2009-05-25 17:24 UTC (permalink / raw)
To: ALT Linux Community general discussions
[-- Attachment #1: Type: text/plain, Size: 1077 bytes --]
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, то было бы хорошо.
--
WBR,
Dubrovskiy Vyacheslav
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 3262 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Comm] Противно щёлкает sda
2009-05-25 17:24 ` Slava Dubrovskiy
@ 2009-05-25 17:40 ` Anton Chaykin
0 siblings, 0 replies; 13+ messages in thread
From: Anton Chaykin @ 2009-05-25 17:40 UTC (permalink / raw)
To: slava, ALT Linux Community general discussions
[-- 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 --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Comm] Противно щёлкает sda
2009-05-25 17:04 [Comm] Противно щёлкает sda Anton Chaykin
2009-05-25 17:24 ` Slava Dubrovskiy
@ 2009-05-25 18:17 ` Anton Chaykin
2009-05-26 20:17 ` Michael Shigorin
2 siblings, 0 replies; 13+ messages in thread
From: Anton Chaykin @ 2009-05-25 18:17 UTC (permalink / raw)
To: ALT Linux Community general discussions
[-- Attachment #1: Type: text/plain, Size: 957 bytes --]
On Tuesday 26 May 2009 00:04:21 Anton Chaykin wrote:
> Не могу найти скрипт, который при загрузке, суспенде и слипе выставляет
> параметры hdparm
>
> Ps.: Мне надо hdparm -B 254, а то моему sda через год придёт ппц.
> Хотя это чисто моё субьективное мнение.
>
> А что Вы думаете по этому поводу?
>
> Плюс конечно есть, когда я свой выкидыш ноутбука трясти буду :D
Теперь не мотает, сделал
install 99-hd.sh
Со следующим содержанием:
#!/bin/sh
hdparm -B 254 /dev/sda
hdparm -S 0 /dev/sda
во все подпапки /etc/pm
Теперь всё в норме :)
--
#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 --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Comm] Противно щёлкает sda
2009-05-25 17:04 [Comm] Противно щёлкает sda Anton Chaykin
2009-05-25 17:24 ` Slava Dubrovskiy
2009-05-25 18:17 ` Anton Chaykin
@ 2009-05-26 20:17 ` Michael Shigorin
2009-05-26 20:19 ` Anton Farygin
2009-05-27 4:07 ` alisher
2 siblings, 2 replies; 13+ messages in thread
From: Michael Shigorin @ 2009-05-26 20:17 UTC (permalink / raw)
To: community
On Tue, May 26, 2009 at 12:04:21AM +0700, Anton Chaykin wrote:
> Не могу найти скрипт, который при загрузке, суспенде и слипе
> выставляет параметры hdparm
> Ps.: Мне надо hdparm -B 254, а то моему sda через год придёт
> ппц. Хотя это чисто моё субьективное мнение.
Найдёте -- и мне свистните, pls. Запакуем его.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Comm] Противно щёлкает sda
2009-05-26 20:17 ` Michael Shigorin
@ 2009-05-26 20:19 ` Anton Farygin
2009-05-27 12:30 ` Slava Dubrovskiy
2009-05-27 4:07 ` alisher
1 sibling, 1 reply; 13+ messages in thread
From: Anton Farygin @ 2009-05-26 20:19 UTC (permalink / raw)
To: community
Michael Shigorin пишет:
> On Tue, May 26, 2009 at 12:04:21AM +0700, Anton Chaykin wrote:
>> Не могу найти скрипт, который при загрузке, суспенде и слипе
>> выставляет параметры hdparm
>> Ps.: Мне надо hdparm -B 254, а то моему sda через год придёт
>> ппц. Хотя это чисто моё субьективное мнение.
>
> Найдёте -- и мне свистните, pls. Запакуем его.
# rpm -qf /etc/rc.d/scripts/idetune
startup-0.9.8.21-alt1
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Comm] Противно щёлкает sda
2009-05-26 20:19 ` Anton Farygin
@ 2009-05-27 12:30 ` Slava Dubrovskiy
2009-05-27 12:32 ` Anton Farygin
0 siblings, 1 reply; 13+ messages in thread
From: Slava Dubrovskiy @ 2009-05-27 12:30 UTC (permalink / raw)
To: ALT Linux Community general discussions
[-- Attachment #1: Type: text/plain, Size: 744 bytes --]
On 26.05.2009 23:19, Anton Farygin wrote:
> Michael Shigorin пишет:
>> On Tue, May 26, 2009 at 12:04:21AM +0700, Anton Chaykin wrote:
>>> Не могу найти скрипт, который при загрузке, суспенде и слипе
>>> выставляет параметры hdparm
>>> Ps.: Мне надо hdparm -B 254, а то моему sda через год придёт
>>> ппц. Хотя это чисто моё субьективное мнение.
>>
>> Найдёте -- и мне свистните, pls. Запакуем его.
>
>
> # rpm -qf /etc/rc.d/scripts/idetune
> startup-0.9.8.21-alt1
idetune не настраивает sda
Кстати повод для FR.
--
WBR,
Dubrovskiy Vyacheslav
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 3262 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Comm] Противно щёлкает sda
2009-05-27 12:30 ` Slava Dubrovskiy
@ 2009-05-27 12:32 ` Anton Farygin
2009-05-27 12:44 ` Slava Dubrovskiy
0 siblings, 1 reply; 13+ messages in thread
From: Anton Farygin @ 2009-05-27 12:32 UTC (permalink / raw)
To: community
Slava Dubrovskiy пишет:
> On 26.05.2009 23:19, Anton Farygin wrote:
>> Michael Shigorin пишет:
>>> On Tue, May 26, 2009 at 12:04:21AM +0700, Anton Chaykin wrote:
>>>> Не могу найти скрипт, который при загрузке, суспенде и слипе
>>>> выставляет параметры hdparm
>>>> Ps.: Мне надо hdparm -B 254, а то моему sda через год придёт
>>>> ппц. Хотя это чисто моё субьективное мнение.
>>>
>>> Найдёте -- и мне свистните, pls. Запакуем его.
>>
>>
>> # rpm -qf /etc/rc.d/scripts/idetune
>> startup-0.9.8.21-alt1
> idetune не настраивает sda
>
> Кстати повод для FR.
Безусловно, с учётом того, что сейчас нет разделения ide/sata/scsi у s*
или h* дисков.
Занесите в bugzilla, пожалуйста.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Comm] Противно щёлкает sda
2009-05-26 20:17 ` Michael Shigorin
2009-05-26 20:19 ` Anton Farygin
@ 2009-05-27 4:07 ` alisher
2009-05-27 8:06 ` Anton Chaykin
1 sibling, 1 reply; 13+ messages in thread
From: alisher @ 2009-05-27 4:07 UTC (permalink / raw)
To: ALT Linux Community general discussions
Michael Shigorin пишет:
> On Tue, May 26, 2009 at 12:04:21AM +0700, Anton Chaykin wrote:
>
>> Не могу найти скрипт, который при загрузке, суспенде и слипе
>> выставляет параметры hdparm
>> Ps.: Мне надо hdparm -B 254, а то моему sda через год придёт
>> ппц. Хотя это чисто моё субьективное мнение.
>>
>
> Найдёте -- и мне свистните, pls. Запакуем его.
>
>
Если не секрет, что дает этот параметр? Общий смысл понял, но значение
цифр нет.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Comm] Противно щёлкает sda
2009-05-27 4:07 ` alisher
@ 2009-05-27 8:06 ` Anton Chaykin
2009-05-27 9:11 ` alisher
0 siblings, 1 reply; 13+ messages in thread
From: Anton Chaykin @ 2009-05-27 8:06 UTC (permalink / raw)
To: ALT Linux Community general discussions
[-- Attachment #1: Type: text/plain, Size: 1112 bytes --]
On Wednesday 27 May 2009 11:07:44 alisher wrote:
> Michael Shigorin пишет:
> > On Tue, May 26, 2009 at 12:04:21AM +0700, Anton Chaykin wrote:
> >> Не могу найти скрипт, который при загрузке, суспенде и слипе
> >> выставляет параметры hdparm
> >> Ps.: Мне надо hdparm -B 254, а то моему sda через год придёт
> >> ппц. Хотя это чисто моё субьективное мнение.
> >
> > Найдёте -- и мне свистните, pls. Запакуем его.
>
> Если не секрет, что дает этот параметр? Общий смысл понял, но значение
> цифр нет.
Цифры определяют режим парковки, то-бишь время через которое головки твоего
диска будут парковаться при его простое aka неиспользовании --> Изменяет
частоту парковки головок.
В энергосберегающих(когда_хочется_работать_подольше) или при
тряске(я_всегда_беру с собой_...) это впринципе в разумных количествах
актуально.
Тем не менее это дополнительная нагрузка на диск, которая теоритически может
ускорить его износ. Как показала практика иногда ~600 000 хватает.
--
#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 --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Comm] Противно щёлкает sda
2009-05-27 8:06 ` Anton Chaykin
@ 2009-05-27 9:11 ` alisher
2009-05-27 13:11 ` Anton Chaykin
0 siblings, 1 reply; 13+ messages in thread
From: alisher @ 2009-05-27 9:11 UTC (permalink / raw)
To: ALT Linux Community general discussions
Anton Chaykin пишет:
> On Wednesday 27 May 2009 11:07:44 alisher wrote:
>
>> Michael Shigorin пишет:
>>
>>> On Tue, May 26, 2009 at 12:04:21AM +0700, Anton Chaykin wrote:
>>>
>>>> Не могу найти скрипт, который при загрузке, суспенде и слипе
>>>> выставляет параметры hdparm
>>>> Ps.: Мне надо hdparm -B 254, а то моему sda через год придёт
>>>> ппц. Хотя это чисто моё субьективное мнение.
>>>>
>>> Найдёте -- и мне свистните, pls. Запакуем его.
>>>
>> Если не секрет, что дает этот параметр? Общий смысл понял, но значение
>> цифр нет.
>>
>
>
> Цифры определяют режим парковки, то-бишь время через которое головки твоего
> диска будут парковаться при его простое aka неиспользовании --> Изменяет
> частоту парковки головок.
> В энергосберегающих(когда_хочется_работать_подольше) или при
> тряске(я_всегда_беру с собой_...) это впринципе в разумных количествах
> актуально.
> Тем не менее это дополнительная нагрузка на диск, которая теоритически может
> ускорить его износ. Как показала практика иногда ~600 000 хватает.
Если я правильно понял, то 254 это наибольшее время? Просто у меня
домашний ПК, может тоже так поставить?
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Comm] Противно щёлкает sda
2009-05-27 9:11 ` alisher
@ 2009-05-27 13:11 ` Anton Chaykin
0 siblings, 0 replies; 13+ messages in thread
From: Anton Chaykin @ 2009-05-27 13:11 UTC (permalink / raw)
To: ALT Linux Community general discussions
[-- Attachment #1: Type: text/plain, Size: 1555 bytes --]
On Wednesday 27 May 2009 16:11:54 alisher wrote:
> Anton Chaykin пишет:
> > On Wednesday 27 May 2009 11:07:44 alisher wrote:
> >> Michael Shigorin пишет:
> >>> On Tue, May 26, 2009 at 12:04:21AM +0700, Anton Chaykin wrote:
> >>>> Не могу найти скрипт, который при загрузке, суспенде и слипе
> >>>> выставляет параметры hdparm
> >>>> Ps.: Мне надо hdparm -B 254, а то моему sda через год придёт
> >>>> ппц. Хотя это чисто моё субьективное мнение.
> >>>
> >>> Найдёте -- и мне свистните, pls. Запакуем его.
> >>
> >> Если не секрет, что дает этот параметр? Общий смысл понял, но значение
> >> цифр нет.
> >
> > Цифры определяют режим парковки, то-бишь время через которое головки
> > твоего диска будут парковаться при его простое aka неиспользовании -->
> > Изменяет частоту парковки головок.
> > В энергосберегающих(когда_хочется_работать_подольше) или при
> > тряске(я_всегда_беру с собой_...) это впринципе в разумных количествах
> > актуально.
> > Тем не менее это дополнительная нагрузка на диск, которая теоритически
> > может ускорить его износ. Как показала практика иногда ~600 000 хватает.
>
> Если я правильно понял, то 254 это наибольшее время? Просто у меня
> домашний ПК, может тоже так поставить?
> _______________________________________________
> community mailing list
> community@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/community
Да, Ты прав. Поставь, хуже не будет :)
--
#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 --]
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2009-05-27 13:11 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-25 17:04 [Comm] Противно щёлкает sda Anton Chaykin
2009-05-25 17:24 ` Slava Dubrovskiy
2009-05-25 17:40 ` Anton Chaykin
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
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