收起左侧

RAID元数据不同步导致掉盘

1
回复
122
查看
[ 复制链接 ]

1

主题

0

回帖

0

牛值

江湖小虾

2025-5-27 17:16:02 显示全部楼层 阅读模式

安装环境:物理机,G4560 CPU。

系统:0.9.2

存储空间基本信息:7块HDD组RAID6,已使用约80%容积。

当前故障:RAID6阵列failed,终端中提示not enough operational devices ( 3/7 FAILED ) 提示坏三块盘。但是跑SMART检测所有盘没有物理损坏。

问题发生前后的操作:没有任何读写操作,(下面的描述还原子系统日志)早上8点所有磁盘进入休眠状态;当晚十一点突然有三条“推出磁盘”,推出了sd[aef],接着就是一条存储空间1损坏的消息;接着又有三条日志显示“插入磁盘”插入了sd[aij];

图片1.png

经过我自己用sudo mdadm --examine得到:(详见下方代码块)

有三块盘update time落后了十多个小时,

为Sat May 17 08:23:45 2025,且这三块盘的ARRAYSTATE是AAAAAAA,Events=60

剩余4块盘(updatetime Sat May 17 23:10:01 2025)是AA.AA.. , Events=64

因此我推测应该是元数据不同步导致的掉盘,这期间没有读写数据,update可能时系统周期性update 。

联系方式:13833187629 / 飞牛私有云 fnOS368+Unicorn / tonyawesome@foxmail.com

/dev/sda1:
   MBR Magic : aa55
/dev/sdb1:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : 34a0fab1:a19bd4ae:cb96fe53:d09155ef
           Name : 内部3+3+1 HDD存储空间
  Creation Time : Wed Feb 26 01:50:25 2025
     Raid Level : raid6
   Raid Devices : 7

 Avail Dev Size : 976506880 sectors (465.63 GiB 499.97 GB)
     Array Size : 2441267200 KiB (2.27 TiB 2.50 TB)
    Data Offset : 264192 sectors
   Super Offset : 8 sectors
   Unused Space : before=264112 sectors, after=0 sectors
          State : clean
    Device UUID : 20dbbf56:deab3080:67042209:13f68744

Internal Bitmap : 8 sectors from superblock
    Update Time : Sat May 17 23:10:01 2025
  Bad Block Log : 512 entries available at offset 16 sectors
       Checksum : eba42ac - correct
         Events : 64

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 0
   Array State : AA.AA.. ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdc1:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : 34a0fab1:a19bd4ae:cb96fe53:d09155ef
           Name : 内部3+3+1 HDD存储空间
  Creation Time : Wed Feb 26 01:50:25 2025
     Raid Level : raid6
   Raid Devices : 7

 Avail Dev Size : 976506880 sectors (465.63 GiB 499.97 GB)
     Array Size : 2441267200 KiB (2.27 TiB 2.50 TB)
    Data Offset : 264192 sectors
   Super Offset : 8 sectors
   Unused Space : before=264112 sectors, after=0 sectors
          State : clean
    Device UUID : 6b1013cf:7fe0e84d:50a4d88f:7d6fd0b1

Internal Bitmap : 8 sectors from superblock
    Update Time : Sat May 17 08:23:45 2025
  Bad Block Log : 512 entries available at offset 16 sectors
       Checksum : 48c8f63c - correct
         Events : 60

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 2
   Array State : AAAAAAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdd1:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : 34a0fab1:a19bd4ae:cb96fe53:d09155ef
           Name : 内部3+3+1 HDD存储空间
  Creation Time : Wed Feb 26 01:50:25 2025
     Raid Level : raid6
   Raid Devices : 7

 Avail Dev Size : 976506880 sectors (465.63 GiB 499.97 GB)
     Array Size : 2441267200 KiB (2.27 TiB 2.50 TB)
    Data Offset : 264192 sectors
   Super Offset : 8 sectors
   Unused Space : before=264112 sectors, after=0 sectors
          State : clean
    Device UUID : 98cda7d5:dd524eba:e8500c99:67315d02

Internal Bitmap : 8 sectors from superblock
    Update Time : Sat May 17 08:23:45 2025
  Bad Block Log : 512 entries available at offset 16 sectors
       Checksum : 1583944c - correct
         Events : 60

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 5
   Array State : AAAAAAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sde1:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : 34a0fab1:a19bd4ae:cb96fe53:d09155ef
           Name : 内部3+3+1 HDD存储空间
  Creation Time : Wed Feb 26 01:50:25 2025
     Raid Level : raid6
   Raid Devices : 7

 Avail Dev Size : 976506880 sectors (465.63 GiB 499.97 GB)
     Array Size : 2441267200 KiB (2.27 TiB 2.50 TB)
    Data Offset : 264192 sectors
   Super Offset : 8 sectors
   Unused Space : before=264112 sectors, after=0 sectors
          State : clean
    Device UUID : b59b1dcc:dbd1ab61:9405771c:107e6340

Internal Bitmap : 8 sectors from superblock
    Update Time : Sat May 17 23:10:01 2025
  Bad Block Log : 512 entries available at offset 16 sectors
       Checksum : 74c3b26b - correct
         Events : 64

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 3
   Array State : AA.AA.. ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdf1:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : 34a0fab1:a19bd4ae:cb96fe53:d09155ef
           Name : 内部3+3+1 HDD存储空间
  Creation Time : Wed Feb 26 01:50:25 2025
     Raid Level : raid6
   Raid Devices : 7

 Avail Dev Size : 976506880 sectors (465.63 GiB 499.97 GB)
     Array Size : 2441267200 KiB (2.27 TiB 2.50 TB)
    Data Offset : 264192 sectors
   Super Offset : 8 sectors
   Unused Space : before=264112 sectors, after=0 sectors
          State : clean
    Device UUID : e56a5b2a:8124cf92:4b3a00d6:3460174c

Internal Bitmap : 8 sectors from superblock
    Update Time : Sat May 17 23:10:01 2025
  Bad Block Log : 512 entries available at offset 16 sectors
       Checksum : c961eb1d - correct
         Events : 64

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 4
   Array State : AA.AA.. ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdh1:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : 34a0fab1:a19bd4ae:cb96fe53:d09155ef
           Name : 内部3+3+1 HDD存储空间
  Creation Time : Wed Feb 26 01:50:25 2025
     Raid Level : raid6
   Raid Devices : 7

 Avail Dev Size : 976506880 sectors (465.63 GiB 499.97 GB)
     Array Size : 2441267200 KiB (2.27 TiB 2.50 TB)
    Data Offset : 264192 sectors
   Super Offset : 8 sectors
   Unused Space : before=264112 sectors, after=0 sectors
          State : clean
    Device UUID : f7334fee:fb6c3819:b0e5ac2a:bf37eb4a

Internal Bitmap : 8 sectors from superblock
    Update Time : Sat May 17 23:10:01 2025
  Bad Block Log : 512 entries available at offset 16 sectors
       Checksum : 673f7f96 - correct
         Events : 64

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 1
   Array State : AA.AA.. ('A' == active, '.' == missing, 'R' == replacing)
收藏
送赞
分享

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x

38

主题

8000

回帖

0

牛值

管理员

2025-5-30 18:33:50 显示全部楼层
已在群内联系,麻烦通过一下好友
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则