Chinaunix

标题: syslog出现如下情况后,这样处理是否可以? [打印本页]

作者: 一个学生    时间: 2006-02-18 08:34
标题: syslog出现如下情况后,这样处理是否可以?
我查看了metastat
D
d10: Mirror
    Submirror 0: d11
      State: Needs maintenance
    Submirror 1: d12
      State: Okay         
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 8382960 blocks

d11: Submirror of d10
    State: Needs maintenance
    Invoke: metareplace d10 c0t10d0s0 <new device>
    Size: 8382960 blocks
    Stripe 0: (interlace: 32 blocks)
        Device              Start Block  Dbase State        Hot Spare
        c0t3d0s0                   0     No    Okay         
        c0t10d0s0               2160     No    Maintenance  


d12: Submirror of d10
    State: Okay         
    Size: 8382960 blocks
    Stripe 0: (interlace: 32 blocks)
        Device              Start Block  Dbase State        Hot Spare
        c0t11d0s0                  0     No    Okay         
        c0t12d0s0               2160     No    Okay         
下面的命令是否正确,是否只要这么做就可以了? 是否需要更换硬盘?
/usr/opt/SUNWmd/sbin/metareplace -e d10 c0t10d0s0

××××××××××××××××

Feb 14 18:07:50 LOVE unix: WARNING: /sbus@3,0/SUNW,fas@3,8800000/sd@a,0 (sd9):
Feb 14 18:07:50 LOVE unix:         Error for Command: write        Error Level: Retryable
Feb 14 18:07:50 LOVE unix:         Requested Block: 36880        Error Block: 36880
Feb 14 18:07:50 LOVE unix:         Vendor: SEAGATE                 Serial Number: 9748N72293  
Feb 14 18:07:50 LOVE unix:         Sense Key: Hardware Error
Feb 14 18:07:50 LOVE unix:         ASC: 0x15 (random positioning error), ASCQ: 0x1, FRU: 0x1
Feb 14 18:07:53 LOVE unix: WARNING: /sbus@3,0/SUNW,fas@3,8800000/sd@a,0 (sd9):
Feb 14 18:07:53 LOVE unix:         Error for Command: write        Error Level: Retryable
Feb 14 18:07:53 LOVE unix:         Requested Block: 829760        Error Block: 829760
Feb 14 18:07:53 LOVE unix:         Vendor: SEAGATE                 Serial Number: 9748N72293  
Feb 14 18:07:53 LOVE unix:         Sense Key: Hardware Error
Feb 14 18:07:53 LOVE unix:         ASC: 0x15 (random positioning error), ASCQ: 0x1, FRU: 0x1
Feb 14 18:07:56 LOVE unix: WARNING: /sbus@3,0/SUNW,fas@3,8800000/sd@a,0 (sd9):
Feb 14 18:07:57 LOVE unix:         Error for Command: write(10)        Error Level: Retryable
Feb 14 18:07:57 LOVE unix:         Requested Block: 2343488        Error Block: 2343488
Feb 14 18:07:57 LOVE unix:         Vendor: SEAGATE                 Serial Number: 9748N72293  
Feb 14 18:07:57 LOVE unix:         Sense Key: Hardware Error
Feb 14 18:07:57 LOVE unix:         ASC: 0x15 (random positioning error), ASCQ: 0x1, FRU: 0x1
Feb 14 18:08:00 LOVE unix: WARNING: /sbus@3,0/SUNW,fas@3,8800000/sd@a,0 (sd9):
Feb 14 18:08:00 LOVE unix:         Error for Command: write        Error Level: Retryable
Feb 14 18:08:00 LOVE unix:         Requested Block: 36880        Error Block: 36880
Feb 14 18:08:00 LOVE unix:         Vendor: SEAGATE                 Serial Number: 9748N72293  
Feb 14 18:08:00 LOVE unix:         Sense Key: Hardware Error
Feb 14 18:08:00 LOVE unix:         ASC: 0x15 (random positioning error), ASCQ: 0x1, FRU: 0x1
Feb 14 18:08:02 LOVE unix: WARNING: /sbus@3,0/SUNW,fas@3,8800000/sd@a,0 (sd9):
Feb 14 18:08:03 LOVE unix:         Error for Command: write(10)        Error Level: Retryable
Feb 14 18:08:03 LOVE unix:         Requested Block: 2343488        Error Block: 2343488
Feb 14 18:08:03 LOVE unix:         Vendor: SEAGATE                 Serial Number: 9748N72293  
Feb 14 18:08:03 LOVE unix:         Sense Key: Hardware Error
Feb 14 18:08:03 LOVE unix:         ASC: 0x15 (random positioning error), ASCQ: 0x1, FRU: 0x1
Feb 14 18:08:05 LOVE unix: WARNING: /sbus@3,0/SUNW,fas@3,8800000/sd@a,0 (sd9):
Feb 14 18:08:05 LOVE unix:         Error for Command: write        Error Level: Retryable
Feb 14 18:08:05 LOVE unix:         Requested Block: 36880        Error Block: 36880
Feb 14 18:08:05 LOVE unix:         Vendor: SEAGATE                 Serial Number: 9748N72293  
Feb 14 18:08:05 LOVE unix:         Sense Key: Hardware Error
Feb 14 18:08:05 LOVE unix:         ASC: 0x15 (random positioning error), ASCQ: 0x1, FRU: 0x1
Feb 14 18:08:08 LOVE unix: WARNING: /sbus@3,0/SUNW,fas@3,8800000/sd@a,0 (sd9):
Feb 14 18:08:08 LOVE unix:         Error for Command: write(10)        Error Level: Retryable
Feb 14 18:08:08 LOVE unix:         Requested Block: 2343488        Error Block: 2343488
Feb 14 18:08:08 LOVE unix:         Vendor: SEAGATE                 Serial Number: 9748N72293  
Feb 14 18:08:08 LOVE unix:         Sense Key: Hardware Error
Feb 14 18:08:09 LOVE unix:         ASC: 0x15 (random positioning error), ASCQ: 0x1, FRU: 0x1
Feb 14 18:08:11 LOVE unix: WARNING: /sbus@3,0/SUNW,fas@3,8800000/sd@a,0 (sd9):
Feb 14 18:08:11 LOVE unix:         Error for Command: write        Error Level: Retryable
Feb 14 18:08:11 LOVE unix:         Requested Block: 36880        Error Block: 36880
Feb 14 18:08:11 LOVE unix:         Vendor: SEAGATE                 Serial Number: 9748N72293  
Feb 14 18:08:11 LOVE unix:         Sense Key: Hardware Error
Feb 14 18:08:11 LOVE unix:         ASC: 0x15 (random positioning error), ASCQ: 0x1, FRU: 0x1
Feb 14 18:08:14 LOVE unix: WARNING: /sbus@3,0/SUNW,fas@3,8800000/sd@a,0 (sd9):
Feb 14 18:08:15 LOVE unix:         Error for Command: write(10)        Error Level: Retryable
Feb 14 18:08:15 LOVE unix:         Requested Block: 2343488        Error Block: 2343488
Feb 14 18:08:15 LOVE unix:         Vendor: SEAGATE                 Serial Number: 9748N72293  
Feb 14 18:08:15 LOVE unix:         Sense Key: Hardware Error
Feb 14 18:08:15 LOVE unix:         ASC: 0x15 (random positioning error), ASCQ: 0x1, FRU: 0x1
Feb 14 18:08:17 LOVE unix: WARNING: /sbus@3,0/SUNW,fas@3,8800000/sd@a,0 (sd9):
Feb 14 18:08:17 LOVE unix:         Error for Command: write        Error Level: Retryable
Feb 14 18:08:17 LOVE unix:         Requested Block: 36880        Error Block: 36880
Feb 14 18:08:17 LOVE unix:         Vendor: SEAGATE                 Serial Number: 9748N72293  
Feb 14 18:08:17 LOVE unix:         Sense Key: Hardware Error
Feb 14 18:08:17 LOVE unix:         ASC: 0x15 (random positioning error), ASCQ: 0x1, FRU: 0x1
Feb 14 18:08:20 LOVE unix: WARNING: /sbus@3,0/SUNW,fas@3,8800000/sd@a,0 (sd9):
Feb 14 18:08:20 LOVE unix:         Error for Command: write(10)        Error Level: Retryable
Feb 14 18:08:20 LOVE unix:         Requested Block: 2343488        Error Block: 2343488
Feb 14 18:08:20 LOVE unix:         Vendor: SEAGATE                 Serial Number: 9748N72293  
Feb 14 18:08:20 LOVE unix:         Sense Key: Hardware Error
Feb 14 18:08:20 LOVE unix:         ASC: 0x15 (random positioning error), ASCQ: 0x1, FRU: 0x1
Feb 14 18:08:23 LOVE unix: WARNING: /sbus@3,0/SUNW,fas@3,8800000/sd@a,0 (sd9):
Feb 14 18:08:23 LOVE unix:         Error for Command: write        Error Level: Fatal
Feb 14 18:08:23 LOVE unix:         Requested Block: 36880        Error Block: 36880
Feb 14 18:08:23 LOVE unix:         Vendor: SEAGATE                 Serial Number: 9748N72293  
Feb 14 18:08:23 LOVE unix:         Sense Key: Hardware Error
Feb 14 18:08:23 LOVE unix:         ASC: 0x15 (random positioning error), ASCQ: 0x1, FRU: 0x1
Feb 14 18:08:23 LOVE unix: WARNING: md: d11: write error on /dev/dsk/c0t10d0s0
Feb 14 18:08:26 LOVE unix: WARNING: /sbus@3,0/SUNW,fas@3,8800000/sd@a,0 (sd9):
Feb 14 18:08:26 LOVE unix:         Error for Command: write(10)        Error Level: Fatal
Feb 14 18:08:26 LOVE unix:         Requested Block: 2343488        Error Block: 2343488
Feb 14 18:08:26 LOVE unix:         Vendor: SEAGATE                 Serial Number: 9748N72293  
Feb 14 18:08:26 LOVE unix:         Sense Key: Hardware Error
Feb 14 18:08:26 LOVE unix:         ASC: 0x15 (random positioning error), ASCQ: 0x1, FRU: 0x1
Feb 14 18:08:26 LOVE unix: WARNING: md: d11: write error on /dev/dsk/c0t10d0s0
Feb 14 18:08:29 LOVE unix: WARNING: /sbus@3,0/SUNW,fas@3,8800000/sd@a,0 (sd9):
Feb 14 18:08:29 LOVE unix:         Error for Command: write        Error Level: Retryable
Feb 14 18:08:29 LOVE unix:         Requested Block: 829760        Error Block: 829760
Feb 14 18:08:29 LOVE unix:         Vendor: SEAGATE                 Serial Number: 9748N72293  
Feb 14 18:08:29 LOVE unix:         Sense Key: Hardware Error
Feb 14 18:08:29 LOVE unix:         ASC: 0x15 (random positioning error), ASCQ: 0x1, FRU: 0x1
Feb 14 18:08:32 LOVE unix: WARNING: /sbus@3,0/SUNW,fas@3,8800000/sd@a,0 (sd9):
Feb 14 18:08:32 LOVE unix:         Error for Command: write        Error Level: Retryable
Feb 14 18:08:32 LOVE unix:         Requested Block: 829760        Error Block: 829760
Feb 14 18:08:32 LOVE unix:         Vendor: SEAGATE                 Serial Number: 9748N72293  
Feb 14 18:08:32 LOVE unix:         Sense Key: Hardware Error
Feb 14 18:08:33 LOVE unix:         ASC: 0x15 (random positioning error), ASCQ: 0x1, FRU: 0x1
Feb 14 18:08:36 LOVE unix: WARNING: /sbus@3,0/SUNW,fas@3,8800000/sd@a,0 (sd9):
Feb 14 18:08:36 LOVE unix:         Error for Command: write        Error Level: Retryable
Feb 14 18:08:36 LOVE unix:         Requested Block: 829760        Error Block: 829760
Feb 14 18:08:36 LOVE unix:         Vendor: SEAGATE                 Serial Number: 9748N72293  
Feb 14 18:08:36 LOVE unix:         Sense Key: Hardware Error
Feb 14 18:08:36 LOVE unix:         ASC: 0x15 (random positioning error), ASCQ: 0x1, FRU: 0x1
Feb 14 18:08:39 LOVE unix: WARNING: /sbus@3,0/SUNW,fas@3,8800000/sd@a,0 (sd9):
Feb 14 18:08:39 LOVE unix:         Error for Command: write        Error Level: Retryable
Feb 14 18:08:39 LOVE unix:         Requested Block: 829760        Error Block: 829760
Feb 14 18:08:39 LOVE unix:         Vendor: SEAGATE                 Serial Number: 9748N72293  
Feb 14 18:08:39 LOVE unix:         Sense Key: Hardware Error
Feb 14 18:08:39 LOVE unix:         ASC: 0x15 (random positioning error), ASCQ: 0x1, FRU: 0x1
Feb 14 18:08:42 LOVE unix: WARNING: /sbus@3,0/SUNW,fas@3,8800000/sd@a,0 (sd9):
Feb 14 18:08:42 LOVE unix:         Error for Command: write        Error Level: Fatal
Feb 14 18:08:42 LOVE unix:         Requested Block: 829760        Error Block: 829760
Feb 14 18:08:42 LOVE unix:         Vendor: SEAGATE                 Serial Number: 9748N72293  
Feb 14 18:08:42 LOVE unix:         Sense Key: Hardware Error
Feb 14 18:08:42 LOVE unix:         ASC: 0x15 (random positioning error), ASCQ: 0x1, FRU: 0x1
Feb 14 18:08:42 LOVE unix: WARNING: md: d11: write error on /dev/dsk/c0t10d0s0
Feb 14 18:08:42 LOVE unix: WARNING: md: d11: /dev/dsk/c0t10d0s0 needs maintenance

[ 本帖最后由 一个学生 于 2006-2-18 08:35 编辑 ]
作者: sunfire123    时间: 2006-02-18 09:22
应该需要换盘了   你那条命令也可以试试  不会造成很大影响的 呵呵
作者: 一个学生    时间: 2006-02-18 10:01
^_^,软件修复也是故障依旧,看来硬盘是有坏块了。
作者: 东方蜘蛛    时间: 2006-02-18 16:33
把iostat -En的输出贴出来看看,估计是有很多坏块了!




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2