Specifying freespace when creating a raid-5 set, Specifying stripe size when creating a raid-5 set – HP NetRAID-4M Controller User Manual
Page 166

7-16
Command Line Interface User’s Guide
■
container label
■
parity
(setting up by scrubbing)
■
synchronous or asynchronous RAID-5 set
creation
Specifying Freespace When Creating a RAID-5 Set
A RAID-5 set’s size is created from freespace. To specify freespace
when creating a RAID-5 set, use the
container create raid5
command. There must be enough freespace available on your disk
or disks to create a container of the desired size. See Understanding
Freespace in Chapter 6, Working with Container Attributes, for
information on freespace.
In the following example, the
container create raid5
command creates a RAID-5 set on SCSI devices (2,1,0), (2,2,0), and
(2,3,0)
using 100MB (megabytes) of freespace from each SCSI device.
HPN0> container create raid5 ((2,1,0), 100M) (2,2,0)(2,3,0)
Executing: container create raid5 ((CHANNEL=2,ID=1,LUN=0),
104,857,600) (CHANNEL=2,ID=2,LUN=0)(CHANNEL=2,ID=3,LUN=0)
Container 0 created
Specifying Stripe Size When Creating a RAID-5 Set
The
stripe size
attribute indicates the number of bytes in a
stripe. Stripe size is the amount of data written to a partition before
the I/O data stream switches to the next partition in the stripe set.
The stripe size can be 8 KB, 16 KB, 32 KB, or 64 KB. The default
stripe size is 32 KB. You need to determine the stripe size that is
most suitable for your environment. Note that you can use the
container reconfigure
command at a later time to change the
stripe size. See the
container reconfigure
command in
Working with Container Reconfiguration in Chapter 9, Modifying
Containers, for a description of the
container reconfigure
command.
In the following example, the
container create raid5
command with the /stripe switch creates a RAID-5 set with a stripe
size of 64 KB.
HPN0> container create raid5 /stripe=64K ((2,1,0), 100M)
(2,2,0)(2,3,0)