bind
99
The environment variable RaidAgentDevice is the default value for the
device when none is specified with the -d flag. If RaidAgentDevice is not set
and no -d switch is present, an error is generated on all commands that need
device information. For example:
setenv RaidAgentDevice sc4d2l0
setenv RaidAgentDevice /dev/scsi/sc4d2l0
The /dev/scsi prefix is optional.
bind
The physical disk unit number is also known as the logical unit number, or
LUN. The unit is a logical concept but is recognized as a physical disk unit
by the operating system. The LUN is a hexadecimal number between 0 and
F (15 decimal).
Unlike standard disks, physical disk unit numbers (LUNs) lack a standard
geometry. Disk capacity is not a fixed quantity between disk-array LUNs. The
effective geometry of a disk-array LUN depends on the type of physical
disks in the array and the number of physical disks in the LUN.
Note:
Although bind returns immediate status for a RAID device, the bind
does not complete for 45 to 60 minutes, depending on system traffic. Use
getlun to monitor the progress of the bind; getlun returns the percent bound.
When the bind is complete, each disk is noted as “Enabled” in the getlun
output.
To group physical disks into RAID-0, RAID-1, RAID-1_0, or RAID-5 units or
to create a hot spare, use
raid5 -d
device
bind
raid-type lun-number disk-names
[
optional-args
]
Variables in this syntax are explained below.
-d device
Target RAID device, as returned by raid5 getagent.
raid-type
Choices are
•
r0: RAID-0
•
r1: RAID-1