Solution to the abnormal sound during hard disk reading and writing in Ubuntu-Linux

Source: Internet
Author: User

I compared my desktop, but it does sound much better in Linux than in windows. Of course, reading and writing data in Windows is a little less.

After checking a lot of information, I finally found a command.

Hdparm


,It can set many parameters related to the hard disk, as well as the hard disk noise.

The command is described as follows:

Usage: hdparm [Options] [device] ..

Options:
-A get/set FS readahead
-A get/set the drive look-ahead flag (0/1)
-B get/set bus state (0 = OFF, 1 = on, 2 = tristate)
-B set advanced power management setting (1-255)
-C get/set ide 32-bit Io setting
-C check drive power mode status
-D get/set using_dma flag
-D enable/disable drive defect management
-E set CD/DVD drive speed
-F flush buffer cache for device on exit
-F flush drive write Cache
-G display drive Geometry
-H display terse usage information
-H read temperature from drive (Hitachi only)
-I display drive Identification
-I detailed/current information directly from drive
-K get/set keep_settings_over_reset flag (0/1)
-K Set drive keep_features_over_reset flag (0/1)
-L set drive doorlock (0/1) (removable harddisks only)
-M get/set acoustic Management (0-254,128: Quiet, 254: fast) "You can set the sound. This can be set in Linux. If you only use Windows, you will never know this.

-M get/set multiple sector count

... Omitted .........

 

 

Sudo hdparm-m128/dev/SDA

 

After the setting, the effect is obviously improved, and other parameters need to be studied ..

from this point of view, this sound can also be used to detect the read/write status of the hard disk, which is similar to the hard disk indicator.

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.