Linux 软件 raid(mdadm)3 磁盘 RAID5 阵列,2 个设备“过时”

Linux 软件 raid(mdadm)3 磁盘 RAID5 阵列,2 个设备“过时”

我在尝试恢复 RAID5 3 磁盘阵列时遇到了问题,其中 2x 磁盘似乎已经过时了。

root@mindstorm4: mdadm -E /dev/sd[bcd]
/dev/sdb:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 6a243319:84b8f9a9:355f027e:58b8a6fb
           Name : md_stripey
  Creation Time : Sun Feb 23 22:08:02 2014
     Raid Level : raid5
   Raid Devices : 3

 Avail Dev Size : 3907028992 (1863.02 GiB 2000.40 GB)
     Array Size : 3907028992 (3726.03 GiB 4000.80 GB)
    Data Offset : 16 sectors
   Super Offset : 8 sectors
   Unused Space : before=0 sectors, after=160 sectors
          State : clean
    Device UUID : 7299f928:b1105a5c:f89d8600:0f944324

    Update Time : Sun Jun  5 09:43:12 2016
       Checksum : efcdeccc - correct
         Events : 4375

         Layout : parity-last
     Chunk Size : 512K

   Device Role : Active device 0
   Array State : AAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdc:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 6a243319:84b8f9a9:355f027e:58b8a6fb
           Name : md_stripey
  Creation Time : Sun Feb 23 22:08:02 2014
     Raid Level : raid5
   Raid Devices : 3

 Avail Dev Size : 3907028992 (1863.02 GiB 2000.40 GB)
     Array Size : 3907028992 (3726.03 GiB 4000.80 GB)
    Data Offset : 16 sectors
   Super Offset : 8 sectors
   Unused Space : before=0 sectors, after=160 sectors
          State : clean
    Device UUID : f403f8da:b4eec381:fbcf9628:b562ad94

    Update Time : Wed Feb  1 00:15:25 2017
       Checksum : 60f42d25 - correct
         Events : 574913

         Layout : parity-last
     Chunk Size : 512K

   Device Role : Active device 2
   Array State : ..A ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdd:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 6a243319:84b8f9a9:355f027e:58b8a6fb
           Name : md_stripey
  Creation Time : Sun Feb 23 22:08:02 2014
     Raid Level : raid5
   Raid Devices : 3

 Avail Dev Size : 3907028992 (1863.02 GiB 2000.40 GB)
     Array Size : 3907028992 (3726.03 GiB 4000.80 GB)
    Data Offset : 16 sectors
   Super Offset : 8 sectors
   Unused Space : before=0 sectors, after=160 sectors
          State : active
    Device UUID : a69bf0c5:49d75e40:2ad555a4:fe6d68c3

    Update Time : Wed Feb  1 00:13:22 2017
       Checksum : b504bd62 - correct
         Events : 574909

         Layout : parity-last
     Chunk Size : 512K

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

当我尝试激活时;

root@mindstorm4: mdadm -A --scan -v
mdadm: looking for devices for further assembly
<snip>
mdadm: no RAID superblock on /dev/sda
mdadm: /dev/sdd is identified as a member of /dev/md/md_stripey_0, slot 1.
mdadm: /dev/sdc is identified as a member of /dev/md/md_stripey_0, slot 2.
mdadm: /dev/sdb is identified as a member of /dev/md/md_stripey_0, slot 0.
mdadm: added /dev/sdb to /dev/md/md_stripey_0 as 0 (possibly out of date)
mdadm: added /dev/sdd to /dev/md/md_stripey_0 as 1 (possibly out of date)
mdadm: added /dev/sdc to /dev/md/md_stripey_0 as 2
mdadm: /dev/md/md_stripey_0 assembled from 1 drive - not enough to start the array.
mdadm: looking for devices for further assembly
mdadm: No arrays found in config file or automatically

但是,设备文件 /dev/md/md_stripey_0 不存在,所以我无法使用--detail 检查阵列状态。

此外,我担心运行,mdadm -A --force ...因为手册页说这具有潜在的破坏性。

相关内容