Skip to main content

Module mdstat

Module mdstat 

Source
Expand description

Linux md (mdadm) arrays from /proc/mdstat.

Example of the format:

Personalities : [raid1] [raid5]
md1 : active raid5 sdc1[3](S) sdd1[2] sde1[1](F) sdf1[0]
      1953260544 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/2] [U_U]
      [=>...................]  recovery =  8.5% (83046144/976630272) finish=79.2min speed=187904K/sec

unused devices: <none>

Functionsยง

read_arrays
Reads /proc/mdstat. Returns an empty list when md is not loaded.