100
Appendix B: The raid5 Command Line Interface
•
r1_0: RAID-1_0
•
r5: RAID-5
•
hs: hot spare
lun-number
Logical unit number to assign the unit (a hexadecimal
number between 0 and F).
disk-names
Indicates which physical disks to bind, in the format bd,
where b is the physical bus name (a through e) and d is the
device number on the bus (0 through 3). For example, a0
represents the device 0 on bus A, and e2 represents device 2
on bus E.
A RAID-0 bind requires a minimum of three (maximum 16)
disks.
A RAID-1 bind requires two disks on separate buses.
A RAID-1_0 bind requires a minimum of four disks per
bus. The maximum is 16 disks, grouped in sets of four on
different buses. A RAID-1_0 bind requires separate buses
for each member of the image pair. Select the disks in this
order: p1, s1, p2, s2, p3, s3, and so on.
A RAID-5 bind also requires separate buses, each with five
disk modules. Legal RAID-5 bind configurations are
•
a0 b0 c0 d0 e0
•
a1 b1 c1 d1 e1
•
a2 b2 c2 d2 e2
•
a3 b3 c3 d3 e3
A hot spare bind requires one disk, which cannot be A0, B0,
C0, D0, E0, or A3. The capacity of the hot spare must be at
least as great as the capacity of the largest disk module it
might replace.
The optional arguments are as follows:
-r rebuild-time
Maximum time in hours to rebuild a replacement disk.
Default is 4 hours; legal values are any number greater than
or equal to 0.