知乎專欄 | 多維度架構 | 微信號 netkiller-ebook | QQ群:128659835 請註明“讀者” |
# yum install lsscsi
lsscsi
# lsscsi [1:0:0:0] disk ATA WDC WD10EZEX-00R 80.0 /dev/sda [2:0:0:0] disk ATA WDC WD10EZEX-00R 80.0 /dev/sdb [5:0:0:0] cd/dvd PIONEER DVD-ROM DVD-231 1.02 /dev/sr0 # lsscsi -L [1:0:0:0] disk ATA WDC WD10EZEX-00R 80.0 /dev/sda device_blocked=0 iocounterbits=32 iodone_cnt=0x4cdcf62 ioerr_cnt=0x3 iorequest_cnt=0x4d27c32 queue_depth=31 queue_type=simple scsi_level=6 state=running timeout=30 type=0 [2:0:0:0] disk ATA WDC WD10EZEX-00R 80.0 /dev/sdb device_blocked=0 iocounterbits=32 iodone_cnt=0x4ac8a9c ioerr_cnt=0x3 iorequest_cnt=0x4b11222 queue_depth=31 queue_type=simple scsi_level=6 state=running timeout=30 type=0 [5:0:0:0] cd/dvd PIONEER DVD-ROM DVD-231 1.02 /dev/sr0 device_blocked=0 iocounterbits=32 iodone_cnt=0x1a ioerr_cnt=0x0 iorequest_cnt=0x44 queue_depth=1 queue_type=none scsi_level=6 state=running timeout=30 type=5
# cat /proc/scsi/scsi Attached devices: Host: scsi0 Channel: 02 Id: 00 Lun: 00 Vendor: DELL Model: PERC H700 Rev: 2.10 Type: Direct-Access ANSI SCSI revision: 05 Host: scsi0 Channel: 02 Id: 01 Lun: 00 Vendor: DELL Model: PERC H700 Rev: 2.10 Type: Direct-Access ANSI SCSI revision: 05