Data recovery from MDADM RAID 1
Data recovery from MDADM RAID 1
Hello, I lost my files after setting up a Docker container and mapping the RAID, but now everything in the RAID is gone. The disks aren’t being written or read yet. I don’t have a backup, and I’m open to any ideas—even connecting disks to a Windows machine. Here’s your Docker Compose config you shared: https://pastebin.com/PqwEkZ4G. Your setup uses Ubuntu Server 20.04LTS with two 1TB HDDs in RAID1 plus a 500GB SSD, using ext4 filesystem without encryption. Let me know how I can help recover your data.
If the storage devices were just removed, the type of filesystem wouldn't matter much. You'd have to search through guides to try and retrieve the data, which could be anything like ext4, ZFS, or BTRFS.
I believe simply placing the device inside a Docker container didn't erase it. Here are some alternatives to consider: Check if the MD RAID device is actually mounted. Use `df -h` to search for `/mnt/md0`. If absent, try mounting it with `# mount /mnt/md0`. If still missing, scan it using `mdadm --assemble --scan`.