Linux-based system, fsck after data loss data recovery program

I. Overview: linux-based system, the fsck data loss data recovery scheme
II solution

2.1 recovery process
2.1.1 inspection process
1, to detect whether a hardware problem, such as hardware failures, hardware processing switch
2, a read-only whether the failure to detect the same performance and user description
2.1.2 recovery processes
1, backup: read-only way to do a complete image (see Appendix) on the failed disk
2, if you need to restore full directory structure, you first need to restore full file node has been lost, and then restore the data. If the node can not be recovered, you can recover by file type.
3, the recovered data will be temporarily stored in the other bank
2.1.3 acceptance process
to restore good data can be verified for correctness. If confirmed, payment -> be transferred to the media and recovered data -> Billing (receipts) and reports. If it can not confirm or not confirm, be transferred to the medium with no service charge, free issue a report.
Third, the possibility of data recovery
matching relationship between the fsck can check file system nodes, data indexing, will attempt to repair rebuild the file system directory tree, and consistent relationship between the nodes of the index when the file system structure is inconsistent, will take up a new space to generate consistent metadata structures, sometimes, this operation will destroy the recovery site, resulting in data recovery more difficult or even impossible to complete.
fsck if there are a large number of nodes and prompts an error has been repaired, the damage is very serious, data recovery will be difficult. The directory structure and file names are most likely to be damaged, which can result in permanent data loss recovery out of the original directory structure and file names.
After fsck execution, if a very short time to complete, regardless of the result of the implementation of the repair, the possibility of data recovery are high.
Fourth, the time required for data recovery
Affect the data recovery time have a number of factors. Typically, the data recovery service takes about 2-3 days, in case of complex cases, as the case may be.
Five Tips
1, the storage device is not a 100% guarantee of safety, often need to back up important data, some of the data synchronization tool can be used for data backup.
2, a data disaster occurs, the machine should not have any operation, if the conditions should be a hard disk or other storage media complete image (see Appendix)
3, data is deleted, if not write data can be easily read the simple destroy the system log file, so, after a failure, should umount the file system as soon as possible.

Guess you like

Origin blog.51cto.com/sun510/2427456