Understanding how to create a raid-5 set, Understanding how to create a raid-5 set 7-19 – HP NetRAID-4M Controller User Manual
Page 169

7-19
Working With Single-level Containers
In the following example, the
container create raid5
command with the /wait switch creates a RAID-5 set and returns the
prompt after the RAID-5 set is created.
HPN0> container create raid5 /wait=TRUE ((2,1,0), 100M)
(2,2,0)(2,3,0)
Executing: container create raid5 /wait=TRUE
((CHANNEL=2,ID=1,LUN=0), 104,857,600) (CHANNEL=2,ID=2,LUN=0)
(CHANNEL=2,ID=3,LUN=0)
Understanding How to Create a RAID-5 Set
This section provides an example that describes how to create a
RAID-5 set.
Before creating a RAID-5 set, use the
disk show space
command
to display information about your disks, as in the following
example. In the example, the Usage column indicates Free for each
disk, which means that the space on each disk consists of freespace.
HPN0> disk show space
Executing: disk show space
Scsi C:ID:L Usage Size
----------- ---------- -------------
2:01:0 Free 64.0KB:8.47GB
2:02:0 Free 64.0KB:8.47GB
2:03:0 Free 64.0KB:8.47GB
2:04:0 Free 64.0KB:8.47GB
To create a RAID-5 set, use the
container create raid5
command, as in the following example. In the example, a RAID-5 set
is created on SCSI devices (2,1,0), (2,2,0), and (2,3,0) using 100M
(megabytes) of freespace from each SCSI device. The /stripe_size
switch specifies that each stripe is 64K in size.
HPN0> container create raid5 /stripe_size=64K ((2,1,0), 100M)
(2,2,0) (2,3,0)
Executing: container create raid5 /stripe_size=65,536
((CHANNEL=2,ID=1,LUN=0),104,857,600) (CHANNEL=2,ID=2,LUN=0)
(CHANNEL=2,ID=3,LUN=0)
After running the
container create raid5
command, use the
container list
command to display information about the