I'm trying to figure out which devices are which in UCD-DISKIO-MIB; it seems opensolaris has 3 different names for things:
* zpool likes the nice simple /dev/dsk names, e.g. c3t6d0 * there's the horrendous actual name those are symlinks to: /dev/devices/p...@0,0/pci8086,2...@1c/pci1033,1...@0/pci1043,8...@6/s...@6,0:wd * there's the name net-snmp reports: sd6 At least I think sd6 is what c3t6d0 is, from the "s...@6" in the long name. But there are three cmdk devices also: lrwxrwxrwx 1 root root 51 2009-03-06 12:42 /dev/dsk/c5d0s0 -> ../../devices/p...@0,0/pci-...@1f,2/i...@0/c...@0,0:a lrwxrwxrwx 1 root root 52 2010-09-23 00:59 c5d1 -> ../../devices/p...@0,0/pci-...@1f,2/i...@0/c...@1,0:wd lrwxrwxrwx 1 root root 52 2010-09-23 00:59 c6d0 -> ../../devices/p...@0,0/pci-...@1f,2/i...@1/c...@0,0:wd lrwxrwxrwx 1 root root 52 2009-03-17 16:23 c6d1 -> ../../devices/p...@0,0/pci-...@1f,2/i...@1/c...@1,0:wd (though there is no c6d1 in the system) UCD-DISKIO-MIB::diskIODevice.1 = STRING: cmdk0 UCD-DISKIO-MIB::diskIODevice.2 = STRING: sd6 UCD-DISKIO-MIB::diskIODevice.3 = STRING: sd2 UCD-DISKIO-MIB::diskIODevice.4 = STRING: sd3 UCD-DISKIO-MIB::diskIODevice.5 = STRING: sd7 UCD-DISKIO-MIB::diskIODevice.6 = STRING: sd4 UCD-DISKIO-MIB::diskIODevice.7 = STRING: sd8 UCD-DISKIO-MIB::diskIODevice.8 = STRING: sd1 UCD-DISKIO-MIB::diskIODevice.9 = STRING: sd5 UCD-DISKIO-MIB::diskIODevice.10 = STRING: cmdk1 UCD-DISKIO-MIB::diskIODevice.11 = STRING: cmdk3 I'm guessing cmdk0 is c5d0, as that's the "rpool" system disk and it would make sense for it to be first, and c5d1 and c6d0 were just added (mirrored pair of ssds for the zil), so they're at the end. But I can't figure out how to make sure I know which drive is which when monitoring activity... -- This message posted from opensolaris.org _______________________________________________ sysadmin-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/sysadmin-discuss
