1934pl

Jak rozwiązywać Nieoczekiwany Niespójność Błąd w Linuksie?

Translate: Polish German Russian

Linux is considered to be a reliable operating system due to the data security features it offers. But due to reasons like unexpected shutdown, a Linux filesystem might get corrupt and prevent you from accessing the data. When you turn on a Linux system, fsck runs if finds any errors on the disk. However, if boot-time fsck cannot perform the desired repair task, it returns errors. To cope up with such problems, you might need to reinstall the operating system. You should use your backup to restore the lost data or scan the hard disk using Linux Data Recovery software. For an instance, when you try to boot a Linux based system, it fails and gives the similar error: /dev/sda5: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY (i.e., without -a or -p options) You cannot access the data stored on your hard disk after this error message occurs. Cause Boot time 'Unexpected Inconsistency' generally occurs due to filesystem defects. Your filesystem might be corrupted. Possible causes for such defects are: Improper system shutdown. For performance reasons, a Linux system performs filesystem buffering in its memory. The data written to the buffer memory is updated on the hard drive usually in every 30 seconds. The Linux filesystem might get damaged if an unexpected shutdown takes place while the write process is still running. Faulty hardware: A damaged hard disk controller or disk itself can eventually corrupt a file system. Solution Below are the steps that you need to undertake to solve the existing issue: Use Linux Rescue CD or installation disk to boot the system Execute the following command while making sure that the affected disk is not mounted: e2fsck -f -c -y /dev/sda5 -f option checks the filesystem even if it is appearing consistent -c options check the disk for bad sectors -y option answers 'yes' to all the questions while making repair If e2fsck fails, you need to format the corrupted disk and reinstall Linux. Restore lost data from backup thereafter. While the unavailability of valid backup, you need to use Linux Recovery applications to search and restore the lost data. Linux Data Recovery tools employ high-end scanning algorithms and are competent to recover data in all set of conditions of logical crash. Stellar Phoenix Linux Data Recovery is a comprehensive data recovery utility that recovers and restores lost data from Ext2, Ext3 and ReiserFS filesystems. Designed to run safe scanning algorithms, this Linux Recovery tool provides options to restore data at safe location. The software is compatible with most of the Linux distributions.