Quantcast
Channel: Все публикации подряд на Хабре
Viewing all articles
Browse latest Browse all 117211

Системное администрирование / WD Green Caviar + Linux = убей свой диск!

$
0
0
Дошли руки разобраться, почему домашная файловая помойка тормозит, когда общается с новым винтом: периодический бэкап вызывает DoS всех файловых сервисов. Бился над включением AHCI+NCQ, а рано по утру заглянул в SMART к своему диску и обнаружил вот такое:

$ sudo smartctl -a /dev/sda | grep Load_Cycle_Count
193 Load_Cycle_Count 0x0032 158 158 000 Old_age Always - 127583


Раньше думал, что это счётчик интервалов активности винта. Зевая, полез в википедию:

Count of load/unload cycles into head landing zone position.
The typical lifetime rating for laptop (2.5-in) hard drives is 300,000 to 600,000 load cycles. Some laptop drives are programmed to unload the heads whenever there has not been any activity for about five seconds. Many Linux installations write to the file system a few times a minute in the background. As a result, there may be 100 or more load cycles per hour, and the load cycle rating may be exceeded in less than a year.


Чего?! У меня 127 тысяч раз произошла парковка головок? Зевота прекратилась.

Viewing all articles
Browse latest Browse all 117211

Trending Articles