Linux system 12*2T hard disks composed of RAID6 and reallocated into RAID5 data recovery

Case:
The Linux operating system, the file system is EXT3, the original RAID6 composed of 12 2T hard disks is stored. This storage has 3 LUNs, each of which is 6TB size.The storage weight of this failure is allocated to allocate RAID and initializes it.After the initialization is for a long time, the maintenance staff sees that the situation is not right, and the initialization is forced, but the initialization has reached more than 50%.The data part has been destroyed by irreversible.

Solution:
After analysis, the data that is initialized can be restored by other methods, formulating a recovery algorithm, spending a day to write a program and correcting the program algorithm. Asian data recovery company’s two 7TB storage. Verifying the second LUN data is completely normal, but the most important first LUN has a destruction of about 10MB of data. The first 10MB data is terrible. The root directory of EXT and the I node of the first block group are all here. In the first 10MB, the recovery effect of UFS Explorer and R-Studio, commonly used using data recovery, is quite unsatisfactory, which may be the reason why it is stored. Essence The engineer had to repair the damaged EXT3 file system by itself, and wrote a program to find an EXT3 lone catalog search. There were 3 directory in the root directory. It was completely normal to rebuild the root directory and I node. For some permissions and attributes of the data, the engineer is simply repaired in Linux, Linux can be mounted normally, and then copy the file with the CP command on Linux to copy the single disk of EXT3 formatted by the CP command. In this way, the customer does not need any other settings when using the data. After the CP is directly CP, the file directory structure and attributes are exactly the same as the original.