ITPub博客

首页 > 应用开发 > IT综合 > Buffer I/O error on device sdh

Buffer I/O error on device sdh

原创 IT综合 作者:logzgh 时间:2008-06-30 16:04:38 0 删除 编辑

一台dell 6950机器突然不断地报

Jun 26 20:54:46 asoftdw_pri kernel: sdh : READ CAPACITY failed.

Jun 26 20:54:46 asoftdw_pri kernel: sdh : status=0, message=00, host=7, driver=00

Jun 26 20:54:46 asoftdw_pri kernel: sdh : sense not available.

Jun 26 20:55:16 asoftdw_pri kernel: sdh: Write Protect is off

Jun 26 20:55:16 asoftdw_pri kernel: sdh: assuming drive cache: write through

Jun 26 20:55:16 asoftdw_pri kernel: sdh:<3>Buffer I/O error on device sdh, logical block 0

Jun 26 20:55:16 asoftdw_pri kernel: Buffer I/O error on device sdh, logical block 0

Jun 26 20:55:16 asoftdw_pri kernel: Buffer I/O error on device sdh, logical block 0

Jun 26 20:55:16 asoftdw_pri kernel: unable to read partition table

这样的错误。

[@more@]

Fdisk -l也是hang在那里。

Df -h看不到sdh的设备。

由于上面挂了emccx3-80,所以查看emc的设备:

root@asoftdw_pri:/var/log> powermt display dev=all

Pseudo name=emcpowerb

CLARiiON ID=CK200071101314 [Storage Group 1]

Logical device ID=600601602CC41D0026B67163E10CDC11 [LUN 1]

state=alive; policy=CLAROpt; priority=0; queued-IOs=0

Owner: default=SP B, current=SP B

==============================================================================

---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---

### HW Path I/O Paths Interf. Mode State Q-IOs Errors

==============================================================================

1 qla2xxx sdb SP A0 active alive 0 0

2 qla2xxx sde SP B0 active alive 0 0

Pseudo name=emcpowera

CLARiiON ID=CK200071101314 [Storage Group 1]

Logical device ID=600601602CC41D00DE825B46E50CDC11 [LUN 0]

state=alive; policy=CLAROpt; priority=0; queued-IOs=0

Owner: default=SP A, current=SP A

==============================================================================

---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---

### HW Path I/O Paths Interf. Mode State Q-IOs Errors

==============================================================================

1 qla2xxx sdc SP A0 active alive 0 0

2 qla2xxx sdf SP B0 active alive 0 0

Pseudo name=emcpowerc

CLARiiON ID=CK200071101314 [Storage Group 1]

Logical device ID=600601609BAC1C00A09A36E9B506DD11 [LUN 3]

state=alive; policy=CLAROpt; priority=0; queued-IOs=0

Owner: default=SP A, current=SP A

==============================================================================

---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---

### HW Path I/O Paths Interf. Mode State Q-IOs Errors

==============================================================================

1 qla2xxx sdd SP A0 active alive 0 0

2 qla2xxx sdg SP B0 active alive 0 0

也没有sdh设备

dmesg中发现

USB Mass Storage device found at 6

scsi4 : SCSI emulation for USB Mass Storage devices

Vendor: Dell Model: Virtual Floppy Rev: 123

Type: Direct-Access ANSI SCSI revision: 02

Attached scsi removable disk sdh at scsi4, channel 0, id 0, lun 0

由于可以看出linux将虚拟的软驱当成了sdh,它认为是USB的硬盘。

查看scsi设备

root@asoftdw_pri:/var/log>cat /proc/scsi/scsi

Attached devices:

Host: scsi0 Channel: 00 Id: 08 Lun: 00

Vendor: DP Model: BACKPLANE Rev: 1.00

Type: Enclosure ANSI SCSI revision: 05

Host: scsi0 Channel: 02 Id: 00 Lun: 00

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

Type: Direct-Access ANSI SCSI revision: 05

Host: scsi1 Channel: 00 Id: 00 Lun: 00

Vendor: DGC Model: RAID 10 Rev: 0324

Type: Direct-Access ANSI SCSI revision: 04

Host: scsi1 Channel: 00 Id: 00 Lun: 01

Vendor: DGC Model: RAID 10 Rev: 0324

Type: Direct-Access ANSI SCSI revision: 04

Host: scsi1 Channel: 00 Id: 00 Lun: 02

Vendor: DGC Model: RAID 5 Rev: 0324

Type: Direct-Access ANSI SCSI revision: 04

Host: scsi2 Channel: 00 Id: 00 Lun: 00

Vendor: DGC Model: RAID 10 Rev: 0324

Type: Direct-Access ANSI SCSI revision: 04

Host: scsi2 Channel: 00 Id: 00 Lun: 01

Vendor: DGC Model: RAID 10 Rev: 0324

Type: Direct-Access ANSI SCSI revision: 04

Host: scsi2 Channel: 00 Id: 00 Lun: 02

Vendor: DGC Model: RAID 5 Rev: 0324

Type: Direct-Access ANSI SCSI revision: 04

Host: scsi3 Channel: 00 Id: 00 Lun: 00

Vendor: Dell Model: Virtual CDROM Rev: 123

Type: CD-ROM ANSI SCSI revision: 02

Host: scsi4 Channel: 00 Id: 00 Lun: 00

Vendor: Dell Model: Virtual Floppy Rev: 123

Type: Direct-Access ANSI SCSI revision: 02

的确是有虚拟的软件,这个虚拟的软驱和光驱是DRAC里面产生的。

可以如下关掉:登陆drac-->介质-->附加虚拟介质的钩去掉即可

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/100091/viewspace-1006324/,如需转载,请注明出处,否则将追究法律责任。

上一篇: iscsi配置
请登录后发表评论 登录
全部评论
  • 博文量
    97
  • 访问量
    976788