Ubuntu system damages the hard drive of the laptop

Source: Internet
Author: User
CnBeta recently reported a problem that damages the hard drive of the laptop in Ubuntu. The consequence of this Bug is that the number of Load/UnloadCycle operations on the hard disk increases abnormally. The initial report was 23 times per minute. Generally, a hard disk is designed to be able to withstand 600000 times. This will undoubtedly reduce the hard drive life. How to verify the Load/UnloadCycle count: Run sudosmartctl-a $ HDD in the terminal under Ubuntu | grepLoa

CnBeta recently reported a problem that damages the hard drive of the laptop in Ubuntu. The consequence of this Bug is that the number of loading/unloading Cycle operations on the hard disk increases abnormally. The initial report was 23 times per minute. Generally, a hard disk is designed to be able to withstand 600000 times. This will undoubtedly reduce the hard drive life.

Method for verifying the Load/Unload Cycle count:

Under Ubuntu:

Run sudo smartctl-a $ HDD | grep Load_Cycle_Count on the terminal

(Install the smartmontools package first. Enable the hard disk SMART monitoring function: sudo smartctl-s on $ HDD)

/****** Change "& HDD" to "/dev/sda "*******/

Windows:

Run Everest or other detection software to view the SMART Information of the hard disk, including the Load/Unload Cycle count.

If the Count grows fast, you will be lucky.

According to replies from the community, this problem is common, with the highest number of reports reported by Dell migration and IBM/Lenovo Thinkpad.

I have different opinions on the cause of this problem. The following Opinion prevails: the built-in parameters for automatically entering the low consumption state of the notebook hard drive are too strict, resulting in frequent Load/Unload. Ubuntu does not change the built-in parameters by default, while other systems ignore or do not use the hard disk function, which protects the hard disk life. It is also believed that Ubuntu sends commands to hard disks too frequently to reduce the energy consumption level. This issue involves hardware vendors and operating systems.

For the sake of your hard disk and valuable data, let's take a look at the solution:

Method 1 (this method is effective after testing ):

Create a file named "99-hdd-spin-fix.sh" and write the following two lines (for SATA hard drive ):

#! /Bin/sh

Hdparm-B 254/dev/sda

Copy the file to the following three locations:

/Etc/acpi/suspend. d/

/Etc/acpi/resume. d/

/Etc/acpi/start. d/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.