Skip to content

Commit

Permalink
Do not recognize partitions of RAIDs as full RAIDs
Browse files Browse the repository at this point in the history
  • Loading branch information
mwhudson authored and dbungert committed May 6, 2022
1 parent 639255e commit e4115e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions probert/raid.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ def probe(context=None, report=False):

raids = {}
for device in sane_block_devices(context):
if device.get('DEVTYPE') != 'disk':
continue
devname = device['DEVNAME']
if not os.path.basename(devname).startswith('md'):
continue
Expand Down

0 comments on commit e4115e8

Please sign in to comment.