红联Linux门户
Linux帮助

Linux下查看硬盘型号的方法

发布时间:2007-08-06 12:25:05来源:红联作者:Database
基本上大部分的硬件信息都在dmesg里。

在SCSI subsystem initialized后面都是scsi的信息。

一般不使用Raid卡的信息象

scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36



aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs

(scsi0:A:0): 160.000MB/s transfers (80.000MHz DT, offset 63, 16bit)

(scsi0:A:1): 160.000MB/s transfers (80.000MHz DT, offset 63, 16bit)

(scsi0:A:2): 160.000MB/s transfers (80.000MHz DT, offset 63, 16bit)

(scsi0:A:3): 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)

(scsi0:A:4): 160.000MB/s transfers (80.000MHz DT, offset 63, 16bit)

Vendor: SEAGATE Model: ST3300007LC Rev: D704

Type: Direct-Access ANSI SCSI revision: 03


硬盘的品牌就是SEAGATE,型号ST3300007LC

使用Raid卡的话信息象

scsi0 : LSI Logic SAS based MegaRAID driver

Vendor: DP Model: BACKPLANE Rev: 1.00

Type: Enclosure ANSI SCSI revision: 05

Vendor: DELL Model: PERC 5/i Rev: 1.00

Type: Direct-Access ANSI SCSI revision: 05

SCSI device sda: 584843264 512-byte hdwr sectors (299440 MB)


如果是PERC 5/i的Raid卡

  1、安装megacli

rsync
202.108.37.132::download/software/raidmanager/MegaCli-1.01.09-0.i386.rpm

MegaCli -PDList -aALL 查看硬盘信息

信息象

Enclosure Number: 1

Slot Number: 3

Device Id: 3

Sequence Number: 2

Media Error Count: 0

Other Error Count: 0

Predictive Failure Count: 0

Last Predictive Failure Event Seq Number: 0

Raw Size: 286102MB [0x22ecb25c Sectors]

Non Coerced Size: 285590MB [0x22dcb25c Sectors]

Coerced Size: 285568MB [0x22dc0000 Sectors]

Firmware state: Online

SAS Address(0): 0x50010b9000435db6

SAS Address(1): 0x0

Inquiry Data: MAXTOR ATLAS10K5_300SASBP00J80LWE0K A


品牌就是:MAXTOR

型号为:ATLAS10K5_300SASW
文章评论

共有 0 条评论