diff --git a/services/enclosure.py b/services/enclosure.py index d525e43..31bb9bf 100644 --- a/services/enclosure.py +++ b/services/enclosure.py @@ -118,7 +118,7 @@ def _parse_slot_number(entry: Path) -> int | None: # Bare numeric directory — check the type file to confirm it's a device slot if name.isdigit(): entry_type = _read_sysfs(entry / "type") - if entry_type not in ("device", "disk"): + if entry_type not in ("device", "disk", "array device"): return None # Prefer the 'slot' file for the actual slot number slot_val = _read_sysfs(entry / "slot")