Показать сообщение отдельно
Старый 16.04.2008, 23:12   #3   
Форумец
 
Сообщений: 4,909
Регистрация: 08.04.2003
Возраст: 42

zic вне форума Не в сети
An old problem with Ubuntu that can lead to HDD failure.
There has been lotsa complains from Linux-users concerning the extensive use of their HDDs due to the default configuration of the subsystem power management ACPI script in Ubuntu. There is also a lot of messages about this bug #59695 which has been known for about a year already. The problem is: this shell-script (/etc/acpi/power.sh) when switching to battery power management (actual for laptops) executes the command «hdparm -B 1» for all devices. In this mode HDD goes into standby 7,000 times per every 100 hours. All this leads to HDD failure. As a workaround users are suggested to create a shell-script «99-hdd-spin-fix.sh», with a line «hdparm -B 255 /dev/sda» and copy it to: /etc/acpi/suspend.d/, /etc/acpi/resume.d/ and /etc/acpi/start.d/. There is also an alternative workaround: install laptop-mode-tools packet and configure the file /etc/laptop-mode/laptop-mode.conf having specified CONTROL_HD_POWERMGMT=1.
  Ответить с цитированием