Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Data recovery method of data loss after fsck in linux system

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

It is believed that many inexperienced people have no idea about the data recovery method of data loss after fsck in linux system. Therefore, this paper summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.

1. Data recovery scheme of data loss after fsck based on linux system.

II. Solutions

2.1 recovery proc

2.1.1 Detection process

1. Detect whether there is a hardware fault, such as a hardware fault, and switch to hardware processing.

2. Check whether the fault performance is the same as the user description in a read-only way

2.1.2 recovery process

1. Backup: make a full mirror of the failed disk in a read-only manner (see appendix)

2. If you need to restore the complete directory structure, you need to fully restore the lost file nodes before restoring the data. If the node cannot be restored, it can be restored by file type.

3. The recovered data will be temporarily stored on another storage bank.

2.1.3 acceptance process

Verify the recovered data and confirm its correctness. If confirmed, pay the fee-> hand over the original media and recovered data-> issue invoice (receipt) and report. If it cannot be confirmed or not confirmed, there is no service charge for the transfer of the original media, and the report can be issued free of charge.

Third, the possibility of data recovery

Fsck will verify the matching relationship between file system nodes and data indexes. When repairing, it will attempt to rebuild the file system directory tree and unify the relationship between nodes and indexes. When the file system structure is inconsistent, it will take up new space to generate a consistent metadata structure. Sometimes, this operation will destroy the recovery site, making the data recovery work more difficult or even impossible.

In fsck, if a large number of nodes report errors and indicate that they have been repaired, the damage is very serious and data recovery will be very difficult. The directory structure and file name are the most easily destroyed, which will cause the recovered data to completely lose the original directory structure and file name.

After the fsck is executed, if it is completed in a short time, the possibility of data recovery is higher regardless of the result of the repair.

Fourth, the time required for data recovery

There are many factors that affect the time of data recovery. Usually, the data recovery service takes about 2-3 days, and if there is a complex situation, it depends on the situation.

5. Tips

1. There is no 100% security guarantee for storage devices, and important data needs to be backed up frequently. Some data synchronization tools can be used for data backup.

2. In the event of a data disaster, there should be no more operations on this machine. If possible, the hard disk or other storage media should be fully mirrored (see appendix).

3. After the data is deleted, it is easy to destroy the file system log by simply reading even if the data is not written. Therefore, after the failure, the file system should be umount as soon as possible.

After reading the above, have you mastered the method of data recovery after data loss after fsck in linux system? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report