just do it
分类: 系统运维
2012-08-07 09:54:17
SUN E3500 系统盘做的raid1镜像,有一块镜像盘故障。
以下是故障现象与处理步骤:
故障现象:
bash-2.05# metastat -i
d7: 镜像
次镜像 0: d17
状态: 不可用
次镜像 1: d27
状态: 确定
传送: 1
读入选项: roundrobin (缺省)
写入选项: parallel (缺省)
大小: 598424 块 (292 MB)
d17: d7 的次镜像
状态:不可用
大小: 598424 块 (292 MB)
条 0:
设备 引导块 Dbase 状态 Reloc 热备援
c0t0d0s5 0 否 - 是
d27: d7 的次镜像
状态: 确定
大小: 598424 块 (292 MB)
条 0:
设备 引导块 Dbase 状态 Reloc 热备援
c0t1d0s5 0 否 确定 是
d6: 镜像
次镜像 0: d16
状态: 不可用
次镜像 1: d26
状态: 确定
传送: 1
读入选项: roundrobin (缺省)
写入选项: parallel (缺省)
大小: 589000 块 (287 MB)
d16: d6 的次镜像
状态:不可用
大小: 589000 块 (287 MB)
条 0:
设备 引导块 Dbase 状态 Reloc 热备援
c0t0d0s4 0 否 - 是
d26: d6 的次镜像
状态: 确定
大小: 589000 块 (287 MB)
条 0:
设备 引导块 Dbase 状态 Reloc 热备援
c0t1d0s4 0 否 确定 是
d5: 镜像
次镜像 0: d15
状态: 不可用
次镜像 1: d25
状态: 确定
传送: 1
读入选项: roundrobin (缺省)
写入选项: parallel (缺省)
大小: 589000 块 (287 MB)
d15: d5 的次镜像
状态:不可用
大小: 589000 块 (287 MB)
条 0:
设备 引导块 Dbase 状态 Reloc 热备援
c0t0d0s3 0 否 - 是
d25: d5 的次镜像
状态: 确定
大小: 589000 块 (287 MB)
条 0:
设备 引导块 Dbase 状态 Reloc 热备援
c0t1d0s3 0 否 确定 是
d80: 镜像
次镜像 0: d81
状态: 确定
次镜像 1: d82
状态: 确定
传送: 1
读入选项: roundrobin (缺省)
写入选项: parallel (缺省)
大小: 1432780800 块 (683 GB)
d81: d80 的次镜像
状态: 确定
大小: 1432780800 块 (683 GB)
条状 0:(交错: 32 块)
设备 引导块 Dbase 状态 Reloc 热备援
c2t32d0s6 0 否 确定 是
c2t33d0s6 20352 否 确定 是
c2t34d0s6 20352 否 确定 是
c2t35d0s6 20352 否 确定 是
c2t36d0s6 20352 否 确定 是
d82: d80 的次镜像
状态: 确定
大小: 1432780800 块 (683 GB)
条状 0:(交错: 32 块)
设备 引导块 Dbase 状态 Reloc 热备援
c2t48d0s6 0 否 确定 是
c2t49d0s6 20352 否 确定 是
c2t50d0s6 20352 否 确定 是
c2t51d0s6 20352 否 确定 是
c2t52d0s6 20352 否 确定 是
d34: 镜像
次镜像 0: d3
状态: 需要维护
次镜像 1: d4
状态: 确定
传送: 1
读入选项: roundrobin (缺省)
写入选项: parallel (缺省)
大小: 16779432 块 (8.0 GB)
d3: d34 的次镜像
状态: 需要维护
调用: metareplace d34 c0t0d0s1
大小: 16779432 块 (8.0 GB)
条 0:
设备 引导块 Dbase 状态 Reloc 热备援
c0t0d0s1 0 否 维护 是
d4: d34 的次镜像
状态: 确定
大小: 16779432 块 (8.0 GB)
条 0:
设备 引导块 Dbase 状态 Reloc 热备援
c0t1d0s1 0 否 确定 是
d12: 镜像
次镜像 0: d1
状态: 需要维护
次镜像 1: d2
状态: 确定
传送: 1
读入选项: roundrobin (缺省)
写入选项: parallel (缺省)
大小: 16779432 块 (8.0 GB)
d1: d12 的次镜像
状态: 需要维护
调用: metareplace d12 c0t0d0s0
大小: 16779432 块 (8.0 GB)
条 0:
设备 引导块 Dbase 状态 Reloc 热备援
c0t0d0s0 0 否 维护 是
d2: d12 的次镜像
状态: 确定
大小: 16779432 块 (8.0 GB)
条 0:
设备 引导块 Dbase 状态 Reloc 热备援
c0t1d0s0 0 否 确定 是
hsp002: 是空的
hsp001: 2 hot spares
设备 状态 长度 Reloc
c2t37d0s2 可供使用 286698624 blocks 是
c2t53d0s2 可供使用 286698624 blocks 是
设备重新分配信息:
设备 重新定位 设备 ID
c0t1d0 是 id1,ssd@w2000000c504e9e1a
c0t0d0 是 id1,ssd@w2000002037602345
c2t48d0 是 id1,ssd@w20000014c3ca871c
c2t49d0 是 id1,ssd@w20000011c659e469
c2t50d0 是 id1,ssd@w20000011c659e646
c2t51d0 是 id1,ssd@w20000014c3ca963d
c2t52d0 是 id1,ssd@w20000014c3caa9da
c2t32d0 是 id1,ssd@w20000014c3c1190c
c2t33d0 是 id1,ssd@w20000011c624226d
c2t34d0 是 id1,ssd@w20000014c3cf9e69
c2t35d0 是 id1,ssd@w20000011c659eb52
c2t36d0 是 id1,ssd@w20000011c659f59b
c2t37d0 是 id1,ssd@w20000011c61c8421
c2t53d0 是 id1,ssd@w20000011c659d7c4
bash-2.05# dmesg
2012年08月02日 星期四 07时44分03秒 CST
Jul 31 23:00:07 bims-analysis last message repeated 2 times
Aug 1 00:00:01 bims-analysis su: [ID 366847 auth.info] 'su oracle' succeeded for root on /dev/???
Aug 1 00:00:07 bims-analysis last message repeated 2 times
Aug 1 01:00:01 bims-analysis su: [ID 366847 auth.info] 'su oracle' succeeded for root on /dev/???
Aug 1 01:00:07 bims-analysis last message repeated 2 times
Aug 1 02:00:01 bims-analysis su: [ID 366847 auth.info] 'su oracle' succeeded for root on /dev/???
Aug 1 02:00:07 bims-analysis last message repeated 2 times
Aug 1 02:00:42 bims-analysis ftpd[18152]: [ID 214291 daemon.notice] FTP LOGIN REFUSED (ftp not in /etc/passwd) FROM 210.51.166.122 [210.51.166.122], ftp
Aug 1 03:00:02 bims-analysis su: [ID 366847 auth.info] 'su oracle' succeeded for root on /dev/???
Aug 1 03:00:08 bims-analysis last message repeated 2 times
Aug 1 04:00:01 bims-analysis su: [ID 366847 auth.info] 'su oracle' succeeded for root on /dev/???
Aug 1 04:00:07 bims-analysis last message repeated 2 times
Aug 1 04:30:04 bims-analysis sshd[18390]: [ID 800047 auth.info] Did not receive ident string from 220.133.44.5.
Aug 1 04:33:26 bims-analysis sshd[18391]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 04:35:16 bims-analysis sshd[18392]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 04:35:44 bims-analysis sshd[18393]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 04:36:13 bims-analysis sshd[18394]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 04:36:42 bims-analysis sshd[18395]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 04:37:11 bims-analysis sshd[18396]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 04:37:43 bims-analysis sshd[18397]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 04:38:11 bims-analysis sshd[18398]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 04:38:40 bims-analysis sshd[18399]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 04:39:09 bims-analysis sshd[18400]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 04:39:39 bims-analysis sshd[18403]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 04:40:08 bims-analysis sshd[18404]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 04:40:37 bims-analysis sshd[18405]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 04:41:07 bims-analysis sshd[18406]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 04:41:36 bims-analysis sshd[18407]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 04:42:05 bims-analysis sshd[18408]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 04:42:35 bims-analysis sshd[18409]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 04:43:04 bims-analysis sshd[18410]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 04:43:33 bims-analysis sshd[18411]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 04:44:06 bims-analysis sshd[18412]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 04:44:36 bims-analysis sshd[18413]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 04:45:05 bims-analysis sshd[18426]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 04:45:34 bims-analysis sshd[18427]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 04:46:04 bims-analysis sshd[18428]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 04:46:34 bims-analysis sshd[18429]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 04:47:03 bims-analysis sshd[18430]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 04:47:32 bims-analysis sshd[18431]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 05:00:02 bims-analysis su: [ID 366847 auth.info] 'su oracle' succeeded for root on /dev/???
Aug 1 05:00:07 bims-analysis last message repeated 2 times
Aug 1 06:00:01 bims-analysis su: [ID 366847 auth.info] 'su oracle' succeeded for root on /dev/???
Aug 1 06:00:07 bims-analysis last message repeated 2 times
Aug 1 06:23:32 bims-analysis sshd[18607]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 07:00:05 bims-analysis su: [ID 366847 auth.info] 'su oracle' succeeded for root on /dev/???
Aug 1 07:00:13 bims-analysis last message repeated 2 times
Aug 1 07:54:45 bims-analysis su: [ID 366847 auth.notice] 'su root' succeeded for hs6 on /dev/pts/17
Aug 1 08:00:01 bims-analysis su: [ID 366847 auth.info] 'su oracle' succeeded for root on /dev/???
Aug 1 08:00:07 bims-analysis last message repeated 2 times
Aug 1 09:00:02 bims-analysis su: [ID 366847 auth.info] 'su oracle' succeeded for root on /dev/???
Aug 1 09:00:07 bims-analysis last message repeated 2 times
Aug 1 09:07:40 bims-analysis sshd[18956]: [ID 800047 auth.info] Could not reverse map address ::ffff:118.122.119.70.
Aug 1 09:07:40 bims-analysis sshd[18956]: [ID 800047 auth.info] Accepted password for root from 118.122.119.70 port 1985 ssh2
Aug 1 09:09:49 bims-analysis sshd[18964]: [ID 800047 auth.info] Could not reverse map address ::ffff:118.122.119.70.
Aug 1 09:09:54 bims-analysis sshd[18964]: [ID 800047 auth.info] Accepted password for root from 118.122.119.70 port 1995 ssh2
Aug 1 10:00:01 bims-analysis su: [ID 366847 auth.info] 'su oracle' succeeded for root on /dev/???
Aug 1 10:00:07 bims-analysis last message repeated 2 times
Aug 1 10:09:14 bims-analysis sshd[19070]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 11:00:01 bims-analysis su: [ID 366847 auth.info] 'su oracle' succeeded for root on /dev/???
Aug 1 11:00:07 bims-analysis last message repeated 2 times
Aug 1 11:17:39 bims-analysis sshd[19190]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 12:00:01 bims-analysis su: [ID 366847 auth.info] 'su oracle' succeeded for root on /dev/???
Aug 1 12:00:07 bims-analysis last message repeated 2 times
Aug 1 13:00:01 bims-analysis su: [ID 366847 auth.info] 'su oracle' succeeded for root on /dev/???
Aug 1 13:00:07 bims-analysis last message repeated 2 times
Aug 1 13:05:19 bims-analysis sshd[19363]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 14:00:01 bims-analysis su: [ID 366847 auth.info] 'su oracle' succeeded for root on /dev/???
Aug 1 14:00:07 bims-analysis last message repeated 2 times
Aug 1 14:13:30 bims-analysis sshd[19459]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 15:00:01 bims-analysis su: [ID 366847 auth.info] 'su oracle' succeeded for root on /dev/???
Aug 1 15:00:07 bims-analysis last message repeated 2 times
Aug 1 15:30:01 bims-analysis scsi: [ID 243001 kern.info] /sbus@2,0/SUNW,socal@d,10000/sf@0,0 (sf0):
Aug 1 15:30:01 bims-analysis Open failure to target 0x0 forcing LIP
Aug 1 15:30:01 bims-analysis scsi: [ID 107833 kern.notice] /sbus@2,0/SUNW,socal@d,10000/sf@0,0 (sf0):
Aug 1 15:30:01 bims-analysis Forcing lip
Aug 1 15:30:01 bims-analysis scsi: [ID 107833 kern.warning] WARNING: /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037602345,0 (ssd0):
Aug 1 15:30:01 bims-analysis SCSI transport failed: reason 'tran_err': retrying command
Aug 1 15:30:01 bims-analysis socal: [ID 403145 kern.info] ID[SUNWssa.socal.link.5010] socal0: port 0: Fibre Channel is OFFLINE
Aug 1 15:30:01 bims-analysis socal: [ID 403145 kern.info] ID[SUNWssa.socal.link.6010] socal0: port 0: Fibre Channel Loop is ONLINE
Aug 1 15:30:01 bims-analysis scsi: [ID 243001 kern.info] /sbus@2,0/SUNW,socal@d,10000/sf@0,0 (sf0):
Aug 1 15:30:01 bims-analysis target 0x0 al_pa 0xef lun 0 offlined
Aug 1 15:30:01 bims-analysis scsi: [ID 107833 kern.warning] WARNING: /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037602345,0 (ssd0):
Aug 1 15:30:01 bims-analysis SCSI transport failed: reason 'reset': retrying command
Aug 1 15:30:01 bims-analysis scsi: [ID 107833 kern.warning] WARNING: /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100000c504e9e1a,0 (ssd34):
Aug 1 15:30:01 bims-analysis Error for Command: read(10) Error Level: Retryable
Aug 1 15:30:01 bims-analysis scsi: [ID 107833 kern.notice] Requested Block: 58368 Error Block: 58368
Aug 1 15:30:01 bims-analysis scsi: [ID 107833 kern.notice] Vendor: SEAGATE Serial Number: 0331A2E9XE
Aug 1 15:30:01 bims-analysis scsi: [ID 107833 kern.notice] Sense Key: Unit Attention
Aug 1 15:30:01 bims-analysis scsi: [ID 107833 kern.notice] ASC: 0x29 (power on, reset, or bus reset occurred), ASCQ: 0x0, FRU: 0x3
Aug 1 15:30:01 bims-analysis scsi: [ID 107833 kern.warning] WARNING: /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037602345,0 (ssd0):
Aug 1 15:30:01 bims-analysis transport rejected fatal error
Aug 1 15:30:01 bims-analysis md_stripe: [ID 641072 kern.warning] WARNING: md: d1: read error on /dev/dsk/c0t0d0s0
Aug 1 15:30:01 bims-analysis md_mirror: [ID 842313 kern.info] NOTICE: md: d1: B_FAILFAST I/O retry
Aug 1 15:30:01 bims-analysis md_stripe: [ID 641072 kern.warning] WARNING: md: d1: read error on /dev/dsk/c0t0d0s0
Aug 1 15:30:02 bims-analysis md_mirror: [ID 842313 kern.info] NOTICE: md: d1: B_FAILFAST I/O retry
Aug 1 15:30:02 bims-analysis md_stripe: [ID 641072 kern.warning] WARNING: md: d1: write error on /dev/dsk/c0t0d0s0
Aug 1 15:30:02 bims-analysis last message repeated 1 time
Aug 1 15:30:02 bims-analysis md_mirror: [ID 842313 kern.info] NOTICE: md: d1: B_FAILFAST I/O retry
Aug 1 15:30:02 bims-analysis md_stripe: [ID 641072 kern.warning] WARNING: md: d1: write error on /dev/dsk/c0t0d0s0
Aug 1 15:30:02 bims-analysis last message repeated 1 time
Aug 1 15:30:02 bims-analysis md_mirror: [ID 104909 kern.warning] WARNING: md: d1: /dev/dsk/c0t0d0s0 needs maintenance
Aug 1 15:30:02 bims-analysis scsi: [ID 107833 kern.warning] WARNING: /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037602345,0 (ssd0):
Aug 1 15:30:02 bims-analysis offline
Aug 1 15:30:02 bims-analysis scsi: [ID 107833 kern.warning] WARNING: /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037602345,0 (ssd0):
Aug 1 15:30:02 bims-analysis offline
Aug 1 15:30:02 bims-analysis scsi: [ID 107833 kern.warning] WARNING: /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037602345,0 (ssd0):
Aug 1 15:30:02 bims-analysis offline
Aug 1 15:30:02 bims-analysis md_mirror: [ID 104909 kern.warning] WARNING: md: d3: /dev/dsk/c0t0d0s1 needs maintenance
Aug 1 15:30:02 bims-analysis md_mirror: [ID 976326 kern.warning] WARNING: md d5: open error on /dev/dsk/c0t0d0s3
Aug 1 15:30:02 bims-analysis scsi: [ID 107833 kern.warning] WARNING: /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037602345,0 (ssd0):
Aug 1 15:30:02 bims-analysis offline
Aug 1 15:30:02 bims-analysis scsi: [ID 107833 kern.warning] WARNING: /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037602345,0 (ssd0):
Aug 1 15:30:02 bims-analysis offline
Aug 1 15:30:02 bims-analysis md_mirror: [ID 976326 kern.warning] WARNING: md d6: open error on /dev/dsk/c0t0d0s4
Aug 1 15:30:03 bims-analysis md_mirror: [ID 976326 kern.warning] WARNING: md d7: open error on /dev/dsk/c0t0d0s5
Aug 1 15:30:03 bims-analysis md_mirror: [ID 976326 kern.warning] WARNING: md d34: open error on /dev/dsk/c0t0d0s1
Aug 1 16:00:02 bims-analysis su: [ID 366847 auth.info] 'su oracle' succeeded for root on /dev/???
Aug 1 16:00:07 bims-analysis last message repeated 2 times
Aug 1 16:07:26 bims-analysis scsi: [ID 107833 kern.warning] WARNING: /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037602335,0 (ssd1):
Aug 1 16:07:26 bims-analysis Error for Command: write(10) Error Level: Retryable
Aug 1 16:07:26 bims-analysis scsi: [ID 107833 kern.notice] Requested Block: 22384400 Error Block: 22384400
Aug 1 16:07:26 bims-analysis scsi: [ID 107833 kern.notice] Vendor: SEAGATE Serial Number: 0009D32456
Aug 1 16:07:26 bims-analysis scsi: [ID 107833 kern.notice] Sense Key: Unit Attention
Aug 1 16:07:26 bims-analysis scsi: [ID 107833 kern.notice] ASC: 0x29 (power on, reset, or bus reset occurred), ASCQ: 0x0, FRU: 0x3
Aug 1 17:00:01 bims-analysis su: [ID 366847 auth.info] 'su oracle' succeeded for root on /dev/???
Aug 1 17:00:07 bims-analysis last message repeated 2 times
Aug 1 17:47:59 bims-analysis sshd[19819]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 18:00:01 bims-analysis su: [ID 366847 auth.info] 'su oracle' succeeded for root on /dev/???
Aug 1 18:00:07 bims-analysis last message repeated 2 times
Aug 1 19:00:01 bims-analysis su: [ID 366847 auth.info] 'su oracle' succeeded for root on /dev/???
Aug 1 19:00:07 bims-analysis last message repeated 2 times
Aug 1 19:42:52 bims-analysis sshd[19996]: [ID 800047 auth.info] Did not receive ident string from 200.97.135.26.
Aug 1 19:45:02 bims-analysis sshd[20003]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 19:45:04 bims-analysis sshd[20012]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 19:45:05 bims-analysis sshd[19998]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 19:45:05 bims-analysis sshd[19997]: [ID 800047 auth.info] Connection closed by 200.97.135.26
Aug 1 19:45:08 bims-analysis sshd[20013]: [ID 800047 auth.info] Did not receive ident string from 200.97.135.26.
Aug 1 19:45:08 bims-analysis sshd[20014]: [ID 800047 auth.info] Did not receive ident string from 200.97.135.26.
Aug 1 19:45:11 bims-analysis sshd[20015]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 19:45:12 bims-analysis sshd[20016]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 19:45:13 bims-analysis sshd[20017]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 19:45:20 bims-analysis sshd[20020]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 19:45:22 bims-analysis sshd[20019]: [ID 800047 auth.info] Did not receive ident string from 200.97.135.26.
Aug 1 19:45:24 bims-analysis sshd[20018]: [ID 800047 auth.info] Connection closed by 200.97.135.26
Aug 1 19:45:27 bims-analysis sshd[20022]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 19:45:27 bims-analysis sshd[20023]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 19:45:30 bims-analysis sshd[20021]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 20:00:02 bims-analysis su: [ID 366847 auth.info] 'su oracle' succeeded for root on /dev/???
Aug 1 20:00:07 bims-analysis last message repeated 2 times
Aug 1 21:00:01 bims-analysis su: [ID 366847 auth.info] 'su oracle' succeeded for root on /dev/???
Aug 1 21:00:07 bims-analysis last message repeated 2 times
Aug 1 22:00:01 bims-analysis su: [ID 366847 auth.info] 'su oracle' succeeded for root on /dev/???
Aug 1 22:00:07 bims-analysis last message repeated 2 times
Aug 1 22:47:23 bims-analysis sshd[20305]: [ID 800047 auth.info] Did not receive ident string from 83.206.209.12.
Aug 1 22:51:24 bims-analysis sshd[20306]: [ID 800047 auth.info] Connection closed by 83.206.209.12
Aug 1 22:58:44 bims-analysis sshd[20309]: [ID 800047 auth.info] Received disconnect: 11: Bye Bye
Aug 1 23:00:01 bims-analysis su: [ID 366847 auth.info] 'su oracle' succeeded for root on /dev/???
Aug 1 23:00:07 bims-analysis last message repeated 2 times
Aug 2 00:00:02 bims-analysis su: [ID 366847 auth.info] 'su oracle' succeeded for root on /dev/???
Aug 2 00:00:07 bims-analysis last message repeated 2 times
Aug 2 01:00:01 bims-analysis su: [ID 366847 auth.info] 'su oracle' succeeded for root on /dev/???
Aug 2 01:00:07 bims-analysis last message repeated 2 times
Aug 2 02:00:01 bims-analysis su: [ID 366847 auth.info] 'su oracle' succeeded for root on /dev/???
Aug 2 02:00:07 bims-analysis last message repeated 2 times
Aug 2 03:00:01 bims-analysis su: [ID 366847 auth.info] 'su oracle' succeeded for root on /dev/???
Aug 2 03:00:07 bims-analysis last message repeated 2 times
Aug 2 03:10:01 bims-analysis syslogd: configuration restart
Aug 2 04:00:02 bims-analysis su: [ID 366847 auth.info] 'su oracle' succeeded for root on /dev/???
Aug 2 04:00:07 bims-analysis last message repeated 2 times
Aug 2 05:00:01 bims-analysis su: [ID 366847 auth.info] 'su oracle' succeeded for root on /dev/???
Aug 2 05:00:07 bims-analysis last message repeated 2 times
Aug 2 06:00:01 bims-analysis su: [ID 366847 auth.info] 'su oracle' succeeded for root on /dev/???
Aug 2 06:00:07 bims-analysis last message repeated 2 times
Aug 2 07:00:03 bims-analysis su: [ID 366847 auth.info] 'su oracle' succeeded for root on /dev/???
Aug 2 07:00:11 bims-analysis last message repeated 2 times
Aug 2 07:33:41 bims-analysis su: [ID 366847 auth.notice] 'su root' succeeded for hs6 on /dev/pts/17
Aug 2 07:33:56 bims-analysis scsi: [ID 107833 kern.warning] WARNING: /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037602345,0 (ssd0):
Aug 2 07:33:56 bims-analysis offline
Aug 2 07:38:09 bims-analysis scsi: [ID 107833 kern.warning] WARNING: /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037602345,0 (ssd0):
Aug 2 07:38:09 bims-analysis offline
Aug 2 07:38:09 bims-analysis scsi: [ID 107833 kern.warning] WARNING: /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037602345,0 (ssd0):
Aug 2 07:38:09 bims-analysis offline
Aug 2 07:38:09 bims-analysis scsi: [ID 107833 kern.warning] WARNING: /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037602345,0 (ssd0):
Aug 2 07:38:09 bims-analysis offline
Aug 2 07:38:09 bims-analysis scsi: [ID 107833 kern.warning] WARNING: /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037602345,0 (ssd0):
Aug 2 07:38:09 bims-analysis offline
Aug 2 07:38:09 bims-analysis md_mirror: [ID 976326 kern.warning] WARNING: md d5: open error on /dev/dsk/c0t0d0s3
Aug 2 07:38:09 bims-analysis scsi: [ID 107833 kern.warning] WARNING: /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037602345,0 (ssd0):
Aug 2 07:38:09 bims-analysis offline
Aug 2 07:38:09 bims-analysis md_mirror: [ID 976326 kern.warning] WARNING: md d6: open error on /dev/dsk/c0t0d0s4
Aug 2 07:38:10 bims-analysis md_mirror: [ID 976326 kern.warning] WARNING: md d7: open error on /dev/dsk/c0t0d0s5
Aug 2 07:38:10 bims-analysis scsi: [ID 107833 kern.warning] WARNING: /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037602345,0 (ssd0):
Aug 2 07:38:10 bims-analysis offline
Aug 2 07:39:01 bims-analysis scsi: [ID 107833 kern.warning] WARNING: /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037602345,0 (ssd0):
Aug 2 07:39:01 bims-analysis offline
Aug 2 07:40:59 bims-analysis scsi: [ID 799468 kern.info] ses16 at sf1: name w50800200000387c4,0, bus address 75
Aug 2 07:40:59 bims-analysis genunix: [ID 936769 kern.info] ses16 is /sbus@2,0/SUNW,socal@d,10000/sf@1,0/ses@w50800200000387c4,0
Aug 2 07:40:59 bims-analysis scsi: [ID 799468 kern.info] ses17 at sf1: name w50800200000387c3,0, bus address 9e
Aug 2 07:40:59 bims-analysis genunix: [ID 936769 kern.info] ses17 is /sbus@2,0/SUNW,socal@d,10000/sf@1,0/ses@w50800200000387c3,0
bash-2.05#
bash-2.05# metadb -i
标志 第一个块 块计数
Wm p l 16 8192 /dev/dsk/c0t0d0s7
a p luo 16 8192 /dev/dsk/c0t1d0s7
a p luo 16 8192 /dev/dsk/c2t32d0s7
a p luo 16 8192 /dev/dsk/c2t33d0s7
a p luo 16 8192 /dev/dsk/c2t34d0s7
a p luo 16 8192 /dev/dsk/c2t35d0s7
a p luo 16 8192 /dev/dsk/c2t36d0s7
a p luo 16 8192 /dev/dsk/c2t48d0s7
a p luo 16 8192 /dev/dsk/c2t49d0s7
a p luo 16 8192 /dev/dsk/c2t50d0s7
a p luo 16 8192 /dev/dsk/c2t51d0s7
a p luo 16 8192 /dev/dsk/c2t52d0s7
r - 副本没有设备的重新分配信息
o - 上次 mddb 配置更改前副本已在激活中
u - 副本已更新
l - 已成功读入此副本的定位器
c - 副本位于 /etc/lvm/mddb.cf
p - 已于内核中修补副本的位置
m - 此副本主副本,且已选作为输入
W - 副本含有设备写入错误
a - 副本正在激活中,所有确定事项都将传给此副本
M - 副本主块有问题
D - 副本数据块有问题
F - 副本格式有问题
S - 副本太小,不能容纳当前数据库
R - 副本含有设备读入错误
bash-2.05# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0t0d0
/sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037602345,0
1. c0t1d0
/sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100000c504e9e1a,0
2. c0t2d0
/sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037602335,0
3. c0t3d0
/sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w21000004cfe1b623,0
4. c2t32d0
/sbus@2,0/SUNW,socal@d,10000/sf@1,0/ssd@w22000014c3c1190c,0
5. c2t33d0
/sbus@2,0/SUNW,socal@d,10000/sf@1,0/ssd@w22000011c624226d,0
6. c2t34d0
/sbus@2,0/SUNW,socal@d,10000/sf@1,0/ssd@w22000014c3cf9e69,0
7. c2t35d0
/sbus@2,0/SUNW,socal@d,10000/sf@1,0/ssd@w22000011c659eb52,0
8. c2t36d0
/sbus@2,0/SUNW,socal@d,10000/sf@1,0/ssd@w22000011c659f59b,0
9. c2t37d0
/sbus@2,0/SUNW,socal@d,10000/sf@1,0/ssd@w22000011c61c8421,0
10. c2t48d0
/sbus@2,0/SUNW,socal@d,10000/sf@1,0/ssd@w22000014c3ca871c,0
11. c2t49d0
/sbus@2,0/SUNW,socal@d,10000/sf@1,0/ssd@w22000011c659e469,0
12. c2t50d0
/sbus@2,0/SUNW,socal@d,10000/sf@1,0/ssd@w22000011c659e646,0
13. c2t51d0
/sbus@2,0/SUNW,socal@d,10000/sf@1,0/ssd@w22000014c3ca963d,0
14. c2t52d0
/sbus@2,0/SUNW,socal@d,10000/sf@1,0/ssd@w22000014c3caa9da,0
15. c2t53d0
/sbus@2,0/SUNW,socal@d,10000/sf@1,0/ssd@w22000014c326315f,0
Specify disk (enter its number):
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
更换硬盘步骤:
# metadb -d c0t0d0s7
# metadb -i
把坏掉的硬盘拔出,换上新的磁盘。
扫描硬件设备以识别新磁盘:
# devfsadm
# devfsadm
# format //查看是否已经识别硬盘
同步镜像中的两块硬盘:
# prtvtoc /dev/rdsk/c0t1d0s2 | fmthard -s - /dev/rdsk/c0t0d0s2
fmthard:
New volume table of contents now in place.
# metadb -a -f -c 1 c0t0d0s7
# metadb
重新同步镜像:
# metareplace -e d7 c0t0d0s5
# metareplace -e d6 c0t0d0s4
# metareplace -e d5 c0t0d0s3
# metareplace -e d34 c0t0d0s1
# metareplace -e d12 c0t0d0s0
查看同步情况:
# metastat | grep %
重新同步在进行中: 15 % 完成
重新同步在进行中: 45 % 完成
重新同步在进行中: 45 % 完成
同步完成后,本次更换硬盘完成。