-
Notifications
You must be signed in to change notification settings - Fork 349
Closed
Description
Hello,
here is my cat /proc/mdstat
:
md0 : active raid5 sdf1[4] sde1[1] sdc1[2] sdb1[0]
14650718208 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [UUU_]
[===================>.] recovery = 99.9% (4882207424/4883572736) finish=7.8min speed=2908K/sec
bitmap: 2/37 pages [8KB], 65536KB chunk
The total_blocks
(14650718208) can differ from the block_to_be_synced
[due to lack of a better name] (4883572736).
But the output only gives the total_blocks
.
Line 26 in 5cca38b
recoveryLineBlocksRE = regexp.MustCompile(`\((\d+)/\d+\)`) |
In this regex, the second \d
contains the needed value.
Can you add it to the output?
Metadata
Metadata
Assignees
Labels
No labels