Article 5J5EV mdadm raid issues

mdadm raid issues

by
TheRisen
from LinuxQuestions.org on (#5J5EV)
Hi,

I'm new to Linux and I was playing around with mdadm.
I set up a 4 disk raid 5 array and everything was running fine until recently when a power failure caused two of the drives to be dropped from the array.
I reconnected the drives and the raid needed to be set to write and resync'd.
After the raid finished re-syncing it doesn't show any data, however GParted is showing the raid as being 4.5TB of 5.4TB used, meaning there is data still on the disks?
Am I able to recover this data? Stupidly I had some semi important files on the raid that I would rather not lose.

sudo mdadm --detail /dev/md0
/dev/md0:
Version : 1.2
Creation Time : Mon Mar 22 09:42:41 2021
Raid Level : raid5
Array Size : 5860147200 (5588.67 GiB 6000.79 GB)
Used Dev Size : 1953382400 (1862.89 GiB 2000.26 GB)
Raid Devices : 4
Total Devices : 4
Persistence : Superblock is persistent

Intent Bitmap : Internal

Update Time : Sun May 23 10:37:42 2021
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0

Layout : left-symmetric
Chunk Size : 512K

Consistency Policy : bitmap

Name : raspberrypi:0 (local to host raspberrypi)
UUID : 0fd6d766:491513d2:4808483b:ba0060b5
Events : 82447

Number Major Minor RaidDevice State
0 8 16 0 active sync /dev/sdb
1 8 32 1 active sync /dev/sdc
5 8 48 2 active sync /dev/sdd
4 8 64 3 active sync /dev/sdelatest?d=yIl2AUoC8zA latest?i=QxqLtQ1JzBk:I4soN_sh-nI:F7zBnMy latest?i=QxqLtQ1JzBk:I4soN_sh-nI:V_sGLiP latest?d=qj6IDK7rITs latest?i=QxqLtQ1JzBk:I4soN_sh-nI:gIN9vFwQxqLtQ1JzBk
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments