主机:SUN E3500
系统:Solaris9
盘阵:A5000
卷管理:SVM
系统盘镜像中,两块镜像盘故障,需要重新安装操作系统。
收集原系统explore包,方便重装时对系统配置。
d34: Mirror
Submirror 0: d3
State: Needs maintenance
Submirror 1: d4
State: Needs maintenance
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 16779432 blocks (8.0 GB)
d3: Submirror of d34
State: Needs maintenance
Invoke: after replacing "Maintenance" components:
metareplace d34 c0t0d0s1
Size: 16779432 blocks (8.0 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c0t0d0s1 0 No Last Erred Yes
d4: Submirror of d34
State: Needs maintenance
Invoke: after replacing "Maintenance" components:
metareplace d34 c0t1d0s1
Size: 16779432 blocks (8.0 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c0t1d0s1 0 No Last Erred Yes
d12: Mirror
Submirror 0: d1
State: Needs maintenance
Submirror 1: d2
State: Needs maintenance
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 16779432 blocks (8.0 GB)
d1: Submirror of d12
State: Needs maintenance
Invoke: after replacing "Maintenance" components:
metareplace d12 c0t0d0s0
Size: 16779432 blocks (8.0 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c0t0d0s0 0 No Last Erred Yes
d2: Submirror of d12
State: Needs maintenance
Invoke: after replacing "Maintenance" components:
metareplace d12 c0t1d0s0
Size: 16779432 blocks (8.0 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c0t1d0s0 0 No Last Erred Yes
A5000盘阵中卷:
d80: Mirror
Submirror 0: d81
State: Resyncing
Submirror 1: d82
State: Resyncing
Resync in progress: 16 % done
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 1432780800 blocks (683 GB)
d81: Submirror of d80
State: Resyncing
Size: 1432780800 blocks (683 GB)
Stripe 0: (interlace: 32 blocks)
Device Start Block Dbase State Reloc Hot Spare
c2t32d0s6 0 No Okay Yes
c2t33d0s6 20352 No Okay Yes
c2t34d0s6 20352 No Okay Yes
c2t35d0s6 20352 No Okay Yes
c2t36d0s6 20352 No Okay Yes
d82: Submirror of d80
State: Resyncing
Size: 1432780800 blocks (683 GB)
Stripe 0: (interlace: 32 blocks)
Device Start Block Dbase State Reloc Hot Spare
c2t48d0s6 0 No Okay Yes
c2t49d0s6 20352 No Okay Yes
c2t50d0s6 20352 No Okay Yes
c2t51d0s6 20352 No Okay Yes
c2t52d0s6 20352 No Okay Yes
重新安装操作系统后,A5000盘阵中卷未导入到系统中。
使A5000盘阵卷重新导入系统的方法:修改/etc/lvm/md.cf文件,将重装系统前收集的explore包中相关信息加入md.cf(metastat -p的输出信息)
重启主机。