diff --git a/plugins/inputs/diskio/diskio_linux.go b/plugins/inputs/diskio/diskio_linux.go index 4af75f912b81b..6e6d4a37c5a9b 100644 --- a/plugins/inputs/diskio/diskio_linux.go +++ b/plugins/inputs/diskio/diskio_linux.go @@ -66,7 +66,7 @@ func (d *DiskIO) diskInfo(devName string) (map[string]string, error) { // This allows us to also "poison" it during test scenarios sysBlockPath = ic.sysBlockPath } else { - sysBlockPath = "/sys/block/" + devName + sysBlockPath = "/sys/class/block/" + devName } devInfo, err := readDevData(sysBlockPath)