И ЯННП. Вот эта цифра 17084 - это нормально или нет? Где-то встречал 17, где-то 421, а тут такое. Погуглил - нашел hdparm, но оказывается что-то менять оч опасно. Боюсь стать ССЗБ. И в то же время хочется настроить свой жесткий диск, настроить энергосбережние. Как таковых мануалов нет.
Прошу помощи у гуру с настройкой жд и с работой hdparam.
ЗЫ: файла /etc/hdparm.conf у себя не обнаружил. Pinkbyte, а как ты бережешь свой жесткий диск?
Все в этой жизни крайне опасно, нужно смириться и с трезвой головой пробовать
Число парковок нереально бешеное, похоже что включен APM. Проверить это можно командой
hdparm -B /dev/sda
Если число меньше 255, значит оно включено.
Отключается через
hdparm -B 255 /dev/sda
прочитал рукокнигу https://wiki.gentoo.org/wiki/Hdparm Я как понял, что файл /etc/hdparm.conf вовсе не нужен. Есть для всех настроек /etc/conf.d/hdparm. Не могу немного разобраться с синтаксисом и с тем что куда записывать, какие опции куда, в файле немного по другому чем в /etc/hdparm.conf.
# /etc/conf.d/hdparm: config file for /etc/init.d/hdparm
#
# Note that options such as -y which force *immediate* power saving options
# should generally not be placed here. The hdparm init.d script may run at
# anytime with respect to other init.d scripts that do system wide drive
# scans (like the hald script), so they will merely get spun right back up.
# If you wish to use these options, please use the local.start init.d script
# instead so that you're guaranteed that it will run last.
#
# You can either set hdparm arguments for each drive using hdX_args,
# discX_args, cdromX_args and genericX_args, e.g.
#
# hda_args="-d1 -X66"
# disc1_args="-d1"
# cdrom0_args="-d1"
# or you can set options for all PATA drives
pata_all_args="-d1"
# or you can set options for all SATA drives
sata_all_args=""
# or, you can set hdparm options for all drives
all_args=""
Насколько я понял
hdparm -S0 /dev/sda отключает standby amiwrite. Файл настройки находится в /etc/conf.d/hdparm, вопрос в том куда вписать сию опцию и с каким синтаксисом. Привожу файл:
# /etc/conf.d/hdparm: config file for /etc/init.d/hdparm
#
# Note that options such as -y which force *immediate* power saving options
# should generally not be placed here. The hdparm init.d script may run at
# anytime with respect to other init.d scripts that do system wide drive
# scans (like the hald script), so they will merely get spun right back up.
# If you wish to use these options, please use the local.start init.d script
# instead so that you're guaranteed that it will run last.
#
# You can either set hdparm arguments for each drive using hdX_args,
# discX_args, cdromX_args and genericX_args, e.g.
#
# hda_args="-d1 -X66"
# disc1_args="-d1"
# cdrom0_args="-d1"
# or you can set options for all PATA drives
pata_all_args="-d1"
# or you can set options for all SATA drives
sata_all_args=""
# or, you can set hdparm options for all drives
all_args=""
И да, применяются настройки не к разделам, а именно к дискам.
С параметром -B это прошло sudo hdparm /dev/sda1, а вот с остальным хоть с разделом, хоть со всем диском результат один и тот же. Погугли, это какой-то косяк. Или нет?
Вс авг 30_07:27 $cat /etc/conf.d/hdparm
# /etc/conf.d/hdparm: config file for /etc/init.d/hdparm
#
# Note that options such as -y which force *immediate* power saving options
# should generally not be placed here. The hdparm init.d script may run at
# anytime with respect to other init.d scripts that do system wide drive
# scans (like the hald script), so they will merely get spun right back up.
# If you wish to use these options, please use the local.start init.d script
# instead so that you're guaranteed that it will run last.
#
# You can either set hdparm arguments for each drive using hdX_args,
# discX_args, cdromX_args and genericX_args, e.g.
#
# hda_args="-d1 -X66"
# disc1_args="-d1"
# cdrom0_args="-d1"
# or you can set options for all PATA drives
pata_all_args="-d1"
# or you can set options for all SATA drives
sata_all_args="-M 254"
# or, you can set hdparm options for all drives
all_args=""