Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Linux hard drive failure Case Studies     - Ubuntu15 core CLR (Server)

- Linux, modify / etc / profile file (Linux)

- Linux install Samba file sharing server (Server)

- Linux C programming and Shell Programming in the development of practical tools similarities summary (Programming)

- Linux modify environment variables method (Linux)

- Modern Objective-C syntax and new features (Programming)

- Linux System Getting Started Learning: From VirtualBox from the client host access NAT (Linux)

- Hive start being given: Found class jline.Terminal, but interface was expected (Database)

- Three easy open source firewall on the Linux platform (Linux)

- Android 4.2 compilation notes (Programming)

- MySQL performance comparison of large amounts of data storage (Database)

- Ubuntu achieve initialization iptables (Linux)

- Physical structure and process disk IO (Linux)

- Linux system server network security management tips (Linux)

- Linux operating system log system (Linux)

- After you change the GRUB boot disk partition repair (Linux)

- SecureCRT connect virtual machine Linux system (Ubuntu) (Linux)

- CentOS 6.6 running level (Linux)

- How to install Linux Kernel 4.0 On CentOS 7 system (Linux)

- Export error: ORA-04063: package body dmsys dbms dm model exp has error (Database)

 
         
  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:

MB2000EAZNL

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

Troubleshooting:

# E2fsck / dev / sdl1

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

#fdisk / dev / sdl

#d

#n

#p

#Enter

#Enter

#w

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
     
         
       
         
  More:      
 
- MySQL view (Database)
- Depth understanding of Python character set encoding (Programming)
- Bash code injection attacks through a special environment variable (Linux)
- How to interactively create a Docker container (Server)
- Lazarus for Raspbian installation (Linux)
- Oracle database NUMBER (x, y) data types (Database)
- Linux Shell Scripting (Programming)
- How wifi-linux AP signal strength detection (Linux)
- Linux operating process information (Linux)
- Nginx load balancing configuration (TCP proxy) (Server)
- Nmcli based network management command-line tool (Linux)
- 20 open source / commercial Linux server management control panel (Server)
- Sleuth Kit: used to analyze a disk image and restore files open source forensics tools (Linux)
- Servlet life cycle code examples (Programming)
- Zabbix monitoring platform to extract a single server graphical Python implementation of concurrent (Server)
- Read and write files efficiently from Apache Kafka (Server)
- Ubuntu Linux to create and increase the Swap partition tutorial (Linux)
- A brief introduction to some important Docker commands (Server)
- Android Fragment really fully resolve (Programming)
- To learn linux security (Linux)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.