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…)- 20 min. reading
- 1




