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

The solution of server paralysis caused by the offline of two hard drives in Raid5

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Server data recovery background description:

The disk array that needs data recovery is two groups of SAS disk array, ext3 file system and lvm structure, which are composed of four 600g raid5 hard disks respectively.

The No. 1 hard disk in the disk array is offline, the hot spare starts synchronization, and in the process of synchronization, the No. 3 hard disk in raid is offline, the Raid array crashes, the LVM structure is incomplete, the file system can not be used normally, and the server is paralyzed. The administrator checked the two disconnected hard drives. Hard disk 1 cannot be recognized and hard disk 3 can be identified.

Disk array data recovery scheme:

First of all, the faulty hard disk is repaired, which requires the backup of the faulty hard disk with the help of data recovery software, and then a full backup of all the unoffline hard drives in the raid array and another set of normal raid arrays.

Then the engineer analyzes the relevant information in raid, reconstructs the array according to the raid information, finds the LVM information, reorganizes the LVM volume, further analyzes the EXT3 file system, recovers and exports all the data.

Data recovery process:

The main contents are as follows: 1. First of all, the hard disk can not be identified by the hardware data recovery engineer to detect the memory opening of the No. 1 hard disk. The wear and tear of the hard disk is so serious that the data can not be recovered, so it can only be processed according to the missing disk in the subsequent data recovery process.

2. With the help of data recovery software, a full backup is made of all the disconnected raid arrays and normal arrays. The data backup is as follows:

3. According to the backup data, the check mode, stripe size, hard disk sequence and other information in the original raid disk array are analyzed, and two groups of raid arrays are reorganized according to the analyzed raid information. The screenshot of the reorganized raid is as follows:

4. After reassembling the two groups of raid, engineers begin to analyze the underlying data, try to analyze the information related to lvm structure and export lun as pv, reassemble pv and regenerate lvm logical volume with the help of data recovery software. The process is as follows:

5. After the reorganization of LVM, parse the EXT3 file system in LV (logical volume), recover and export all the data in it. The results of data recovery are as follows:

Raid data recovery results:

Because the scratch of the No. 1 hard disk in the array is serious and can not be repaired, and there are bad tracks in some hard disks, there may be defects in the raid structure, but most of the files have been verified and recovered successfully.

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