Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The mdstat parser is not saving the super information #4306

Open
bfahr opened this issue Dec 12, 2024 · 2 comments
Open

The mdstat parser is not saving the super information #4306

bfahr opened this issue Dec 12, 2024 · 2 comments

Comments

@bfahr
Copy link
Contributor

bfahr commented Dec 12, 2024

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}]}
@drckeefe
Copy link

@ncroxon can you take a look at this when you get a chance?

@bfahr
Copy link
Contributor Author

bfahr commented Dec 12, 2024

Any work on this should probably include fixing this bug fix #3788

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants