Home IT Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Linux hard drive failure Case Studies     - C ++ copy constructor (Programming)

- LaTeX Getting Started Tutorial (Linux)

- Analysis of Java exception (Programming)

- Getting Started with Linux system to learn: How do I know which processes are running on the CPU core (Linux)

- HomeKit Human Interface Guidelines (Linux)

- Share Java-based multithreading file case (Programming)

- Hadoop 2.6.0 stand-alone / pseudo-distributed installation (Server)

- Installation Elementary OS Freya to do some settings (Linux)

- Nine trick to let you speed up the old machine running Ubuntu Linux (Linux)

- Linux system firewall defense network attacks (Linux)

- Ubuntu install Liferea news subscription software (Linux)

- Fedora 22 install Adobe Flash Player (Linux)

- Linux supports serial output method (Linux)

- VMware difference in three network connection (Linux)

- Use Python automatically cleared Android Engineering excess resources (Programming)

- Ubuntu How to install Pacman (Linux)

- Python2 ---- function using dictionaries (Programming)

- Oracle 10g after the failure to start the upgrade (Oracle instance terminated. Disconnection forced) (Database)

- Oracle Enterprise Linux 64-bit install apache-tomcat-7.0.53 step (Server)

- React Native (Programming)

  Linux hard drive failure Case Studies
  Add Date : 2017-01-08      
  Specific log and corresponding fix this paper to share under the Linux server hard disk after the failure of / var / log / messages and / var / log / mcelog will appear, along with the growing number of cases and the rich, and finally I will generalize formed automated scripts.

Of course, have a lot of hard physical bad sectors, need to be replaced, this will need to replace the hard disk supplier, beyond the scope here.

Server models:

HP SE1170s

Hard drive models:


Fault 1:

Jul 17 00:46:34 xxxxxxxxxxxxxx kernel: [8384801.159283] EXT4-fs (sdl1): warning: mounting fs with errors, running e2fsck is recommended

Jul 17 00:50:00 xxxxxxxxxxxxxx kernel: [8385006.016500] sd 6: 0: 6: 0: [sdl] Sense Key: Medium Error [current]

Jul 17 00:50:00 xxxxxxxxxxxxxx kernel: [8385006.016508] sd 6: 0: 6: 0: [sdl] Add Sense:. Unrecovered read error

Jul 17 00:50:00 xxxxxxxxxxxxxx kernel: [8385006.016524] Buffer I / O error on device sdl1, logical block 1415594116

Jul 17 00:50:00 xxxxxxxxxxxxxx kernel: [8385006.095561] Buffer I / O error on device sdl1, logical block 1415594117


# E2fsck / dev / sdl1

If the bad block can not be repaired, you need to format the hard disk using fdisk:

#fdisk / dev / sdl







With the ext4 file system to format the disk:

# Mkfs.ext4 / dev / sdl1

The formatted hard disk mount back:

#mount -L / Hadoop07 / hadoop / 7 -t ext4 -o defaults, noatime, nodiratime, noauto

If after a few days found that / var / log / messages which have the latest / dev / sdl error log, it means that the hard drive needs to be replaced, then you can cut out the first piece of disc hanging in the directory read and write function, before you can first copy the data inside out:

#chmod 0 / hadoop07
- In-depth understanding of PHP ini configuration (Server)
- Upgrade to Linux Mint 16 petra Mint 17 Qiana (Linux)
- CentOS 7.0 running Docker kernel error solution (Server)
- MySQL simple operation notes under Linux (Database)
- SQL Beginner Guide (Database)
- Let CentOS perform PPPoE dial-up, ADSL can be used in a network environment! (Linux)
- Nagios plugin installation tutorial of Nrpe (Linux)
- Migu online music player for Linux (Linux)
- OpenGL ES 3.0 vertex buffer (Programming)
- Python image processing library (PIL) to install and simple to use (Linux)
- Talk about jsonp (Programming)
- Using a proxy method under Linux terminal (Linux)
- Oracle ORA-01089 failure analysis (Database)
- N1QL bring SQL-like query NoSQL database experience (Database)
- MySQL 5.7.9 source compiler installation instructions (Database)
- OpenResty load balancing MySQL (Database)
- Java semaphores (Programming)
- Python KNN algorithm of actual realization (Programming)
- Virtual Judge environment to build and configure under Ubuntu (Server)
- Linux Shell Scripting Interview Question (Linux)
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.