以下是在我公司服务器上得到的结果,两个80G的硬盘设置成RAID 0======================== HDD Information ======================== SCSI : 4 Model Number : SiI RAID 0 Set Firmware Revision : 2.00 Serial Number :======================== Disk Information ======================== >>>>> Total =1*********** Disk ID = 0 *********** GUID = \\?\scsi#disk&ven_sii&prod_raid_0_set_0&rev_1100#5&eaa22f8&0&000#{53f5630 7-b6bf-11d0-94f2-00a0c91efb8b} Device Bus Type : SCSI Removable Media : FALSE Capacity : 152695.94 MB Cylinders : 19466 Tracks per Cylinder : 255 Sectors per Track : 63 Bytes per Sector : 512 Product ID : RAID 0 Set 0 Firmware Revision : 1100 Serial Number : N/A======================== CDROM Information ======================== >>>>> Total =1*********** CDROM ID = 0 *********** GUID = \\?\scsi#cdrom&ven_generic&prod_dvd-rom&rev_1.0#2&90be8e8&0&000#{53f56308 -b6bf-11d0-94f2-00a0c91efb8b} Device Bus Type : SCSI Removable Media : TRUE Capacity : 0.00 MB Cylinders : 0 Tracks per Cylinder : 0 Sectors per Track : 0 Bytes per Sector : 0 Product ID : DVD-ROM Firmware Revision : 1.0 Serial Number : N/A==================================== GetIDEInfo没得到结果,“can not get HDD info” ==================================== 我家里的机子是一个SATA硬盘,但在公司没法试,今天晚上再把结果帖出来 ly_liuyang(Liu Yang)兄一定要救我啊!
在家里试过了,DriverInfo.exe 得出以下结果: ======================== Driver Information ================================================ HDD Information ======================== SCSI : 2 Model Number : ST3160023AS Firmware Revision : 3.18 Serial Number : 3JS3KQ2Q======================== Disk Information ======================== >>>>> Total =1*********** Disk ID = 0 *********** GUID = \\?\scsi#disk&ven_st316002&prod_3as&rev_3.18#5&3af98dbc&0&000#{53f56307-b 6bf-11d0-94f2-00a0c91efb8b} Device Bus Type : SCSI Removable Media : FALSE Capacity : 152625.34 MB Cylinders : 19457 Tracks per Cylinder : 255 Sectors per Track : 63 Bytes per Sector : 512 Product ID : 3AS Firmware Revision : 3.18 Serial Number : N/A======================== CDROM Information ======================== >>>>> Total =2*********** CDROM ID = 0 *********** GUID = \\?\ide#cdrompioneer_dvd-rom_dvd-120_________________1.23____#5&2e24fa88& 0&0.0.0#{53f56308-b6bf-11d0-94f2-00a0c91efb8b} Device Bus Type : ATAPI Removable Media : TRUE Capacity : 0.00 MB Cylinders : 0 Tracks per Cylinder : 0 Sectors per Track : 0 Bytes per Sector : 0 Product ID : PIONEER DVD-ROM DVD-120 Firmware Revision : 1.23 Serial Number : ============================================== GetIdeInfo.exe得出以下结果: HDD2:ST3160023AS Rev: 3.18 SN:3JS3KQ2Q ================================================ 跟上面的结果一样,但为什么会变成HDD2?? 我在系统的设备管理里面查看硬盘信息得出的结果跟上面程序得到的一样!还有就是设置成RAID 就取不到了,可能因为RAID是两个硬盘当成一个硬盘,所以 没法取序列号的缘故……ly_liuyang(Liu Yang) 兄能把您的代码给我吗?
的确,SATA不同IDE了但我认为通过MiniPort可以获得结果的看看
http://ly.activepower.net/projects/GetIDEInfo.exe
和
http://ly.activepower.net/projects/DriverInfo.exe
可以获得结果吗?
这个http://ly.activepower.net/projects/GetIDEInfo.exe是什么结果
请把http://ly.activepower.net/projects/DriverInfo.exe的全部结果贴出来看看了
SCSI : 4
Model Number : SiI RAID 0 Set
Firmware Revision : 2.00
Serial Number :======================== Disk Information ========================
>>>>> Total =1*********** Disk ID = 0 ***********
GUID = \\?\scsi#disk&ven_sii&prod_raid_0_set_0&rev_1100#5&eaa22f8&0&000#{53f5630
7-b6bf-11d0-94f2-00a0c91efb8b}
Device Bus Type : SCSI
Removable Media : FALSE
Capacity : 152695.94 MB
Cylinders : 19466
Tracks per Cylinder : 255
Sectors per Track : 63
Bytes per Sector : 512
Product ID : RAID 0 Set 0
Firmware Revision : 1100
Serial Number : N/A======================== CDROM Information ========================
>>>>> Total =1*********** CDROM ID = 0 ***********
GUID = \\?\scsi#cdrom&ven_generic&prod_dvd-rom&rev_1.0#2&90be8e8&0&000#{53f56308
-b6bf-11d0-94f2-00a0c91efb8b}
Device Bus Type : SCSI
Removable Media : TRUE
Capacity : 0.00 MB
Cylinders : 0
Tracks per Cylinder : 0
Sectors per Track : 0
Bytes per Sector : 0
Product ID : DVD-ROM
Firmware Revision : 1.0
Serial Number : N/A====================================
GetIDEInfo没得到结果,“can not get HDD info”
====================================
我家里的机子是一个SATA硬盘,但在公司没法试,今天晚上再把结果帖出来
ly_liuyang(Liu Yang)兄一定要救我啊!
======================== Driver Information ================================================ HDD Information ========================
SCSI : 2
Model Number : ST3160023AS
Firmware Revision : 3.18
Serial Number : 3JS3KQ2Q======================== Disk Information ========================
>>>>> Total =1*********** Disk ID = 0 ***********
GUID = \\?\scsi#disk&ven_st316002&prod_3as&rev_3.18#5&3af98dbc&0&000#{53f56307-b
6bf-11d0-94f2-00a0c91efb8b}
Device Bus Type : SCSI
Removable Media : FALSE
Capacity : 152625.34 MB
Cylinders : 19457
Tracks per Cylinder : 255
Sectors per Track : 63
Bytes per Sector : 512
Product ID : 3AS
Firmware Revision : 3.18
Serial Number : N/A======================== CDROM Information ========================
>>>>> Total =2*********** CDROM ID = 0 ***********
GUID = \\?\ide#cdrompioneer_dvd-rom_dvd-120_________________1.23____#5&2e24fa88&
0&0.0.0#{53f56308-b6bf-11d0-94f2-00a0c91efb8b}
Device Bus Type : ATAPI
Removable Media : TRUE
Capacity : 0.00 MB
Cylinders : 0
Tracks per Cylinder : 0
Sectors per Track : 0
Bytes per Sector : 0
Product ID : PIONEER DVD-ROM DVD-120
Firmware Revision : 1.23
Serial Number : ==============================================
GetIdeInfo.exe得出以下结果:
HDD2:ST3160023AS
Rev: 3.18
SN:3JS3KQ2Q
================================================
跟上面的结果一样,但为什么会变成HDD2??
我在系统的设备管理里面查看硬盘信息得出的结果跟上面程序得到的一样!还有就是设置成RAID 就取不到了,可能因为RAID是两个硬盘当成一个硬盘,所以
没法取序列号的缘故……ly_liuyang(Liu Yang) 兄能把您的代码给我吗?
http://home.earthlink.net/~akonshin/delphi_components.htm
http://home.earthlink.net/~akonshin/files/IdeSN2.zip可以接贴了BTW:顺便支持下我了
http://community.csdn.net/Expert/topic/3321/3321491.xml?temp=.6684687