收起左侧

RAID5 8块磁盘 每次reboot 都需要修复

2
回复
636
查看
[ 复制链接 ]

0

主题

1

回帖

0

牛值

江湖小虾

2025-3-6 13:26:09 显示全部楼层 阅读模式
本帖最后由 ryuusetou 于 2025-3-6 13:27 编辑


设备环境:物理机、公网、v0.8.39、自组nas

BUG现象:8块3T组RAID5,每次reboot固定有一块磁盘无法加载上,要求修复,但扫描这块硬盘硬件又是好的

出现频率:必现

联系方式:fnOS381群ryuusetou

日志文件:见附件
收藏
送赞
分享

本帖子中包含更多资源

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

x

0

主题

1

回帖

0

牛值

江湖小虾

2025-3-6 13:32:38 楼主 显示全部楼层
cat /proc/partitions 看这块硬盘只有一个 /dev/sdb,不像其他硬盘样,有/dev/sda又有/dev/sda1。
但是我 fdisk -l /dev/sdb 却又能看到分区 /dev/sdb1
ryuusetou@NAS:~$ sudo fdisk -l /dev/sdb
Disk /dev/sdb: 2.73 TiB, 3000592982016 bytes, 5860533168 sectors
Disk model: ST3000VN007-2DM1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: D62756A8-63ED-4528-BFB3-7C349A25CCA1

Device     Start        End    Sectors  Size Type
/dev/sdb1   2048 5860532223 5860530176  2.7T Linux RAID
ryuusetou@NAS:~$


搜索journalctl 日志,确实唯独没有加到/dev/sdb1
Mar 06 08:23:27 NAS kernel: md/raid:md125: device sda1 operational as raid disk 0
Mar 06 08:23:27 NAS kernel: md/raid:md125: device sdd1 operational as raid disk 3
Mar 06 08:23:27 NAS kernel: md/raid:md125: device sdc1 operational as raid disk 1
Mar 06 08:23:27 NAS kernel: md/raid:md125: device sdg1 operational as raid disk 5
Mar 06 08:23:27 NAS kernel: md/raid:md125: device sdf1 operational as raid disk 6
Mar 06 08:23:27 NAS kernel: md/raid:md125: device sdh1 operational as raid disk 7
Mar 06 08:23:27 NAS kernel: md/raid:md125: device sde1 operational as raid disk 4
Mar 06 08:23:27 NAS kernel: md/raid:md125: raid level 5 active with 7 out of 8 devices, algorithm 2
Mar 06 08:23:27 NAS triminit[2527]: mdadm: started array /dev/md/NAS:0_0

43

主题

8457

回帖

0

牛值

管理员

2025-3-6 18:26:14 显示全部楼层
已联系正在排查
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则