49
Chapter 4
4.
Configuring Disks
This chapter explains
•
binding disks into RAID units
•
getting disk group (LUN) information
•
changing LUN parameters
The chapter concludes with information on dual processors, load balancing,
and device names.
Binding Disks Into RAID Units
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; hence, the seemingly contradictory names.) 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.
To group physical disks into RAID-0, RAID-1, RAID-1_0, or RAID-5 units or
to create a hot spare, use as root:
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; see
“Getting Device Names With getagent,” in Chapter 3.