Linux mdadm RAID Recovery: Reconstruct Arrays

Learn how to recover data from Linux software RAID arrays built with mdadm, identify array layouts and handle missing or failed member disks.

How to Recover a MySQL Database After Deleting Files or a Partition in Ubuntu: RAID 6 and LUKS2

Deleting files or an entire disk partition in Ubuntu can lead to critical data loss, especially if a MySQL database is running on the server. The situation becomes much more complicated when the storage system is built on a RAID 6 array and the data is additionally protected with LUKS2 encryption. In such conditions, standard recovery tools do not always produce the expected result, and careless actions may permanently destroy the information. In this article, we will review possible data loss scenarios, the specifics of working with RAID 6 and LUKS2, and the process of recovering a MySQL database after accidental deletion of files or a disk partition.

(more…)

How to Recover KVM/QEMU Virtual Disks and Snapshots with LUKS2 RAID 6

This article examines the recovery of KVM/QEMU virtual disks and snapshots from a storage system built on LUKS2 and RAID 6. The focus is on determining the correct recovery sequence, safely working with physical disk images, reconstructing the RAID array, unlocking the encrypted container, locating QCOW2/RAW images, analyzing the backing chain, and restoring access to virtual machine data without modifying the original media.

(more…)

How to recover data from Linux MD RAID 6 with LUKS encryption and fscrypt

How can you recover existing and deleted files from Linux MD RAID 6 encrypted with LUKS2 and fscrypt when two of its four drives are missing? Using a laboratory test, we demonstrate automatic RAID reconstruction, decryption and file analysis, as well as two manual reconstruction methods using three SSDs.

(more…)

How to recover data from mdadm-managed RAID 0, RAID 5, and RAID 6 arrays created on OpenMediaVault

In this article we will examine the process of data recovery from mdadm RAID 0, 5 and 6 arrays created in the OpenMediaVault 8.2.8 operating system. We will analyze the most common data loss scenarios: accidental file deletion via network protocols SMB, NFS or FTP, data corruption due to failure of one or more drives, server or NAS hardware failure, as well as software failures of the OpenMediaVault operating system caused by updates or critical bugs.

(more…)

Expanding RAID 5 Without Data Loss: Adding Drives on Controllers, NAS, Linux

In this tutorial, we'll walk you through the process of adding more drives to an existing RAID 5 array without risking any data loss. Whether you're using a hardware controller, NAS, or Linux-based system, this guide will provide you with the necessary steps to expand your storage capacity safely.

(more…)