Rebuilding mdadm RAID array after OS drive failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a system that was running Ubuntu 18.04 server with a 5 drive
RAID 6 array using mdadm. I had a hard drive failure, but instead of
the array it was the OS hard drive that completely failed. I also do
not have access to the original mdadm.conf file.

In an attempt to get my array back up, I booted Ubuntu 22.04 from a
USB and tried to assemble and mount the array.  It did not work.
Trying some diagnostic steps I found online, it seems to be claiming
that there is no md superblock on any of the drives.

I've included the commands I ran and their output below. Does anyone
have any advice on what next steps I can take? I have no reason to
think these drives have failed mechanically (much less all of them). I
also tried with Ubuntu 18.04 and got the same results.

ubuntu@ubuntu:~$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
loop0    7:0    0   2.2G  1 loop /rofs
loop1    7:1    0  32.3M  1 loop /snap/snapd/12883
loop2    7:2    0  55.4M  1 loop /snap/core18/2128
loop3    7:3    0  61.8M  1 loop /snap/core20/1081
loop4    7:4    0  65.1M  1 loop /snap/gtk-common-themes/1515
loop5    7:5    0   219M  1 loop /snap/gnome-3-34-1804/72
loop6    7:6    0 241.4M  1 loop /snap/gnome-3-38-2004/70
loop7    7:7    0   2.5M  1 loop /snap/gnome-calculator/884
loop8    7:8    0   704K  1 loop /snap/gnome-characters/726
loop9    7:9    0   548K  1 loop /snap/gnome-logs/106
loop10   7:10   0   2.5M  1 loop /snap/gnome-system-monitor/163
sda      8:0    0   9.1T  0 disk
├─sda1   8:1    0   9.1T  0 part
└─sda9   8:9    0     8M  0 part
sdb      8:16   0   9.1T  0 disk
├─sdb1   8:17   0   9.1T  0 part
└─sdb9   8:25   0     8M  0 part
sdc      8:32   0   9.1T  0 disk
├─sdc1   8:33   0   9.1T  0 part
└─sdc9   8:41   0     8M  0 part
sdd      8:48   0   9.1T  0 disk
├─sdd1   8:49   0   9.1T  0 part
└─sdd9   8:57   0     8M  0 part
sde      8:64   0   9.1T  0 disk
├─sde1   8:65   0   9.1T  0 part
└─sde9   8:73   0     8M  0 part
sdf      8:80   1   7.6G  0 disk
└─sdf1   8:81   1   7.6G  0 part /cdrom

ubuntu@ubuntu:~$ sudo mdadm --assemble /dev/sda1 /dev/sdb1 /dev/sdc1
/dev/sdd1 /dev/sde1
mdadm: device /dev/sda1 exists but is not an md array.

ubuntu@ubuntu:~$ sudo mdadm --examine --verbose /dev/sd[a-e]1
mdadm: No md superblock detected on /dev/sda1.
mdadm: No md superblock detected on /dev/sdb1.
mdadm: No md superblock detected on /dev/sdc1.
mdadm: No md superblock detected on /dev/sdd1.
mdadm: No md superblock detected on /dev/sde1.

ubuntu@ubuntu:~$ sudo mdadm --assemble --scan --verbose
mdadm: looking for devices for further assembly
mdadm: no recogniseable superblock on /dev/loop10
mdadm: no recogniseable superblock on /dev/loop9
mdadm: no recogniseable superblock on /dev/loop8
mdadm: Cannot assemble mbr metadata on /dev/sdf1
mdadm: Cannot assemble mbr metadata on /dev/sdf
mdadm: no recogniseable superblock on /dev/sdb9
mdadm: no recogniseable superblock on /dev/sdb1
mdadm: Cannot assemble mbr metadata on /dev/sdb
mdadm: no recogniseable superblock on /dev/sde9
mdadm: no recogniseable superblock on /dev/sde1
mdadm: Cannot assemble mbr metadata on /dev/sde
mdadm: no recogniseable superblock on /dev/sdd9
mdadm: no recogniseable superblock on /dev/sdd1
mdadm: Cannot assemble mbr metadata on /dev/sdd
mdadm: no recogniseable superblock on /dev/sdc9
mdadm: no recogniseable superblock on /dev/sdc1
mdadm: Cannot assemble mbr metadata on /dev/sdc
mdadm: no recogniseable superblock on /dev/sda9
mdadm: no recogniseable superblock on /dev/sda1
mdadm: Cannot assemble mbr metadata on /dev/sda
mdadm: no recogniseable superblock on /dev/loop7
mdadm: no recogniseable superblock on /dev/loop6
mdadm: no recogniseable superblock on /dev/loop5
mdadm: no recogniseable superblock on /dev/loop4
mdadm: no recogniseable superblock on /dev/loop3
mdadm: no recogniseable superblock on /dev/loop2
mdadm: no recogniseable superblock on /dev/loop1
mdadm: no recogniseable superblock on /dev/loop0
mdadm: No arrays found in config file or automatically

Steve




[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux