Open
Description
There is additional information in /proc/mdstat
such as shown here super external:imsm
that is not being saved by the Mdstat parser. It needs to be added to the parser output.
md4 : active raid1 sdc1[3] sdd1[2]
510976 blocks super external:imsm
bitmap: 0/1 pages [0KB], 65536KB chunk
Output from the parser is:
{'device_name': 'md4',
'raid': 'raid1',
'active': True,
'auto_read_only': False,
'component_name': 'sdc1',
'role': 3,
'device_flag': '',
'blocks': 510976},
{'device_name': 'md4',
'raid': 'raid1',
'active': True,
'auto_read_only': False,
'component_name': 'sdd1',
'role': 2,
'device_flag': '',
'blocks': 510976}]}