02-26-2009 06:36 PM - last edited on 02-26-2009 08:15 PM by BradC
I’m currently trying to find out what 12 or 16 byte CDB commands i could use to pull the Seagate 9XXXXX-00 part number and the WNN. The current applications i use will pull my model number, Serial number, Capacity and Firmware. I need to pull these two fields off the drives internal boot in order to compare them to what’s on the label. I currently can't find anything giving me a matrix of how to use the right CDB command or a list of commands to access the drive. The drives are 80Pin SCSI 9.1 GB ST39103LC If anyone has any information about pulling the P/N and WWN with a CDB inquiry command or any other means of pulling these two pieces of information it would be much appreciated
thanks, Dustin S
PS. I've downloaded Seatools and that does not pull the information
[Edited: Removed personal information per the community rules and regulations.]
03-04-2009 04:49 PM
I don't think you will find the P/N anywhere and there's a good chance there is no WWN for the drive.
SCSI Interface Product Manual
Most of the identification info can be found with the Inquiry command and VPD page. See section 5.6 Inquiry command (12h), but the drive doesn't have to support all of the commands.
Hope that helps
03-04-2009 05:27 PM
It is actually perfect I ended up pulling the part number off page D1 via inquiry 12,01,D1,00,FF,00 though I did not find the WWN. Some of the pages the SCSI manual defines say pages should be open and have information however most the pages( 80, 82, c1…ect )pull blank or gibberish for information.
This was very tricky to figure out based on the information available from the web so just for anyone looking I’m going to clarify the inquiry command Basically its a set of information in Hex bytes the normal command to inquiry the drive is 12,00,00,ff,00 However after seeing confusing diagrams you will figure out that byte 2 needs to be "Enabled" to access the EVPD (vital Product data) the third byte is defined as the page number. Both the forth and sixth bytes do not need to access information but the 5th byte holds a value to how much information you may return (in hex F is the highest valued number).
If that was as confusing as this command is, here is a brake down
Inquiry Command Enable VPD Page Number (ven uniq) * Ammount to return *
12, 01, 80, 00, FF, 00
Remember you need to read what comes into the buffer of the hard drive to view any of the information this command returns. As far as the page numbers goes that is based on specs set by the manufacturer. The information pertaining to the part number at least in Seagate SCSI and fiber channel drives is found in page D1 with this command. Hope that helps anyone who ran into this issue as well I know it can be heck to figure out especially with the graphs these manuals give.
Excuse the grammar if anyone ever has any questions about this drop me a email DustinSe@gmail.com