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