bind
101
A rebuild time of 2 hours rebuilds the disk more quickly
but degrades response time slightly. A rebuild time of 0
hours rebuilds as quickly as possible but degrades
performance significantly.
If your site requires fast response time and you want to
minimize degradation to normal I/O activity, you can
extend the rebuilding process over a longer period of time,
such as 24 hours. You can change the rebuild time later
without damaging the information stored on the physical
disk unit.
-s stripe-size
Number of blocks per physical disk in a RAID-5 stripe.
Default is 128; legal values are any number greater than 0.
The smaller the stripe element size, the more efficient the
distribution of data read or written. However, if the stripe
size is too small for a single host I/O operation, the
operation requires accessing two stripes, thus causing the
hardware to read and/or write from two disk modules
instead of one. Generally, it is best to use the smallest stripe
element size that will rarely force access to another stripe.
The default stripe element size is 128 sectors. The size
should be an even multiple of 16 sectors (8 KB).
Note:
This value is ignored for hot spares.
-c cache-flags
Values are:
•
none: no caching
•
read: read caching
•
write: write caching
•
rw: read and write caching
The default is none.
The following example binds disks A0, B0, C0, D0, and E0 into a RAID-5
logical unit with a logical unit number of 3, a four-hour maximum rebuild
time, and a 128-block strip size per physical disk, with read cache enabled.
raid5 -d sc4d2l0 bind r5 3 a0 b0 c0 d0 e0 -r 4 -s 128 -c read