prtvtoc /dev/rdsk/c1t0d0s2 | fmthard -s - /dev/rdsk/c1t1d0s2
metadb -a -c 3 -f c1t0d0s7 c1t1d0s7
metainit -f d11 1 1 c1t0d0s0
metainit -f d12 1 1 c1t1d0s0
metainit d10 -m d11
metaroot d10
init 6
metattach d10 d12
metadb -a -f c0t2d0s1
metadb -a -f c0t3d0s1
metadb -a -c2 c0t2d0s1 c0t3d0s1
metainit d21 1 1 c0t2d0s1
metainit d22 1 1 c0t3d0s1
metainit d20 -m d21
metattach d20 d22
bash-3.00# metastat d2
d2: Mirror
Submirror 0: d12
State: Okay
Submirror 1: d22
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 32768000 blocks (15 GB)
d12: Submirror of d2
State: Okay
Size: 32768000 blocks (15 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c0t2d0s0 0 No Okay Yes
d22: Submirror of d2
State: Okay
Size: 32768000 blocks (15 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c0t3d0s0 0 No Okay Yes
Device Relocation Information:
Device Reloc Device ID
c0t2d0 Yes id1,sd@SSEAGATE_ST973401LSUN72G_2211NLEJ____________3LB1NLEJ
c0t3d0 Yes id1,sd@SSEAGATE_ST973401LSUN72G_2211NGQR____________3LB1NGQR
metadetach -f d20 d21
metadetach -f d30 d31
metadetach -f d10 d11
metaclear d11
metaclear d21
metaclear d31
metareplace -e dX c0t0d0sX