Web server 4*136g RAID data recovery process

Source: Internet
Author: User
Tags mysql database

[Data recovery failure description]

A Web server, brand for assembly, the use of Tyan (Taian) motherboard, AMD cpu*4, 4 pieces of 68-pin SCSI hard disk RAID0 composed of storage system (heard 2007 years spent 50,000 yuan to buy, and the use of RAID0, this professional degree is really not flattering).

Operating system for Linux, important data for MySQL database and Web site data files.

Due to power damage (50,000 yuan to buy equipment unexpectedly no redundant power supply), replaced the power test, hardware vendors are afraid of data corruption, leaving the raid card to the hard drive all the system (really silent), again connected to boot system, RAID information has been corrupted.

Then do some action. (This part of the operation may involve liability issues and cannot be asked clearly)

The final symptom is that an invalid boot record is prompted when the operating system is started.

The server data needs to be recovered while the repair server system is reactivated.

[Data Recovery analysis]

After the power is replaced, the hard drive is unplugged, but the raid card remains in the host system, so that when the RAID controller is plugged in, all the hard drives are considered to have failed, causing the raid logical volume to go offline.

After the power is reset, although the hard drive may still be good, the RAID controller, as a security concern, will not attempt to reload all the hard drives and rebuild the raid volume. At this point if there are some correct way to recover the data (but the data is important is not recommended, you can refer to my other articles), but it is estimated that the wrong way for users to rebuild and so on, resulting in all data is not available.

The RAID0 itself does not involve synchronization operations, so unless 0 data is cleared during reconstruction, the rest should not be fatally damaged, but the structure of the original raid needs to be analyzed and virtual reorganization is performed.

[Data recovery process]

1, to all the hard drive in a single disk mode complete mirror.

2, in the mirror analysis of the original RAID structure parameters.

3, build a virtual RAID environment, organize the raid logical volume.

4, to ensure the integrity of the data packaging for tar.gz.

5, reconfigure RAID, install the system, the restored data migrated back to the original system.

This article is from the "Tommy (Data Recovery)" blog, please be sure to keep this source http://zhangyu.blog.51cto.com/197148/154553

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.