You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The minor number of dm devices may change after system reboot if they initialize in a different order or simply after a device is removed, for example a logical volume. This will cause the "-p" flag to print wrong information.
For example, here I've generated load on logical volume "rl-a", it's minor number is 3
Try to use option -j to display persistent device names with sar.
Version 12.1.7 added stable identifier support for disks statistics. This stable identifier won't change across reboots for the same physical device. If it exists, this identifier is normally the WWN (World Wide Name) of the device, as read from the /dev/disk/by-id directory:
The minor number of dm devices may change after system reboot if they initialize in a different order or simply after a device is removed, for example a logical volume. This will cause the "-p" flag to print wrong information.
For example, here I've generated load on logical volume "rl-a", it's minor number is 3
03:50:21 PM rl-a 77.23 0.08 150092.47 1943.42 5.02 64.96 4.96 38.35
03:50:21 PM rl-b 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:50:21 PM rl-c 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:50:21 PM rl-d 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
After I delete the rl-a logical volume and reboot the system sar will falsely report that rl-b was under load as it will take minor number 3
03:50:21 PM rl-b 77.23 0.08 150092.47 1943.42 5.02 64.96 4.96 38.35
03:50:21 PM rl-c 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:50:21 PM rl-d 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.0
I have had this happen before without having to delete volumes, just a reboot was enough to change the order, but I'm unable to reproduce it.
sysstat version here is 11.7.3
The text was updated successfully, but these errors were encountered: