Server SAS hard drive RAID5 crash LVM lost data recovery process

Source: Internet
Author: User

Overview

A unit server in Beijing accidentally offline, hot spare disk, replace the offline hard disk. However, the hot spare disk in the process, another hard drive offline, causing hot spare synchronization failed, two sets of RAID array crashes, LVM structure is incomplete, the file system is not working properly, the server data needs to be repaired. Two off-line hard drive detection, found that the first offline hard drive is not recognized, the initial inference is a hardware failure, the need for open repair operation, another hard drive can be identified.

Two groups of 4 600G capacity SAS hard disk RAID5 array, and two sets of arrays partitioned LUNs, composed of LVM structure, and formatted as EXT3 file system.

Solution Solutions

1, fault disk repair

Open repair operation for the failed hard drive. After the opening found that hard disk disc wear serious, can not be repaired, only against the column for the lack of disk processing.

2, hard disk backup

Use the professional data recovery software Winhex to perform a full backup of the remaining member disks of the failed RAID array, and perform a complete backup of all member disks of another set of good raid arrays, backed up as follows: 650) this.width=650; "src="/HTTP/ S4.51cto.com/wyfs02/m00/8c/76/wkiol1htun-zeqtaaac1mpu_rvc849.jpg "title=" 3-1.jpg "alt=" wKioL1htun-zeQTAAAC1mpU_ Rvc849.jpg "/>650) this.width=650;" Src= "http://s3.51cto.com/wyfs02/M01/8C/7A/ Wkiom1htupsrzbheaadhpl0zufu645.jpg "title=" 3-2.jpg "alt=" Wkiom1htupsrzbheaadhpl0zufu645.jpg "/>

3. Restructuring the RAID array

Carefully analyze the hard disk bottom data, through the analysis of the structure of the EXT3 file system, the two sets of RAID array of the disk sequence, stripe size, calibration to the configuration information, using professional data Recovery software Winhex reorganization of the two sets of RAID arrays. After analysis, the two groups of RAID array block size are 64K, the calibration to do synchronization, the failure of raid to reorganize the attention to the lack of disk processing.

650) this.width=650; "src=" http://s4.51cto.com/wyfs02/M01/8C/76/wKioL1hturjw_2bSAAGD3roem_Q499.jpg "style=" float: none; "title=" 3-3.jpg "alt=" Wkiol1hturjw_2bsaagd3roem_q499.jpg "/>

650) this.width=650; "src=" http://s4.51cto.com/wyfs02/M02/8C/7A/wKiom1hturmQgU9dAAGXJ_vZHY0867.jpg "style=" float: none; "title=" 3-4.jpg "alt=" Wkiom1hturmqgu9daagxj_vzhy0867.jpg "/>

4. Reorganizing the LVM structure

After two sets of RAID arrays are reorganized, the underlying data in the two groups of RAID is analyzed, the LVM structure information is found, the LVM structure is analyzed, the two sets of LUNs are exported as PV (LVM physical volumes), and then the two PV is reorganized using professional data Recovery software UFS Explorer. To regenerate the LVM logical volume.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/8C/76/wKioL1htuuCgWnKRAAGKmGYF1Nc498.jpg "style=" float: none; "title=" 3-5.jpg "alt=" Wkiol1htuucgwnkraagkmgyf1nc498.jpg "/>

650) this.width=650; "src=" http://s4.51cto.com/wyfs02/M00/8C/7A/wKiom1htuuOi-6VcAADPkbkJbw0317.jpg "style=" float: none; "title=" 3-6.jpg "alt=" Wkiom1htuuoi-6vcaadpkbkjbw0317.jpg "/>

5. Recovering and exporting data

After the LVM reorganization, the EXT3 file system in the LV (logical volume) is parsed to restore and export all of its data. The following is the data that comes back:

650) this.width=650; "src=" http://s5.51cto.com/wyfs02/M01/8C/7A/wKiom1htuvjTXnk2AAGiyluRlqc387.jpg "title=" 3-7. JPG "alt=" wkiom1htuvjtxnk2aagiylurlqc387.jpg "/>



Server SAS hard drive RAID5 crash LVM lost data recovery process

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.