当前位置:网站首页>[server data recovery] data recovery case of RAID5 crash of buddy storage
[server data recovery] data recovery case of RAID5 crash of buddy storage
2022-06-11 04:12:00 【North Asia data recovery】
Server storage failure :
Built in the same friend store raid5 The disk array crashed for an unknown reason and could not be started ,raid5 All virtual machines in are lost , among 3 The data in the virtual machine is particularly important , The administrator contacted our data recovery center to ask for this 3 Virtual machines for data recovery .
Server storage data recovery process :
1、 Analyze the storage infrastructure .
Through communication with the administrator and raid Analysis of , Understand the underlying structure of fault storage : Multiple physical disks form a storage pool and are divided into multiple disks lun, Data recovery is required lun1,lun1 Including that 3 Virtual machines . As shown in the figure below :

Storage structure
2、 restructuring raid.
When analyzing and reorganizing the array , The data recovery engineer finds that there are raid5 defect 2 Block hard disk , The hot spare has been enabled .( Restore the process in which the failure occurred : After the first hard disk is disconnected, the system starts the hot spare disk for replacement , When the second hard disk is disconnected raid5 In a degraded state , The third hard disk is disconnected, resulting in raid Array crash .) In this case, the data of the lost disk cannot be directly obtained through verification , Only full disks of the same size can be used 0 Reorganize the image ( Due to the dependence on empty images raid The structure of the file system will be seriously damaged , It is equivalent to that each strip will be missing two blocks of data , Therefore, unless special circumstances do not recommend such operation ).

The reconstruction raid
3、 Through reorganization raid Array extraction LUN. Through the further analysis of the storage structure, we get the result of the storage partition MAP block , To each LUN The data block pointer of . North Asia data recovery engineer writes data extraction program LUN debris . After extraction, the fragments are spliced , Complete composition LUN.

extract LUN
4、 export LUN And try to start , Because the operating system is damaged , Virtual machine failed to start .
5、 Extract the files in the virtual machine . Because the virtual machine could not start , Only files in the virtual machine can be extracted , But most of the files are seriously damaged , Only a few files are available , We have to continue to work out other data recovery schemes .
6、 Extract data by analyzing database pages . The virtual machine in this case has mysql database , You can use the particularity of the underlying storage of the database to scan data pages , Extract the data .( Both the parent disk and the snapshot file are damaged , The regular merge operation cannot complete the snapshot merge , Use the... Independently developed by North Asia VMFS The snapshot merging program performs snapshot merging .) The screenshot of the data recovery process is as follows :

7、 obtain mysql Data page and analyze . according to mysql Data page features scan and export data pages (innodb The engine can use this scheme ;myisam Because no “ Data pages ” The concept , So this solution is not available ), Analyze the system table to obtain the information of each user table , According to the... Of each table id Split the data page .
8、 Extract table structure 、 Extract record . Because the database has been used for a long time , The table structure has also changed many times , In addition, some data of the system table is lost after the storage is damaged , There is a lot of resistance in the record extraction process . First, get the table structure of each table in the original version of the database : The parent disk before the snapshot was merged because it was written earlier , Use the first drop disk for verification to obtain the complete data of this file , Then extract the table structure of each table in the database , After that, the administrator provides the latest version of database table creation script . Two groups of different table structures are used to extract data records and import them into the recovery environment mysql In the database , Then eliminate the garbled data caused by the change of table structure in each table , Finally, the two sets of data are exported as .sql file .
9、 data validation . Because the database table structures of the two versions are different , So the administrator contacts the application engineer for debugging . Import the platform after debugging , Platform debugging succeeded , The data recovery is completed .
边栏推荐
- Notes on redisson distributed lock usage
- 你知道MallBook分账与银行分账的区别吗?
- Application of NTP network time server (PTP clock synchronization) in it network
- B - 刷墙 (C语言)
- MAUI 遷移指南
- Market prospect analysis and Research Report of nitrogen liquefier in 2022
- Discussion on the development trend of remote power management unit (Intelligent PDU)
- Esp32 development -lvgl display picture
- 使用工具类按一定规则读取Excel文件
- Docker swarm installs redis cluster (bitnami/redis cluster:latest)
猜你喜欢

华生·K的秘密日记

Seven easy-to-use decorators

【CustomView】Glide+BitmapTransformation 图片上下边框波浪处理(WaveTransformation)

Guanghetong won the "science and Technology Collaboration Award" of Hello travel, driving two rounds of green industries to embrace digital intelligence transformation

未來已來,5G-Advanced時代開啟

June 10, 2022: Captain Shu crosses a sweet potato field from north to South (m long from north to South and N wide from east to West). The sweet potato field is divided into 1x1 squares. He can start

Sslstrip Ultimate - location hijacking

Embedded basic interface-i2s

七个好用的装饰器

Docker swarm installing MySQL Cluster
随机推荐
众昂矿业:氟化工是萤石的主要消耗领域
为了实现零丢包,数据中心网络到底有多拼?
2022 love analysis · privacy computing vendor panoramic report | love Analysis Report
Discussion on the development trend of remote power management unit (Intelligent PDU)
7. 列表标签
Maui migration guide
你知道MallBook分账与银行分账的区别吗?
Final review of software engineering notes (short answer)
Evil CSRF
Market prospect analysis and Research Report of surround packing machine in 2022
Market prospect analysis and Research Report of pipe and hose press fitting tools in 2022
PHP正则用例
合理使用线程池以及线程变量
golang泛型:generics
Eth Of Erc20 And Erc721
Fundamentals of embedded audio processing
Docker swarm installs redis cluster (bitnami/redis cluster:latest)
AI助力,释放法务势能!iTerms合同智审系统重磅发布
Management system of College Students' associations based on SSM
雷达辐射源调制信号仿真(代码)