Many thanks to John Malick for his quick reply that worked. -----Original Message----- From: John Malick [mailto:john@starinc.com] Sent: Tuesday, June 29, 2004 10:37 AM To: Brian Lucas Subject: Re: Mirror/removal question I had the same issue once and a "metaclear -r -f 'device'" worked perfectly. You mentioned using the -f but not the -r. Give that a shot Good luck -----Original Message----- From: sunmanagers-bounces@sunmanagers.org [mailto:sunmanagers-bounces@sunmanagers.org] On Behalf Of Brian Lucas Sent: Tuesday, June 29, 2004 10:33 AM To: sunmanagers@sunmanagers.org Subject: Mirror/removal question Mighty gurus! I have a mirror that I want to rebuild. Though there is no data on the volume, and the volume is not mounted, I cannot blast away the mirror because of one submirror that clings to life. It has a disk in a Last Erred state and no amount of "metaoffline -f" "metadetach -f" "metaclear" or anything else will let me destroy this mirror and submirror. All errors return as "operation would result in no readable submirrors" or "attempted to clear mirror with submirror(s) in invalid state" or something to that effect to which I respond, in this case only, "who cares?! Do what I want!" I have even tried to replace the "Last Erred" disk with "metareplace -e d3 c0t24d0s2" but that also fails. "metasync" does nothing Without rebooting, what options are left? The mirror had 2 submirrors, I removed one but I was still unable to kill the whole mirror because the "Last Erred" one was hanging me up. I have listed the output from a metastat command. Thanks, Brian # metastat d3 d3: Mirror Submirror 0: d31 State: Needs maintenance Submirror 1: d32 State: Needs maintenance Pass: 1 Read option: roundrobin (default) Write option: parallel (default) Size: 141435392 blocks d31: Submirror of d3 State: Needs maintenance Invoke: metasync d3 Size: 141435392 blocks Stripe 0: (interlace: 32 blocks) Device Start Block Dbase State Reloc Hot Spare c3t10d0s2 9424 No Okay Yes c3t7d0s2 9424 No Okay Yes c3t8d0s2 9424 No Okay Yes c3t9d0s2 4712 No Okay Yes d32: Submirror of d3 State: Needs maintenance Invoke: after replacing "Maintenance" components: metareplace d3 c0t24d0s2 <new device> Size: 141435392 blocks Stripe 0: (interlace: 32 blocks) Device Start Block Dbase State Reloc Hot Spare c0t23d0s2 9424 No Okay Yes c0t24d0s2 9424 No Last Erred Yes c0t25d0s2 9424 No Okay Yes c0t26d0s2 9424 No Okay Yes Device Relocation Information: Device Reloc Device ID c3t10d0 Yes id1,ssd@w2000002037397d13 c3t7d0 Yes id1,ssd@w20000020374670af c3t8d0 Yes id1,ssd@w20000020375b1bbb c3t9d0 Yes id1,ssd@w20000020375b9aa3 c0t23d0 Yes id1,ssd@w20000020375b997f c0t24d0 Yes id1,ssd@w20000020376014c3 c0t25d0 Yes id1,ssd@w20000020376e8092 c0t26d0 Yes id1,ssd@w20000020375b1324 # _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers [demime 1.01b removed an attachment of type application/x-pkcs7-signature which had a name of smime.p7s] _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Tue Jun 29 12:40:12 2004
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:33 EST