Hi

> A more generic solution will be to call from the disk plugin an external
> script (call it a "PersistentNameProvider") that given the kernel name
> will provide the persistent name to use. But I think that this will
> create a great overhead with system with a lot of disks...
> 

In most systems names of disks don't change that often ;) so it could be
cached. In case of DM devices there is also UUID
in /sys/block/dm-X/dm/uuid so it could check if UUID changed and if it
changed rerun script.



-- 
Mariusz Gronczewski (XANi) <[email protected]>
GnuPG: 0xEA8ACE64
http://devrandom.pl

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
collectd mailing list
[email protected]
http://mailman.verplant.org/listinfo/collectd

Reply via email to