Raid missing after updating kurnel - error 524


Cpz
 Share

1 1

Recommended Posts

hi all.

 

I recently updated my Kurnel and rebooted my Helios64. when it loaded in to OMV i noticed my raid drive is missing.  i can still see the disks just not the raid drive .  Checking on the array i can see it failed with an error 524. 

 

Would love some suggestions on how to repair the array.

 

below is the details i was able to get,..  sorry for the large info dump

 

root@helios64:~# mdadm --run /dev/md0
mdadm: failed to start array /dev/md0: Unknown error 524
root@helios64:~# mdadm -D /dev/md0
/dev/md0:
           Version : 1.2
     Creation Time : Mon Dec 14 16:49:07 2020
        Raid Level : raid0
      Raid Devices : 4
     Total Devices : 4
       Persistence : Superblock is persistent

       Update Time : Mon Dec 14 16:49:07 2020
             State : active, FAILED, Not Started
    Active Devices : 4
   Working Devices : 4
    Failed Devices : 0
     Spare Devices : 0

        Chunk Size : 512K

Consistency Policy : unknown

              Name : helios64:Home  (local to host helios64)
              UUID : bc34df85:c451fddc:fdc99dec:5400a7bb
            Events : 0

    Number   Major   Minor   RaidDevice State
       -       0        0        0      removed
       -       0        0        1      removed
       -       0        0        2      removed
       -       0        0        3      removed

       -       8       32        0      sync   /dev/sdc
       -       8        0        2      sync   /dev/sda
       -       8       48        1      sync   /dev/sdd
       -       8       16        3      sync   /dev/sdb
root@helios64:~# ^C
root@helios64:~# cat /proc/mdstat
Personalities : [raid0] [linear] [multipath] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : inactive sdd[1] sdc[0] sdb[3] sda[2]
      19534553088 blocks super 1.2

unused devices: <none>
root@helios64:~# mdadm --examine /dev/sd[abcde]
/dev/sda:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : bc34df85:c451fddc:fdc99dec:5400a7bb
           Name : helios64:Home  (local to host helios64)
  Creation Time : Mon Dec 14 16:49:07 2020
     Raid Level : raid0
   Raid Devices : 4

 Avail Dev Size : 11720780976 (5588.90 GiB 6001.04 GB)
    Data Offset : 264192 sectors
   Super Offset : 8 sectors
   Unused Space : before=264112 sectors, after=0 sectors
          State : clean
    Device UUID : 4efe5ed4:e612db01:c827abcf:30cf9d60

    Update Time : Mon Dec 14 16:49:07 2020
  Bad Block Log : 512 entries available at offset 8 sectors
       Checksum : 403cbc68 - correct
         Events : 0

     Chunk Size : 512K

   Device Role : Active device 2
   Array State : AAAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdb:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : bc34df85:c451fddc:fdc99dec:5400a7bb
           Name : helios64:Home  (local to host helios64)
  Creation Time : Mon Dec 14 16:49:07 2020
     Raid Level : raid0
   Raid Devices : 4

 Avail Dev Size : 11720780976 (5588.90 GiB 6001.04 GB)
    Data Offset : 264192 sectors
   Super Offset : 8 sectors
   Unused Space : before=264112 sectors, after=0 sectors
          State : clean
    Device UUID : 2fa13dfd:7e1c90cc:e086e232:a2f84f2a

    Update Time : Mon Dec 14 16:49:07 2020
  Bad Block Log : 512 entries available at offset 8 sectors
       Checksum : 60b9f16c - correct
         Events : 0

     Chunk Size : 512K

   Device Role : Active device 3
   Array State : AAAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdc:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : bc34df85:c451fddc:fdc99dec:5400a7bb
           Name : helios64:Home  (local to host helios64)
  Creation Time : Mon Dec 14 16:49:07 2020
     Raid Level : raid0
   Raid Devices : 4

 Avail Dev Size : 7813772976 (3725.90 GiB 4000.65 GB)
    Data Offset : 264192 sectors
   Super Offset : 8 sectors
   Unused Space : before=264112 sectors, after=0 sectors
          State : clean
    Device UUID : 4cee06fa:a32a5035:df544d4a:9a37139a

    Update Time : Mon Dec 14 16:49:07 2020
  Bad Block Log : 512 entries available at offset 8 sectors
       Checksum : 649123a1 - correct
         Events : 0

     Chunk Size : 512K

   Device Role : Active device 0
   Array State : AAAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdd:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : bc34df85:c451fddc:fdc99dec:5400a7bb
           Name : helios64:Home  (local to host helios64)
  Creation Time : Mon Dec 14 16:49:07 2020
     Raid Level : raid0
   Raid Devices : 4

 Avail Dev Size : 7813772976 (3725.90 GiB 4000.65 GB)
    Data Offset : 264192 sectors
   Super Offset : 8 sectors
   Unused Space : before=264112 sectors, after=0 sectors
          State : clean
    Device UUID : 52c35a71:983beb7b:eeae2343:83e9fa0f

    Update Time : Mon Dec 14 16:49:07 2020
  Bad Block Log : 512 entries available at offset 8 sectors
       Checksum : 913e1594 - correct
         Events : 0

     Chunk Size : 512K

   Device Role : Active device 1
   Array State : AAAA ('A' == active, '.' == missing, 'R' == replacing)
root@helios64:~# mdadm --stop /dev/md0
mdadm: stopped /dev/md0
root@helios64:~# mdadm /dev/md0 --assemble /dev/sd[abcde]
mdadm: failed to RUN_ARRAY /dev/md0: Unknown error 524
root@helios64:~# mdadm /dev/md0 --assemble --force /dev/sd[abcde]
mdadm: /dev/sda is busy - skipping
mdadm: /dev/sdb is busy - skipping
mdadm: /dev/sdc is busy - skipping
mdadm: /dev/sdd is busy - skipping
root@helios64:~#
 

Link to post
Share on other sites

Armbian is a community driven open source project. Do you like to contribute your code?

followed that link as best i could (pretty new to  this) and got the following

[Sat May 22 13:31:33 2021] md/raid0:md0: cannot assemble multi-zone RAID0 with default_layout setting
[Sat May 22 13:31:33 2021] md/raid0: please set raid0.default_layout to 1 or 2
 

 

any advice on what i should do?

Link to post
Share on other sites

 Share

1 1