Я пытаюсь использовать мой программный рейд после переустановки CentOS 7. Я не могу запустить мой RAID-5. Если я запускаю CentOS-Gnome Live DVD (1708), файловый менеджер показывает мой raid-диск, монтирует его и я могу получить доступ ко всем данным. Я думаю, что мне не хватает чего-то действительно простого. Может ли кто-нибудь заметить мою ошибку?

RAID-5 состоит из 4 устройств:

  • / DEV / sdb1
  • / DEV / sdc1
  • / DEV / sdd1
  • / DEV / sde1

Выходы:

cat /etc /* release

CentOS Linux release 7.6.1810 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

CentOS Linux release 7.6.1810 (Core)
CentOS Linux release 7.6.1810 (Core)

BLKID

/dev/sdb1: UUID="82a9c073-763e-205a-d739-765014c8cd06" UUID_SUB="926dcfb3-9cec-2249-95da-640ea6cfb7f1" LABEL="zeus:0" TYPE="linux_raid_member" PARTLABEL="primary" PARTUUID="bd603b26-52a6-40e1-b78e-6b7546b03aaf"
/dev/sdc1: UUID="82a9c073-763e-205a-d739-765014c8cd06" UUID_SUB="aab370a5-590f-b34c-dc6a-25f2d43209b3" LABEL="zeus:0" TYPE="linux_raid_member" PARTUUID="b75b65da-09c9-44f5-aa32-f45de43eebb1"
/dev/sde1: UUID="82a9c073-763e-205a-d739-765014c8cd06" UUID_SUB="b9f7db16-5e3c-bf30-a38d-6b2e22d65d96" LABEL="zeus:0" TYPE="linux_raid_member" PARTUUID="57e06e09-5bf0-4e06-a9ac-e02da9d5d45f"
/dev/sdd1: UUID="82a9c073-763e-205a-d739-765014c8cd06" UUID_SUB="494a5aca-e0f2-acf0-fa82-c043e7959e25" LABEL="zeus:0" TYPE="linux_raid_member" PARTUUID="401926c1-4642-49cb-8c65-5dacbadd0f60"
/dev/sdf1: UUID="3245dc35-c50e-4703-b04c-bdc4f2ad1d07" TYPE="xfs"
/dev/sdf2: UUID="NbFm1g-4aeZ-lxKR-g9q1-dhsb-Ra0v-liWw7M" TYPE="LVM2_member"
/dev/sda1: UUID="0210707c-f64f-4860-9683-66491c2077ba" TYPE="xfs"
/dev/sda2: UUID="zy3oLx-J81k-6u70-sMzx-PbQJ-vy9N-kckVwH" TYPE="LVM2_member"
/dev/mapper/centos-root: UUID="92778b08-7932-489e-bcad-575964378ce3" TYPE="xfs"
/dev/mapper/centos-swap: UUID="0590da56-5365-4704-94dd-3b9394ec496f" TYPE="swap"
/dev/mapper/centos-home: UUID="ebc7bdbb-1ec8-46ca-bdaf-9cd3b85801cb" TYPE="xfs"
/dev/mapper/centos_old-swap: UUID="df4fb82d-f492-4e7e-a9fc-36c0702f2ce8" TYPE="swap"
/dev/mapper/centos_old-root: UUID="d98e2420-992b-48f1-978b-58ca19ac7044" TYPE="xfs"

cat /proc /mdstat

Personalities :
md127 : inactive sde1[4] sdd1[2] sdb1[5] sdc1[1]
      11720536066 blocks super 1.2

unused devices: <none>

mdadm - подробности /dev /md127

/dev/md127:
           Version : 1.2
     Creation Time : Fri Apr  1 21:39:32 2016
        Raid Level : raid5
     Used Dev Size : 18446744073709551615
      Raid Devices : 4
     Total Devices : 4
       Persistence : Superblock is persistent

       Update Time : Sun Feb 24 20:53:13 2019
             State : active, FAILED, Not Started
    Active Devices : 4
   Working Devices : 4
    Failed Devices : 0
     Spare Devices : 0

            Layout : left-symmetric
        Chunk Size : 512K

Consistency Policy : unknown

              Name : zeus:0
              UUID : 82a9c073:763e205a:d7397650:14c8cd06
            Events : 153706

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

       -       8       17        0      sync   /dev/sdb1
       -       8       33        1      sync   /dev/sdc1
       -       8       49        2      sync   /dev/sdd1
       -       8       65        3      sync   /dev/sde1

mdadm --stop /dev /md127
mdadm --assemble --scan

mdadm: looking for devices for further assembly
mdadm: no recogniseable superblock on /dev/dm-4
mdadm: no recogniseable superblock on /dev/dm-3
mdadm: no recogniseable superblock on /dev/dm-2
mdadm: no recogniseable superblock on /dev/dm-1
mdadm: no recogniseable superblock on /dev/dm-0
mdadm: no recogniseable superblock on /dev/sda2
mdadm: no recogniseable superblock on /dev/sda1
mdadm: Cannot assemble mbr metadata on /dev/sda
mdadm: no recogniseable superblock on /dev/sdf2
mdadm: no recogniseable superblock on /dev/sdf1
mdadm: Cannot assemble mbr metadata on /dev/sdf
mdadm: No super block found on /dev/sdd (Expected magic a92b4efc, got 00000000)
mdadm: no RAID superblock on /dev/sdd
mdadm: No super block found on /dev/sde (Expected magic a92b4efc, got 00000000)
mdadm: no RAID superblock on /dev/sde
mdadm: No super block found on /dev/sdc (Expected magic a92b4efc, got 00000000)
mdadm: no RAID superblock on /dev/sdc
mdadm: No super block found on /dev/sdb (Expected magic a92b4efc, got 00000000)
mdadm: no RAID superblock on /dev/sdb
mdadm: /dev/sdd1 is identified as a member of /dev/md/zeus:0, slot 2.
mdadm: /dev/sde1 is identified as a member of /dev/md/zeus:0, slot 3.
mdadm: /dev/sdc1 is identified as a member of /dev/md/zeus:0, slot 1.
mdadm: /dev/sdb1 is identified as a member of /dev/md/zeus:0, slot 0.
mdadm: added /dev/sdc1 to /dev/md/zeus:0 as 1
mdadm: added /dev/sdd1 to /dev/md/zeus:0 as 2
mdadm: added /dev/sde1 to /dev/md/zeus:0 as 3
mdadm: added /dev/sdb1 to /dev/md/zeus:0 as 0
mdadm: failed to RUN_ARRAY /dev/md/zeus:0: Invalid argument
mdadm: looking for devices for further assembly
mdadm: No arrays found in config file or automatically

mdadm - собрать /dev /md0 /dev /sdb1 /dev /sdc1 /dev /sdd1 /dev /sde1 -vvvv

mdadm: looking for devices for /dev/md0
mdadm: /dev/sdb1 is identified as a member of /dev/md0, slot 0.
mdadm: /dev/sdc1 is identified as a member of /dev/md0, slot 1.
mdadm: /dev/sdd1 is identified as a member of /dev/md0, slot 2.
mdadm: /dev/sde1 is identified as a member of /dev/md0, slot 3.
mdadm: added /dev/sdc1 to /dev/md0 as 1
mdadm: added /dev/sdd1 to /dev/md0 as 2
mdadm: added /dev/sde1 to /dev/md0 as 3
mdadm: added /dev/sdb1 to /dev/md0 as 0
mdadm: failed to RUN_ARRAY /dev/md0: Invalid argument

Собираюсь подробно
mdadm - изучить /dev /sd [b, c, d, e] 1

/dev/sdb1:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x9
     Array UUID : 82a9c073:763e205a:d7397650:14c8cd06
           Name : zeus:0
  Creation Time : Fri Apr  1 21:39:32 2016
     Raid Level : raid5
   Raid Devices : 4

 Avail Dev Size : 5860268033 (2794.39 GiB 3000.46 GB)
     Array Size : 8790402048 (8383.18 GiB 9001.37 GB)
  Used Dev Size : 5860268032 (2794.39 GiB 3000.46 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : 926dcfb3:9cec2249:95da640e:a6cfb7f1

Internal Bitmap : 8 sectors from superblock
    Update Time : Sun Feb 24 20:53:13 2019
  Bad Block Log : 512 entries available at offset 24 sectors - bad blocks present.
       Checksum : acb12494 - correct
         Events : 153706

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 0
   Array State : AAAA ('A' == active, '.' == missing, 'R' == replacing)   


/dev/sdc1:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : 82a9c073:763e205a:d7397650:14c8cd06
           Name : zeus:0
  Creation Time : Fri Apr  1 21:39:32 2016
     Raid Level : raid5
   Raid Devices : 4

 Avail Dev Size : 5860268033 (2794.39 GiB 3000.46 GB)
     Array Size : 8790402048 (8383.18 GiB 9001.37 GB)
  Used Dev Size : 5860268032 (2794.39 GiB 3000.46 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : aab370a5:590fb34c:dc6a25f2:d43209b3

Internal Bitmap : 8 sectors from superblock
    Update Time : Sun Feb 24 20:53:13 2019
  Bad Block Log : 512 entries available at offset 72 sectors
       Checksum : 46f48103 - correct
         Events : 153706

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 1
   Array State : AAAA ('A' == active, '.' == missing, 'R' == replacing)    


/dev/sdd1:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : 82a9c073:763e205a:d7397650:14c8cd06
           Name : zeus:0
  Creation Time : Fri Apr  1 21:39:32 2016
     Raid Level : raid5
   Raid Devices : 4

 Avail Dev Size : 5860268033 (2794.39 GiB 3000.46 GB)
     Array Size : 8790402048 (8383.18 GiB 9001.37 GB)
  Used Dev Size : 5860268032 (2794.39 GiB 3000.46 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : 494a5aca:e0f2acf0:fa82c043:e7959e25

Internal Bitmap : 8 sectors from superblock
    Update Time : Sun Feb 24 20:53:13 2019
  Bad Block Log : 512 entries available at offset 72 sectors
       Checksum : d408765a - correct
         Events : 153706

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 2
   Array State : AAAA ('A' == active, '.' == missing, 'R' == replacing)   


/dev/sde1:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x9
     Array UUID : 82a9c073:763e205a:d7397650:14c8cd06
           Name : zeus:0
  Creation Time : Fri Apr  1 21:39:32 2016
     Raid Level : raid5
   Raid Devices : 4

 Avail Dev Size : 5860268033 (2794.39 GiB 3000.46 GB)
     Array Size : 8790402048 (8383.18 GiB 9001.37 GB)
  Used Dev Size : 5860268032 (2794.39 GiB 3000.46 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : b9f7db16:5e3cbf30:a38d6b2e:22d65d96

Internal Bitmap : 8 sectors from superblock
    Update Time : Sun Feb 24 20:53:13 2019
  Bad Block Log : 512 entries available at offset 72 sectors - bad blocks present.
       Checksum : bc06b835 - correct
         Events : 153706

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 3
   Array State : AAAA ('A' == active, '.' == missing, 'R' == replacing)

Dmesg | grep md:

[   13.791962] md: personality for level 5 is not loaded!

grep CONFIG_MD /boot/config-3.10.0-957.5.1.el7.x86_64

CONFIG_MD=y
CONFIG_MD_AUTODETECT=y
CONFIG_MD_LINEAR=m
CONFIG_MD_RAID0=m
CONFIG_MD_RAID1=m
CONFIG_MD_RAID10=m
CONFIG_MD_RAID456=m
# CONFIG_MD_MULTIPATH is not set
CONFIG_MD_FAULTY=m
CONFIG_MDIO=m
CONFIG_MDIO_BITBANG=m
# CONFIG_MDIO_GPIO is not set

0