how to delete RAID of solaris volume manager thru command line

how do I remove raid that has the following Raid configuration

# metastat
d60: Mirror
Submirror 0: d61
State: Okay
Submirror 1: d62
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 36501312 blocks (17 GB)

d61: Submirror of d60
State: Okay
Size: 36501312 blocks (17 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t0d0s6 0 No Okay Yes

d62: Submirror of d60
State: Okay
Size: 36501312 blocks (17 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t8d0s6 0 No Okay Yes

d50: Mirror
Submirror 0: d51
State: Okay
Submirror 1: d52
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 40968576 blocks (19 GB)

d51: Submirror of d50
State: Okay
Size: 40968576 blocks (19 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t0d0s5 0 No Okay Yes

d52: Submirror of d50
State: Okay
Size: 40968576 blocks (19 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t8d0s5 0 No Okay Yes

d40: Mirror
Submirror 0: d41
State: Okay
Submirror 1: d42
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 5942784 blocks (2.8 GB)

d41: Submirror of d40
State: Okay
Size: 5942784 blocks (2.8 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t0d0s4 0 No Okay Yes

d42: Submirror of d40
State: Okay
Size: 5942784 blocks (2.8 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t8d0s4 0 No Okay Yes

d30: Mirror
Submirror 0: d31
State: Okay
Submirror 1: d32
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 48010368 blocks (22 GB)

d31: Submirror of d30
State: Okay
Size: 48010368 blocks (22 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t0d0s3 0 No Okay Yes

d32: Submirror of d30
State: Okay
Size: 48010368 blocks (22 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t8d0s3 0 No Okay Yes

d10: Mirror
Submirror 0: d11
State: Needs maintenance
Submirror 1: d12
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 5942784 blocks (2.8 GB)

d11: Submirror of d10
State: Needs maintenance
Invoke: metareplace d10 c1t0d0s1 <new device>
Size: 5942784 blocks (2.8 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t0d0s1 0 No Maintenance Yes

d12: Submirror of d10
State: Okay
Size: 5942784 blocks (2.8 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t8d0s1 0 No Okay Yes

d0: Mirror
Submirror 0: d1
State: Okay
Submirror 1: d2
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 5942784 blocks (2.8 GB)

d1: Submirror of d0
State: Okay :o
Size: 5942784 blocks (2.8 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t0d0s0 0 No Okay Yes

d2: Submirror of d0
State: Okay
Size: 5942784 blocks (2.8 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t8d0s0 0 No Okay Yes

Device Relocation Information:
Device Reloc Device ID
c1t8d0 Yes id1,ssd@n500000e010c27100
c1t0d0 Yes id1,ssd@n20000004cfb4c983

thanks in advance

Jaya

use metadetach to break the mirror, then use metaclear to remove the metadevice.

metadetach d60 d62
metaclear d62

If you want to delete all metadevices you can use

metaclear -a