Use pmdaCache to handle disk instances in Solaris PMDA
Disks come and go and it's not enough to scan the chains once
at startup to discover all of them. Also the instances can shuffle around.
To deal with all these complications use pmdaCache to map internal
to external instance identifiers in the disk instance domain.
Also add full compilement of metrics from device_error kstat's class.
I didn't handle Model for IDE devices - logically it's the same
as Product in SCSI devices but has different name and I didn't feel like
adding more code to handle both.
Use pmdaCache to handle disk instances in Solaris PMDA
Disks come and go and it's not enough to scan the chains once
at startup to discover all of them. Also the instances can shuffle around.
To deal with all these complications use pmdaCache to map internal
to external instance identifiers in the disk instance domain.
Also add full compilement of metrics from device_error kstat's class.
I didn't handle Model for IDE devices - logically it's the same
as Product in SCSI devices but has different name and I didn't feel like
adding more code to handle both.