I've notice what I'd consider a bug in both s10 (any recent patch  
level) and snv where 'iostat -E' output does not present the listed  
devices' serial numbers.

I did some digging and found that, on line 8680 of usr/src/uts/common/ 
io/scsi/targets/sd.c, the sd driver is being explicitly told not to  
set the "Serial No" kstat if the device's vendor PID does not contain  
"SUN" (eg; ST336605LSUN36G)

The comment above this block makes this pretty clear, however I'm  
pretty certain this policy should be relaxed so that a drive's serial  
number is recorded regardless of the drive's providence.

Currently on a system with any non-SUN disks, there's no way of  
retrieving  the serial number of those drives without a 3rd party tool.

Before I submit a CR for this (and the 2 line fix for it) I'd like to  
know from people who might be in-the-know whether this is an  
acceptable route to take because the circumstances seem kind of  
peculiar.

/dale
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to