Hard Disk number

  • Thread starter Thread starter Shonty
  • Start date Start date
S

Shonty

Does any body know how to get the SCSI hard disk's serial number.
please help.

thanks
shonty
 
I don't believe the serial number is kept in software, so you open the
computer case and look at the face of the drive. It will be on sticker
on the drive face. Also, if you kept the box it came in, often it is on
the box near the UPC code. I assume you really mean serial number, and
not SCSI ID number, which you should be able to get from software. As
your SCSI controller boots up, there is usually a key combination you
can hit, CTRL-A or the like, that can list the devices if it doesn't
already show them.
 
Irwin said:
I don't believe the serial number is kept in software, so you open the
computer case and look at the face of the drive. It will be on sticker
on the drive face. Also, if you kept the box it came in, often it is on
the box near the UPC code. I assume you really mean serial number, and
not SCSI ID number, which you should be able to get from software. As
your SCSI controller boots up, there is usually a key combination you
can hit, CTRL-A or the like, that can list the devices if it doesn't
already show them.

Hi Irwin,
thank for reply,
but we can get SCSi Hard disk no too , I found about IDE drives but it
does'nt gives for SCSI Hard disk. Please see the link below
http://www.winsim.com/diskid32/diskid32.cpp
Like that if you can give the code for SCSI HDD plz
 
Previously Shonty said:
Does any body know how to get the SCSI hard disk's serial number.
please help.

You can try "smartctl -i <device>". On some this works.

Arno
 
Shonty said:
Does any body know how to get the SCSI hard disk's serial number.
please help.

thanks
shonty
I think some drives put it in the code page, so any code page reader
should be able to extract it. E.g. I think Seagate has "Sea tools" on
their web site, and it should be able to do so.
 
CJT said:
I think some drives put it in the code page, so any code page reader

mode page, modepage reader.

Actually there are several types of pages such as informational data
pages and log pages, to name a few.

The serial number is in an 'Inquiry' data page.
 
Arno Wagner said:
You can try "smartctl -i <device>". On some this works.

If it works on "some" then it doesn't check the 'Unit serial number page',
page 80h.
If it doesn't (or the drive doesn't support Extended Vital Product Data,
EVPD) then the serial number may be in different places depending on
drive manufacturer (ie vendor specific).
Get an app that reads the 'Unit serial number page'.
 
Folkert said:
reader

mode page, modepage reader.

Actually there are several types of pages such as informational data
pages and log pages, to name a few.

The serial number is in an 'Inquiry' data page.




Thanks all for your reply but can anybody give some sample code for
extracting HDD serial no.
or if you any link regarding that please send it , thanks
 
Back
Top