Buffer I/O error on device sdh

一台Dell 6950服务器频繁出现'Buffer I/O error on device sdh'错误,导致无法读取分区表。通过检查emc设备、scsi设备,发现问题是Linux将虚拟软驱识别为sdh设备。解决方法是登录DRAC,取消附加虚拟介质的设置,关闭虚拟软驱。

一台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--&gt介质--&gt附加虚拟介质的钩去掉即可

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

转载于:http://blog.itpub.net/100091/viewspace-1006324/

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值