Basically what you want and is most important for you is that active data is available even after say hardware failure. RAID (Redundant Array of Independent Disks) Levels 1. RAID 0 (stripes and concatenation) - there is no redundancy here, provides fast I/O 2. RAID 1 (mirroring) - data is mirrored on two or more disks, data can be read from drives simultaneously. SVM also supports RAID 1+0 or 0+1 3. RAID 5 (striping with parity) - each dish has data and parity stripe. If possible use hot spares here.
| Requirement | RAID 0 - Concatenation (writes data to first disk until it is full, then moves to next one) | RAID 0 - Stripe without parity (spreads data equally across all disks) | RAID 1 - Mirror | RAID 5 - Stripe set with parity | Soft Partition (divide volume into more smaller volumes) |
| Redundancy | No | No | Yes | Yes | No |
| Improved read performance | No | Yes | Yes | Yes | No |
| Improved write performance | No | Yes | No | No | No |
| More than 8 slices per device | No | No | No | No | Yes |
| Lager available storage space | Yes | Yes | No | Yes | No |
# svcs -a |egrep "md|meta" disabled Jun_10 svc:/network/rpc/mdcomm:default disabled Jun_10 svc:/network/rpc/metamed:default disabled Jun_10 svc:/network/rpc/metamh:default online Jun_10 svc:/system/metainit:default online Jun_10 svc:/network/rpc/meta:default online Jun_10 svc:/system/mdmonitor:default online Jun_10 svc:/system/fmd:default |
# metadb -afc 3 c1t1d0s7 |
# metadb -i
flags first blk block count
a u r 16 8192 /dev/dsk/c1t1d0s7
a u r 8208 (8192+16) 8192 /dev/dsk/c1t1d0s7
a u r 16400(8208+8192)8192 /dev/dsk/c1t1d0s7
r - replica does not have device relocation information
o - replica active prior to last mddb configuration change
u - replica is up to date
l - locator for this replica was read successfully
c - replica's location was in /etc/lvm/mddb.cf
p - replica's location was patched in kernel
m - replica is master, this is replica selected as input
W - replica has device write errors
a - replica is active, commits are occurring to this replica
M - replica had problem with master blocks
D - replica had problem with data blocks
F - replica had format problems
S - replica is too small to hold current data base
R - replica had device read errors
|
# metadb
flags first blk block count
a u r 16 8192 /dev/dsk/c1t1d0s7
a u r 8208 8192 /dev/dsk/c1t1d0s7
a u r 16400 8192 /dev/dsk/c1t1d0s7
a u r 16 200 /dev/dsk/c1t0d0s7
a u r 216 200 /dev/dsk/c1t0d0s7
a u r 416 200 /dev/dsk/c1t0d0s7
a u r 616 200 /dev/dsk/c1t0d0s7
a u r 816 200 /dev/dsk/c1t0d0s7
|
# metadb
flags first blk block count
a u r 16 8192 /dev/dsk/c1t1d0s7
a u r 8208 8192 /dev/dsk/c1t1d0s7
a u r 16400 8192 /dev/dsk/c1t1d0s7
|