===Create RAID 1 partitions===
filesys mirror:d0 c1t0d0s0 c1t1d0s0 2048 /
filesys mirror:d1 c1t0d0s1 c1t1d0s1 2048 /var
filesys c1t0d0s2 all overlap
filesys c1t1d0s2 all overlap
filesys c1t0d0s3 2048 swap
filesys c1t1d0s3 2048 swap
metadb c1t0d0s4 count 3
metadb c1t1d0s4 count 3
give the following config :
d1: Mirror
Submirror 0: d4
State: Okay
Submirror 1: d5
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 4202688 blocks (2.0 GB)
d4: Submirror of d1
State: Okay
Size: 4202688 blocks (2.0 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t0d0s1 0 No Okay Yes
d5: Submirror of d1
State: Okay
Size: 4202688 blocks (2.0 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t1d0s1 0 No Okay Yes
d0: Mirror
Submirror 0: d2
State: Okay
Submirror 1: d3
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 4202688 blocks (2.0 GB)
d2: Submirror of d0
State: Okay
Size: 4202688 blocks (2.0 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t0d0s0 0 No Okay Yes
d3: Submirror of d0
State: Okay
Size: 4202688 blocks (2.0 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t1d0s0 0 No Okay Yes
Device Relocation Information:
Device Reloc Device ID
c1t1d0 Yes id1,sd@SSEAGATE_ST373307LSUN72G_3HZ9KEVL00007518E7LV
c1t0d0 Yes id1,sd@SSEAGATE_ST373307LSUN72G_3HZ7WXBX00007502DCY3
Read also my notes about [[:docs:solaris:svm]]