免费注册 查看新帖 |

Chinaunix

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

第一次出去干VXVM的活,还好很简单的一个事. [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-06-23 23:44 |只看该作者 |倒序浏览
前天晚上做了一个CASE,880更换本地硬盘,信息显示:
May 23 00:02:44 uxbcpf01 scsi: [ID 107833 kern.warning] WARNING: /pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w2100000c5041765e,0 (
ssd8):
May 23 00:02:44 uxbcpf01        Error for Command: read(10)                Error Level: Retryable
May 23 00:02:44 uxbcpf01 scsi: [ID 107833 kern.notice]  Requested Block: 10425                     Error Block: 10425
May 23 00:02:44 uxbcpf01 scsi: [ID 107833 kern.notice]  Vendor: SEAGATE                            Serial Number: 0328B1L0
B4  
May 23 00:02:44 uxbcpf01 scsi: [ID 107833 kern.notice]  Sense Key: Hardware Error
May 23 00:02:44 uxbcpf01 scsi: [ID 107833 kern.notice]  ASC: 0x80 (), ASCQ: 0x86, FRU: 0x0
May 26 17:57:53 uxbcpf01 scsi: [ID 107833 kern.warning] WARNING: /pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w2100000c5041765e,0 (
ssd8):
May 26 17:57:53 uxbcpf01        Error for Command: read(10)                Error Level: Retryable
May 26 17:57:53 uxbcpf01 scsi: [ID 107833 kern.notice]  Requested Block: 10425                     Error Block: 10425
May 26 17:57:53 uxbcpf01 scsi: [ID 107833 kern.notice]  Vendor: SEAGATE                            Serial Number: 0328B1L0
B4  
May 26 17:57:53 uxbcpf01 scsi: [ID 107833 kern.notice]  Sense Key: Hardware Error
May 26 17:57:53 uxbcpf01 scsi: [ID 107833 kern.notice]  ASC: 0x80 (), ASCQ: 0x86, FRU: 0x0
ssd8     Soft Errors: 0 Hard Errors: 3 Transport Errors: 0
Vendor: SEAGATE  Product: ST373307FSUN72G  Revision: 0207 Serial No: 0328B1L0B4
Size: 73.40GB
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0

AVAILABLE DISK SELECTIONS:
       0. c1t0d0
          /pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w2100000c50415625,0
       1. c1t1d0
          /pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w2100000087127f47,0
       2. c1t2d0
          /pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w2100000c50414982,0
       3. c1t3d0
          /pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w2100000c5041765e,0
       4. c1t4d0
          /pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w2100000c5041c873,0
       5. c3t0d0
          /pci@8,700000/fibre-channel@2/sd@0,0
       6. c3t0d1
          /pci@8,700000/fibre-channel@2/sd@0,1

bash-3.00$ more vxdisk-list.out
DEVICE       TYPE      DISK         GROUP        STATUS       c#t#d#_NAME   
c1t0d0s2     sliced    rootdisk     rootdg       online       c1t0d0s2   
c1t1d0s2     sliced    rootmirr     rootdg       online       c1t1d0s2   
c1t2d0s2     sliced    -            -            online       c1t2d0s2   
c1t3d0s2     sliced    -            -            online       c1t3d0s2   
c1t4d0s2     sliced    -            -            online       c1t4d0s2   
c3t0d0s2     sliced    hpdisk01     datadg1      online       c3t0d0s2   
c3t0d1s2     sliced    hpdisk02     datadg1      online       c3t0d1s2   
c3t0d2s2     sliced    hpdisk03     datadg1      online       c3t0d2s2   
c3t0d3s2     sliced    hpdisk04     datadg1      online       c3t0d3s2   
c3t0d4s2     sliced    hpdisk05     datadg1      online       c3t0d4s2   
c3t0d5s2     sliced    hpdisk06     datadg1      online       c3t0d5s2   
c3t0d6s2     sliced    hpdisk07     datadg1      online       c3t0d6s2   
c3t0d7s2     sliced    hpdisk08     datadg1      online       c3t0d7s2   
c3t0d8s2     sliced    hpdisk09     datadg1      online       c3t0d8s2   
c3t0d9s2     sliced    hpdisk10     datadg1      online       c3t0d9s2   


看起来是c1t3d0出现了坏块,咨询了800值班工程师说c1t2d0,c1t3d0,c1t4d0这3块盘做了raid5,很奇怪.

到现场看到除了c1t3d0有block报错之后其他一切正常,仔细检查了一下,并且和用户核对之后确认c1t3d0只是被vxvm初始化过并没有使用,可能是以前用过这个盘但是后来接了外置存储就把这3块盘从DG里踢出来了.

换盘:
bash-3.00$ vxdisksetup -C /dev/dsk/c1t3d0s2


DEVICE       TYPE      DISK         GROUP        STATUS       c#t#d#_NAME   
c1t0d0s2     sliced    rootdisk     rootdg       online       c1t0d0s2   
c1t1d0s2     sliced    rootmirr     rootdg       online       c1t1d0s2   
c1t2d0s2     sliced    -            -            online       c1t2d0s2   
c1t3d0s2     sliced    -            -            error        c1t3d0s2   
c1t4d0s2     sliced    -            -            online       c1t4d0s2   
c3t0d0s2     sliced    hpdisk01     datadg1      online       c3t0d0s2   
c3t0d1s2     sliced    hpdisk02     datadg1      online       c3t0d1s2   
c3t0d2s2     sliced    hpdisk03     datadg1      online       c3t0d2s2   
c3t0d3s2     sliced    hpdisk04     datadg1      online       c3t0d3s2   
c3t0d4s2     sliced    hpdisk05     datadg1      online       c3t0d4s2   
c3t0d5s2     sliced    hpdisk06     datadg1      online       c3t0d5s2   
c3t0d6s2     sliced    hpdisk07     datadg1      online       c3t0d6s2   
c3t0d7s2     sliced    hpdisk08     datadg1      online       c3t0d7s2   
c3t0d8s2     sliced    hpdisk09     datadg1      online       c3t0d8s2   
c3t0d9s2     sliced    hpdisk10     datadg1      online       c3t0d9s2   


bash-3.00$ luxadm remove_device /dev/rdsk/c1t3d0s2

拔盘

bash-3.00$ luxadm insert_device


提示生成了新的设备文件.

bash-3.00$ vxdisksetup -i /dev/dsk/c1t3d0

这时候就看到:
DEVICE       TYPE      DISK         GROUP        STATUS       c#t#d#_NAME   
c1t0d0s2     sliced    rootdisk     rootdg       online       c1t0d0s2   
c1t1d0s2     sliced    rootmirr     rootdg       online       c1t1d0s2   
c1t2d0s2     sliced    -            -            online       c1t2d0s2   
c1t3d0s2     sliced    -            -            online       c1t3d0s2   
c1t4d0s2     sliced    -            -            online       c1t4d0s2   
c3t0d0s2     sliced    hpdisk01     datadg1      online       c3t0d0s2   
c3t0d1s2     sliced    hpdisk02     datadg1      online       c3t0d1s2   
c3t0d2s2     sliced    hpdisk03     datadg1      online       c3t0d2s2   
c3t0d3s2     sliced    hpdisk04     datadg1      online       c3t0d3s2   
c3t0d4s2     sliced    hpdisk05     datadg1      online       c3t0d4s2   
c3t0d5s2     sliced    hpdisk06     datadg1      online       c3t0d5s2   
c3t0d6s2     sliced    hpdisk07     datadg1      online       c3t0d6s2   
c3t0d7s2     sliced    hpdisk08     datadg1      online       c3t0d7s2   
c3t0d8s2     sliced    hpdisk09     datadg1      online       c3t0d8s2   
c3t0d9s2     sliced    hpdisk10     datadg1      online       c3t0d9s2   

填写PRT,赶快去赶最后一班地铁啦!


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/661/showart_1009716.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP