This is done by adding the following to the storage systemd units: ``` IOReadBandwidthMax=/dev/disk/by-id/disk-id $read_limit_bytes IOWriteBandwidthMax=/dev/disk/by-id/disk-id $write_limit_bytes ``` If the disk file resides on a file system backedn by an md device, `disk-id` refers to the persistent ID of the md device. Otherwise, it refers to the ID of the underlying physical disk.
17 KiB
17 KiB