Corrupted RAID0 after

  • I'll save everyone time as I just accidentally ran a script that deleted the superblocks, so it is just lost now.
    All right. It happens. Life goes on. 😭

    Yesterday I updated to 7.7.2-1 (Sandworm) and the update went like a breeze. At the end, it asked me to reboot and that's when the nightmare started.

    Machine would not boot.

    I usually give it a couple of minutes, but since no SSH, no UI, I plugged in a monitor and noticed it was haging trying to mount my RAID (/dev/md0) , which I (used to) mount via /etc/fstab with:

    Code
    /dev/md0 /mnt ext4 defaults 0 0


    I logged in security mode, commented out that one line, system booted, UI showed, but when I tried to manually mount with

    Code
    mount -t ext4 /dev/md0 /mnt


    I got an error:


    Code
    mount: /mnt/data: wrong fs type, bad option, bad superblock on /dev/md8, missing codepage or helper program, or other error.
    dmesg(1) may have more information after failed mount system call.


    Started investigating and tried pretty much everything, but no luck.


    Here's the outputs I get:


    Code
    cat /proc/mdstat
    
    Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
    md8 : active raid0 sdc1[2] sdf1[4] sde1[5] sda1[0] sdj1[9] sdh1[6] sdi1[8] sdd1[3] sdg1[7] sdb1[1]
    58603888640 blocks super 1.2 4096k chunks
    
    unused devices: <none>


    Code



    Code
    mdadm --detail --scan --verbose
    
    
    ARRAY /dev/md/8 level=raid0 num-devices=10 metadata=1.2 name=raspberrypi:8 UUID=d6627611:b98a99d1:6f63daac:c9edecde
    devices=/dev/sda1,/dev/sdb1,/dev/sdc1,/dev/sdd1,/dev/sde1,/dev/sdf1,/dev/sdg1,/dev/sdh1,/dev/sdi1,/dev/sdj1


    Code



    And if I try to force rebuild the RAID:


    Code
    mdadm -C /dev/md0 -l raid0 -n 10 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1 /dev/sdf1 /dev/sdg1 /dev/sdh1 /dev/sdi1 /dev/sdj1
    
    
    mdadm: cannot open /dev/sda1: Device or resource busy


    Can someone please PLEASE help?
    I do have most files in a backup disk, but there are things that were still not syncd that are quite important ;(

  • A few more outputs that can potentially help:


  • macom

    Added the Label resolved

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!