diff --git a/cgroup1/blkio.go b/cgroup1/blkio.go index 3be884c7..9c672d36 100644 --- a/cgroup1/blkio.go +++ b/cgroup1/blkio.go @@ -191,6 +191,10 @@ func (b *blkioController) readEntry(devices map[deviceKey]string, path, name str return fmt.Errorf("invalid line found while parsing %s: %s", path, sc.Text()) } } + // Kernels using NVMe multipath can report hidden devices as unknown; ignore those rows. + if fields[0] == "(unknown)" { + continue + } major, err := strconv.ParseUint(fields[0], 10, 64) if err != nil { return err