Chinaunix首页 | 论坛 | 博客
  • 博客访问: 667382
  • 博文数量: 128
  • 博客积分: 265
  • 博客等级: 二等列兵
  • 技术积分: 1464
  • 用 户 组: 普通用户
  • 注册时间: 2011-09-27 20:44
个人简介

just do it

文章分类

全部博文(128)

文章存档

2023年(1)

2020年(1)

2019年(1)

2018年(3)

2017年(6)

2016年(17)

2015年(16)

2014年(39)

2013年(34)

2012年(10)

分类:

2013-10-22 09:52:10

前天晚上做了一个CASE,880更换本地硬盘,信息显示:
May 23 00:02:44 uxbcpf01 scsi: [ID 107833 kern.warning] WARNING: (
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: (
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 <73400057856 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
 
AVAILABLE DISK SELECTIONS:
       0. c1t0d0
         
       1. c1t1d0
         
       2. c1t2d0
         
       3. c1t3d0
         
       4. c1t4d0
         
       5. c3t0d0
         
       6. c3t0d1
         
 
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,赶快去赶最后一班地铁啦!
 
阅读(665) | 评论(0) | 转发(0) |
0

上一篇:V880串口线序

下一篇:vxdisksetup (1M)

给主人留下些什么吧!~~