免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2468 | 回复: 3
打印 上一主题 下一主题

hp-ux报错!在线等! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-02-25 15:46 |只看该作者 |倒序浏览
#dmesg后出现错误!怎么解决阿.在线等!谢谢!

LVM: Failed to automatically resync PV 1f020000  error: 5
LVM: Failed to automatically resync PV 1f020000  error: 5
LVM: Failed to automatically resync PV 1f020000  error: 5
LVM: Failed to automatically resync PV 1f020000  error: 5
LVM: Failed to automatically resync PV 1f020000  error: 5
LVM: Failed to automatically resync PV 1f020000  error: 5
LVM: Failed to automatically resync PV 1f020000  error: 5
LVM: Failed to automatically resync PV 1f020000  error: 5
LVM: Failed to automatically resync PV 1f020000  error: 5
LVM: Failed to automatically resync PV 1f020000  error: 5
LVM: Failed to automatically resync PV 1f020000  error: 5
LVM: Failed to automatically resync PV 1f020000  error: 5
LVM: Failed to automatically resync PV 1f020000  error: 5
LVM: Failed to automatically resync PV 1f020000  error: 5

论坛徽章:
0
2 [报告]
发表于 2009-02-25 16:25 |只看该作者
转如下:
========================

2008年4月9日检查系统syslog发现故障日志如下:

SCSI: Read error -- dev: b 31 0x048000, errno: 126, resid: 2048,

        blkno: 8, sectno: 16, offset: 8192, bcount: 2048.

LVM: vg[1]: pvnum=1 (dev_t=0x1f048000) is POWERFAILED

                  

SCSI: Write error -- dev: b 31 0x048000, errno: 126, resid: 1024,

        blkno: 35558670, sectno: 71117340, offset: 2052339712, bcount: 1024.

LVM: Failed to automatically resync PV 1f048000  error: 5

LVM: Recovered Path (device 0x1f048000) to PV 1 in VG 1.

LVM: Restored PV 1 to VG 1.

LVM: Recovered Path (device 0x1f048000) to PV 1 in VG 1.

LVM: Restored PV 1 to VG 1.

LVM: Recovered Path (device 0x1f048000) to PV 1 in VG 1.

LVM: Restored PV 1 to VG 1.

LVM: Failed to automatically resync PV 1f048000  error: 5

可以看出是磁盘/dev/dsk/c4t8d0的读写报错,而且报错日志比较频繁。

由于当时检查出vg和pv(c4t8d0)的状态都是正常的,且pv的访问比较繁忙也容易导致此类的错误,在hp工程师的建议下做了以下操作:
pvchange -t 120 /dev/dsk/c4t8d0

5月13日早上syslog发现
/opt/resmon/bin/resdata -R 228589640 -r /storage/events/disks/default/0_9_0_0.8.0 -n 228589612 -a

CURRENT MONITOR DATA:

Event Time..........: Tue May 13 04:26:50 2008
Severity............: CRITICAL
Monitor.............: disk_em
Event #.............: 100158              
System..............: sj97a

Summary:
     Disk at hardware path 0/9/0/0.8.0 : Hardware failure


Description of Error:

     While attempting to process an I/O request, the device reported a
     mechanical positioning error.

Probable Cause / Recommended Action:

     The device has experienced a hardware failure. Contact your HP support
     representative to have the device checked.

ioscan -fnCdisk
disk      8  0/9/0/0.8.0   sdisk CLAIMED     DEVICE       HP 36.4GST336753LC
                          /dev/dsk/c4t8d0   /dev/rdsk/c4t8d0

看来还是比较迫切需要更换硬盘了。

论坛徽章:
0
3 [报告]
发表于 2009-02-25 16:36 |只看该作者
#ll /dev/dsk
看看是不是有以下这行,黑体时间部分可以无视
brw-r-----   1 bin        sys         31 0x020000 Dec 17 12:45 c2t0d0
如果确实有,看看c2t0d0这块盘是在哪个VG里面,有哪些LV
#lvdisplay -v /dev/vg**/lv** |grep stale
以上命令看看是否有stale的块,很可能c2t0d0有问题了.做一次dd测试也可以

论坛徽章:
0
4 [报告]
发表于 2009-02-25 16:36 |只看该作者
设备c2t0d0检查看看;再看syslog

楼上的是一个别人的例子,借来参考,再搜

[ 本帖最后由 gesture 于 2009-2-25 16:38 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP