我已经设置了 RAID6,它会不时地进行检查,而在检查过程中,我似乎无法写入整个阵列。
细节:
Personalities : [raid6] [raid5] [raid4] [linear] [multipath] [raid0] [raid1] [raid10]
md0 : active raid6 sda1[0] sdh1[7] sdf1[5] sdc1[2] sdb1[1] sdd1[3] sde1[4] sdg1[6]
93754475520 blocks super 1.2 level 6, 512k chunk, algorithm 2 [8/8] [UUUUUUUU]
[================>....] check = 82.8% <REDACTED> finish=278.4min speed=160704K/sec
bitmap: 0/117 pages [0KB], 65536KB chunk
输出如下:
$ sudo mdadm --detail /dev/md0
/dev/md0:
Version : 1.2
Creation Time : Mon May 2 22:14:43 2022
Raid Level : raid6
Array Size : <REDACTED>
Used Dev Size : <REDACTED>
Raid Devices : 8
Total Devices : 8
Persistence : Superblock is persistent
Intent Bitmap : Internal
Update Time : Tue Nov 14 17:28:03 2023
State : clean, checking
Active Devices : 8
Working Devices : 8
Failed Devices : 0
Spare Devices : 0
Layout : left-symmetric
Chunk Size : 512K
Consistency Policy : bitmap
Check Status : 83% complete
Name : <REDACTED>
UUID : <REDACTED>
Events : 189274
Number Major Minor RaidDevice State
0 8 1 0 active sync /dev/sda1
1 8 17 1 active sync /dev/sdb1
2 8 33 2 active sync /dev/sdc1
3 8 49 3 active sync /dev/sdd1
4 8 65 4 active sync /dev/sde1
5 8 81 5 active sync /dev/sdf1
6 8 97 6 active sync /dev/sdg1
7 8 113 7 active sync /dev/sdh1
这会导致机器在检查期间无法使用。我想避免这种情况,但不知道如何避免。我发现的所有结果都说让它完成就行了。
我希望达到这样的情况:阵列不会一次性连续数小时无法使用。