Understanding how to scrub a raid-5 set – HP NetRAID-4M Controller User Manual

Page 227

Advertising
background image

9-19

Modifying Containers

HPN0> container scrub /no_repair=FALSE 2

Executing: container scrub /no_repair=FALSE 2

Specifying Synchronous or Asynchronous Command Execution

The

wait

attribute indicates whether the command prompt returns

after a container is scrubbed (synchronous command execution) or if
the command prompt returns immediately after executing the

container scrub

command (asynchronous command execution).

In the following example, the

container scrub

command with

the /wait switch executes asynchronously:

HPN0> container scrub /wait=FALSE 2

Executing: container scrub /wait=FALSE 2

Understanding How to Scrub a RAID-5 Set

This section provides an example that describes how to scrub a
RAID-5 set.

Before scrubbing a RAID-5 set, use the

container list

command

to display information about your containers, as in the following
example. In the example, the Type column indicates that a RAID-5
set resides on container 0.

HPN0> container list

Executing: container list

Cluster Num Total Oth Stripe Scsi Partition

Dr Partner Label Type Size Ctr Size Usage C:ID:L Offset:Size

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

0 0 RAID-5 200MB 32KB None 2:01:0 64.0KB: 100MB

2:02:0 64.0KB: 100MB

2:03:0 64.0KB: 100MB

To scrub a RAID-5 set, use the

container scrub

command, as in

the following example. In the example, container 0 is scrubbed.

HPN0> container scrub 0

Executing: container scrub 0

After running the

container scrub

command to scrub a RAID-5

set, use the

container list

command to display information

about the containers, as in the following example. There is no
difference between the container list display prior to and after the
scrub operation. In the example, the Type column indicates that a
RAID-5

set resides on container 0.

Advertising