+ -
当前位置:首页 → 问答吧 → 求助:sun v880 做raid1镜像不能恢复,显示Needs maintenance

求助:sun v880 做raid1镜像不能恢复,显示Needs maintenance

时间:2010-07-06

来源:互联网

机器是sun v880 ,装的是solaris 10,做得raid1,更换硬盘后,其他分区都能同步,但有一个硬盘一直不同步,显示State: Needs maintenance ,用metareplace -e d20 c1t0d0s1,同步大概3%左右就不同了,不知道什么原因,请各位帮忙。


d20: Mirror
    Submirror 0: d21
      State: Needs maintenance
    Submirror 1: d22
      State: Okay         
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 34822272 blocks (16 GB)

d21: Submirror of d20
    State: Needs maintenance
    Invoke: metareplace d20 c1t0d0s1 <new device>
    Size: 34822272 blocks (16 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t0d0s1          0     No     Maintenance   Yes


d22: Submirror of d20
    State: Okay         
    Size: 34822272 blocks (16 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t1d0s1          0     No            Okay   Yes

作者: z_fenger   发布时间: 2010-07-06

应该是盘有问题,换盘:


Invoke: metareplace d20 c1t0d0s1 <new device>

作者: rmb   发布时间: 2010-07-06

换硬盘

作者: easybegin   发布时间: 2010-07-06

换盘吧。

作者: lanyun001   发布时间: 2010-07-06

这块盘是刚换的,然后镜像同步时出现问题了

作者: z_fenger   发布时间: 2010-07-06

各位大侠,还有哪位有建议呀,真的是硬盘坏了吗?

作者: z_fenger   发布时间: 2010-07-06

你执行以下:
#iostat -En
#dmesg|grep c1t0d0  
#dmesg |grep Requested Block:

把信息贴出来

作者: rmb   发布时间: 2010-07-06

新的配件 不代表就肯定没问题。

作者: solarisplayer   发布时间: 2010-07-06

iostat -En 信息如下:

c0t6d0           Soft Errors: 3 Hard Errors: 0 Transport Errors: 0
Vendor: TOSHIBA  Product: DVD-ROM SD-M1711 Revision: 1005 Serial No:  
Size: 0.00GB <0 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 3 Predictive Failure Analysis: 0
c1t1d0           Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: FUJITSU  Product: MAP3735F SUN72G  Revision: 1501 Serial No: 0440Q0FE75
Size: 73.41GB <73407865856 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c1t4d0           Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: HITACHI  Product: DK32EJ72FSUN72G  Revision: 2Q0F Serial No: 0352W1483M
Size: 73.41GB <73407865856 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c1t5d0           Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: HITACHI  Product: DK32EJ72FSUN72G  Revision: 2Q0F Serial No: 0352W1J3TK
Size: 73.41GB <73407865856 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c1t2d0           Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: HITACHI  Product: DK32EJ72FSUN72G  Revision: 2Q0F Serial No: 0352W1J3TL
Size: 73.41GB <73407865856 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c1t3d0           Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: HITACHI  Product: DK32EJ72FSUN72G  Revision: 2Q0F Serial No: 0352W1JCGM
Size: 73.41GB <73407865856 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c1t0d0           Soft Errors: 0 Hard Errors: 20 Transport Errors: 0
Vendor: HITACHI  Product: DK32EJ72FSUN72G  Revision: 2Q0J Serial No: 0311W0VXBV
Size: 73.41GB <73407865856 bytes>
Media Error: 16 Device Not Ready: 0 No Device: 4 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 4

作者: z_fenger   发布时间: 2010-07-06

dmesg|grep c1t0d0信息如下:
Jul  6 08:45:13 cc-oraclebak md_stripe: [ID 641072 kern.warning] WARNING: md: d21: write error on /dev/dsk/c1t0d0s1
Jul  6 08:45:14 cc-oraclebak md_mirror: [ID 104909 kern.warning] WARNING: md: d21: /dev/dsk/c1t0d0s1 needs maintenance
Jul  6 08:50:01 cc-oraclebak md_stripe: [ID 641072 kern.warning] WARNING: md: d21: write error on /dev/dsk/c1t0d0s1
Jul  6 08:50:01 cc-oraclebak md_mirror: [ID 104909 kern.warning] WARNING: md: d21: /dev/dsk/c1t0d0s1 needs maintenance
Jul  6 08:52:45 cc-oraclebak md_stripe: [ID 641072 kern.warning] WARNING: md: d21: write error on /dev/dsk/c1t0d0s1
Jul  6 08:52:45 cc-oraclebak md_mirror: [ID 104909 kern.warning] WARNING: md: d21: /dev/dsk/c1t0d0s1 needs maintenance
Jul  6 09:01:47 cc-oraclebak md_stripe: [ID 641072 kern.warning] WARNING: md: d21: write error on /dev/dsk/c1t0d0s1
Jul  6 09:01:47 cc-oraclebak md_mirror: [ID 104909 kern.warning] WARNING: md: d21: /dev/dsk/c1t0d0s1 needs maintenance

作者: z_fenger   发布时间: 2010-07-06

dmesg |grep Requested Block信息:
root@cc-oraclebak # dmesg |grep Requested Block;
grep: can't open Block
root@cc-oraclebak # Broken Pipe
Broken Pipe
Broken Pipe

作者: z_fenger   发布时间: 2010-07-06

刚换就hard error 20了

作者: zhmzhouming   发布时间: 2010-07-06

刚换就报错了。再换一个吧。。

作者: cwnlinux   发布时间: 2010-07-06

不会是硬盘坏了吧,是不是要把没有同步的那个分区重新再一下镜像就可以了

作者: z_fenger   发布时间: 2010-07-06

硬盘是有问题

作者: rmb   发布时间: 2010-07-06

再换,再,,,要坚持!

作者: rmb   发布时间: 2010-07-06

刚刚把信息给供货商那里发了

作者: z_fenger   发布时间: 2010-07-06

其余的slice的同步是不是都成功了;
建议你16G的slice的数据拷贝一份出来。

作者: jinmaodao   发布时间: 2010-07-06

是的,其余的都成功了,是不是这一个分区做的有问题,这个分区好像是swap分区

作者: z_fenger   发布时间: 2010-07-06

继续换

作者: easybegin   发布时间: 2010-07-06



QUOTE:
这块盘是刚换的,然后镜像同步时出现问题了
z_fenger 发表于 2010-07-06 09:30




    额新买的硬盘上周五到,装到系统上正常,周一来挂了,正在联系经销商换。

作者: yuio654   发布时间: 2010-07-06

另外问下楼主:是希捷的scsi盘吗 ..................

作者: yuio654   发布时间: 2010-07-06