I have lost 2 of 3 mdadm RAID5 disks.
How can i recover whatever files are available on the remaining one disk?
Sundeep
I have lost 2 of 3 mdadm RAID5 disks.
How can i recover whatever files are available on the remaining one disk?
Sundeep
RAID5 provides protection from single disk loss.
The only suggestion I can give you, apart to restore from backup, is to run testdisk/photorec
against the single disk do you have. For files which are smaller than RAID chunk size, you have a small possibility to recover something.
RAID 5 distributed data over stripes. In your case, each stripe consists of two data segments and a redundancy segment calculated from both data segments. The distribution of the segments is rotated over the disks from stripe to stripe to provide an even workload for each disk.
With only a single drive left, you've got one third of these segments. These alternate as
The redundancy segment is useless - you don't have any of the data segments you'd need to reconstruct the other data segment.
Only very small files could be reconstructed from these segments - those that fit into a single segment. However, the file system structure is lost, so it's (practically) impossible to tell which segment belonged to a certain file other than guessing from its contents.
Essentially, take a disk editor and see what you can find. There's nothing more anyone can do.
RAID doesn't replace backups.