Linux is reliable OS due to the data security features it offers. But due cause like unexpected shutdown, a Linux file system might get corrupted and prevent you from accessing the data. Whenever you open 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 manage with such problems, you might need to reinstall the OS. You should use your backup to restore the lost data or scan the hard disk using Linux data recovery software.
For an instance, whenever you try to boot a Linux based system, it fails and gives the same error:
"/dev/sda5: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY
(i.e., without -a or -p options)"
You cannot see the data stored on your hard disk after this error message occurs.
Boot time 'Unexpected Inconsistency' generally occurs due to file system defects. Your file system might be corrupted. Possible causes for such defects are:
Improper system shutdown. For major reasons a Linux system performs file system buffering in its memory. The data written to the buffer memory is updated on the hard drive usually in every 30 seconds. The Linux file system can get corrupted if 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.
Given 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 non availability of valid backup, you require 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.
0 comments:
Post a Comment