After a long period of study, the official version of Linux has been released. Next we will talk about Linux shutdown or sleep. When Linux is shut down or sleep, the hard disk sounds like the hard disk sound when windows is suddenly powered off. Linux has all the features of a modern, fully functional UNIX system, including real multitasking, virtual memory, shared libraries, excellent memory management, and TCP/IP network support.
Both fedora core and ubuntu exist, while windows is normal, so it is basically because of Linux shutdown or sleep system, resulting in abnormal hard disk power management. It seems that this will seriously scratch the hard disk, the hard disk is still relatively expensive, less suffering as well.
Linux shutdown or sleep refer to other people's solutions to solve the problem:
1. New File "/etc/rc0.d/S00hdd-shutdown-workaround" content:
#! /Bin/sh echo 1>/sys/class/scsi_disk/0 \: 0 \: 0 \: 0/stop_on_shutdown
Note: "/sys/class/scsi_disk" may contain directories similar to "0 \: 0 \: 0 \: 0, view your "/sys/class/scsi_disk/a \: B \: c \: d/device/model" file, determine which one corresponds to your hard disk (usually 0 \: 0 \: 0 \: 0 ).
2, chmod + x S00hdd-shutdown-workaround at this time shutdown abnormal sound has been resolved
3. Shut down or sleep Linux and cp the file to "/ect/init. d/hdd-shutdown-workaround"
4. Establish a connection
# Ln-s/etc/init. d/hdd-shutdown-workaround/etc/rcS. d/S99hdd-shutdown-workaround of course, you need to first su get permissions at this time shutdown and sleep and so on in the case of Hard Disk power cut off normal, Linux shutdown or sleep no longer have abnormal sound.
- Easily complete Linux burn CD-ROM Data CD
- In-depth analysis on safe installation of Fedora linux Desktop
- Parse OPENVZ configuration knowledge in Linux
- Describes how to install a wireless NIC Driver in Linux.
- How to install the Linux source code package