Skip to content

The mdstat parser is not saving the super information #4306

Open
@bfahr

Description

@bfahr

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}]}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions