Specifying mirror disk capacity, Specifying the i/o delay – HP NetRAID-4M Controller User Manual

Page 162

Advertising
background image

7-12

Command Line Interface User’s Guide

Specifying Mirror Disk Capacity

The disk used to hold the mirror set must be the same size as the
disk that is to be mirrored. To display the amount of space available
on your disks, use the

disk show space

command. Additionally,

the freespace on both disks must be equal.

In the following example, the

disk show space

command

indicates the amount of disk space available. In the example, the
Size

column indicates that a container resides on SCSI device 2:01:0

that has a partition size of 100MB (megabytes). SCSI device 2:01:0
also has 8.37GB of freespace. The total disk space is 8.47GB (100MB
+ 8.37GB = 8.47GB). SCSI devices 2:02:0, 2:03:0, and 2:04:0 also have
8.47BG of disk space, which makes them suitable for creating a
mirror set from the container on SCSI device 2:01:0.

HPN0>

disk show space

Executing: disk show space

Scsi C:ID:L Usage Size

----------- ---------- -------------

2:01:0 Container 64.0KB: 100MB

2:01:0 Free 100MB:8.37GB

2:02:0 Free 64.0KB:8.47GB

2:03:0 Free 64.0KB:8.47GB

2:04:0 Free 64.0KB:8.47GB

Specifying the I/O Delay

The I/O delay is the number of milliseconds the controller waits
between the I/Os required to create the mirror set.

In the following example, the

container create mirror

command with the /io_delay switch creates a mirror set with an I/O
delay of 10 milliseconds.

HPN0> container create mirror /io_delay=10 0 (2,2,0)

Executing: container create mirror /io_delay=10 0

(CHANNEL=2,ID=2,LUN=0)

Advertising