Package: collectd Version: 4.4.2-3 I turned on the "disk" plugin with the default options. This resulted in a bunch of rrds with names like this: /var/lib/collectd/rrd/chiark.greenend.org.uk/disk-md*/*.rrd /var/lib/collectd/rrd/chiark.greenend.org.uk/disk-dm*/*.rrd /var/lib/collectd/rrd/chiark.greenend.org.uk/disk-sd*/*.rrd
However, on Linux nowadays device names and minor numbers are not stable. That means that if I reboot and different numbers get assigned, data from quite logically or physically different devices may be aggregated into a single rrd. There should be a way for me to specify device name patterns in /dev, which the disk plugin should stat() to find the major and minor numbers. I would suggest a new directive: LogicalDisks "/dev/<volumegroup>/*" [for example] Uses glob() to find the list of names, and stat() to find the device numbers, and then records statistics corresponding to that device (comparing device numbers rather than names in /proc/diskstat) in /var/lib/collect/rrd/<host>/logicaldisk-<mangled-path-in-dev>/*.rrd If not used in combination with "IgnoreSelected true" this would record some information twice. Ian. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org