Linux system hard disk will have some bad sectors in the process of use, if the bad track occurs in the critical area of the system, it will damage the system files, and various errors occur. This article will introduce you, this article will teach you how to repair the Linux system hard disk failure.
Fault Tip:
Jul 17 00:46:34 xxxxxxxxxxxxxx kernel: [8384801.159283] EXT4-fs (sdl1): warning: mounting fs with errors, running e2fsck is recommended < Br>
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
1. If the bad block cannot be repaired, you need to format the hard disk with fdisk:
#fdisk /dev/sdl
#d
#n
#p
#Enter
#Enter
#w
2. Format the disk with the ext4 file system:
#mkfs.ext4 /dev/sdl1
3. Format The hard disk mount back:
#mount -L /Hadoop07 /hadoop/7 -t ext4 -o defaults,noatime,nodiratime,noauto
If you find /var/log in a few days /messages has the latest /dev/sdl error log, which indicates that this hard disk needs to be replaced. At this time, you can first disable the read and write function of the disk that is hung in the directory. Before that, you can put the data inside. Copy it out:
#chmod 0 /hadoop07
The above is the repair method for the failure of the Linux system hard disk. Of course, if it is a physical bad track, it is a problem with the hard disk itself, that is not Repaired in this way.
In the Linux system, if there is no relevant settings, then close a process, then he terminates, and
Be careful when installing OSD on a Linux system, because if an error occurs, the file system will b
Ubuntu 14.04 long-term support has come out, and many users cant wait to install it
Linux system, when using the virtual machine VirtualBox to install Windows 8.1, prompt 0x000000C4 er
Linux system how to re-mount var partition
How to identify Linux soft links and hard links
How to switch to fcitx input method in Ubuntu Sublime Text 2
Ubuntu/Mint can't add a solution for PPA source
How does Linux copy files to other users?
What should I do if there is an 807 error after Linux establishes a VPN?
What is the use of the Linux system pppsetup command?
Why does a Linux system have w permissions but cannot delete files?
What should I do if the syntax of the Linux Vi editing code is not colored?
Ubuntu system configuration Ruby On Rails development environment method
Why Windows 7 will automatically build 100M hidden partitions
How to automatically play slideshow when Win10 sets the lock screen
Commonly used shortcut keys in the Linux command line
Win10 wifi can't open the prompt, can't start the bearer network?
How many files can't be opened after NTFS partition to FAT32
Entry-level rack service assembly Baotong DIY service
Win10 system upgrade TH2 version of the sudden interruption of the solution
How to close the Win10 system preview version 10586 test mode?