Chinaunix首页 | 论坛 | 博客
  • 博客访问: 76690
  • 博文数量: 5
  • 博客积分: 1556
  • 博客等级: 上尉
  • 技术积分: 130
  • 用 户 组: 普通用户
  • 注册时间: 2005-11-25 18:01
文章分类

全部博文(5)

文章存档

2011年(1)

2009年(1)

2008年(3)

分类:

2008-06-23 23:44:48

前天晚上做了一个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,赶快去赶最后一班地铁啦!
 
阅读(3803) | 评论(1) | 转发(1) |
给主人留下些什么吧!~~

chinaunix网友2008-06-28 13:28:47

880 是RP型的机器..很看运气的