How to check the machine hard disk model and block number under linux

cat /proc/scsi/scsi
Attached devices:
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: IBM      Model: AuSaV1S2         Rev: 0
  Type:   Processor                        ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 01 Lun: 00
  Vendor: IBM      Model: SERVERAID        Rev: 1.00
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 02 Lun: 00
  Vendor: IBM      Model: SERVERAID        Rev: 1.00
  Type:   Processor                        ANSI SCSI revision: 02
Host: scsi2 Channel: 01 Id: 03 Lun: 00
  Vendor: IBM      Model: AuSbV1S2         Rev: 0
  Type:   Processor                        ANSI SCSI revision: 02

 

 

 

Where Id is the number of the disk, the largest one is the number of blocks, such as 3, then four disks

See Vendor and Model below for the model of the disc

 

Guess you like

Origin blog.csdn.net/java2000_net/article/details/6560426