- 论坛徽章:
- 0
|
两个880操作系统是OS9,做的SC3.1,磁盘阵列D1000。用metaset做的一个raid0+1。
前几天发现raid0+1中两个raid0里面一个raid0坏了一个硬盘,另外一个坏了两个硬盘。挂接的分区已经IO error,所以更换了3个硬盘。打算删除了metaset重建,首先把另外一个主机删除了,再detach镜像的时候怎么也detach不出来。于是打算把另外一个主机加入后按照提示更换硬盘,首先是另外一个主机已经无法加入了,其次那个提示很有问题啊,不能用。
信息如下:
root@misp2--/ #metaset
Set name = datavg02, Set number = 2
Host Owner
misp2 Yes
Drive Dbase
d7 Yes
d8 Yes
d9 Yes
d10 Yes
d11 Yes
d12 Yes
d13 Yes
d5 Yes
d6 Yes
d4 Yes
d3 Yes
d2 Yes
root@misp2--/ #metastat -s datavg02
datavg02/d301: Mirror
Submirror 0: datavg02/d310
State: Needs maintenance
Submirror 1: datavg02/d311
State: Needs maintenance
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 426711078 blocks (203 GB)
datavg02/d310: Submirror of datavg02/d301
State: Needs maintenance
Invoke: after replacing "Maintenance" components:
metareplace datavg02/d301 d2s0 <new device>
Size: 426711078 blocks (203 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
d2s0 0 No Last Erred No
Stripe 1:
Device Start Block Dbase State Reloc Hot Spare
d3s0 0 No Okay No
Stripe 2:
Device Start Block Dbase State Reloc Hot Spare
d4s0 0 No Okay No
Stripe 3:
Device Start Block Dbase State Reloc Hot Spare
d5s0 0 No Maintenance No
Stripe 4:
Device Start Block Dbase State Reloc Hot Spare
d6s0 0 No Okay No
Stripe 5:
Device Start Block Dbase State Reloc Hot Spare
d7s0 0 No Okay No
datavg02/d311: Submirror of datavg02/d301
State: Needs maintenance
Invoke: metareplace datavg02/d301 d8s0 <new device>
Size: 426711078 blocks (203 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
d8s0 0 No Maintenance No
Stripe 1:
Device Start Block Dbase State Reloc Hot Spare
d9s0 0 No Okay No
Stripe 2:
Device Start Block Dbase State Reloc Hot Spare
d10s0 0 No Okay No
Stripe 3:
Device Start Block Dbase State Reloc Hot Spare
d11s0 0 No Okay No
Stripe 4:
Device Start Block Dbase State Reloc Hot Spare
d12s0 0 No Okay No
Stripe 5:
Device Start Block Dbase State Reloc Hot Spare
d13s0 0 No Okay No
Device Relocation Information:
Device Reloc Device ID
d8 No -
d9 No -
d10 No -
d11 No -
d12 No -
d13 No -
d2 No -
d3 No -
d4 No -
d5 No -
d6 No -
d7 No -
root@misp2--/ #metadetach -s datavg02 d301 d311
metadetach: misp2: datavg02/d301: operation would result in no readable submirrors
root@misp2--/ #metadetach -s datavg02 -f d301 d311
metadetach: misp2: datavg02/d301: operation would result in no readable submirrors
root@misp2--/ #metaset -s datavg02 -a -h misp1
metaset: misp2: /dev/did/dsk/d5s7: No such device or address
root@misp2--/ #metareplace datavg02/d301 d8s0 /dev/did/rdsk/d8s0
metareplace: misp2: d8s0: No such file or directory
root@misp2--/ #metareplace -s datavg02 datavg02/d301 d8s0
usage: metareplace [-s setname] mirror component-old component-new
metareplace [-s setname] -e mirror component
metareplace [-s setname] [-f] RAID component-old component-new
metareplace [-s setname] [-f] -e RAID component
metareplace [-s setname] -c metadevice component-old component-new
root@misp2--/ #metareplace -h
usage: metareplace [-s setname] mirror component-old component-new
metareplace [-s setname] -e mirror component
metareplace [-s setname] [-f] RAID component-old component-new
metareplace [-s setname] [-f] -e RAID component
metareplace [-s setname] -c metadevice component-old component-new
root@misp2--/ #metareplace -s datavg02 -c d301 d311
usage: metareplace [-s setname] mirror component-old component-new
metareplace [-s setname] -e mirror component
metareplace [-s setname] [-f] RAID component-old component-new
metareplace [-s setname] [-f] -e RAID component
metareplace [-s setname] -c metadevice component-old component-new
root@misp2--/ #metareplace -s datavg02 -c datavg02/d301 d311
usage: metareplace [-s setname] mirror component-old component-new
metareplace [-s setname] -e mirror component
metareplace [-s setname] [-f] RAID component-old component-new
metareplace [-s setname] [-f] -e RAID component
metareplace [-s setname] -c metadevice component-old component-new
root@misp2--/ #metareplace -s datavg02 -c datavg02/d301 d8
usage: metareplace [-s setname] mirror component-old component-new
metareplace [-s setname] -e mirror component
metareplace [-s setname] [-f] RAID component-old component-new
metareplace [-s setname] [-f] -e RAID component
metareplace [-s setname] -c metadevice component-old component-new
root@misp2--/ #metareplace -s datavg02 -c datavg02/d301 d8 d8
metareplace: misp2: datavg02/d301: unknown metadevice type
root@misp2--/ #metareplace -s datavg02 -c datavg02/d301 ds08
usage: metareplace [-s setname] mirror component-old component-new
metareplace [-s setname] -e mirror component
metareplace [-s setname] [-f] RAID component-old component-new
metareplace [-s setname] [-f] -e RAID component
metareplace [-s setname] -c metadevice component-old component-new
root@misp2--/ #
意志已经开始崩溃,不明白这个垃圾东西该怎么搞了,大家有什么高见? |
|