HP NetRAID-4M Controller User Manual

Page 236

Advertising
background image

9-28

Command Line Interface User’s Guide

How to assign spare disks to a single container

The following sections discuss each of these topics.

Understanding the Assign Spare Disk Attributes You can Specify

You use the

container set spare

command to assign spare

disks to a container. The

container set spare

command has no

attributes.

Understanding How to Assign Spare Disks to a Single Container

This section provides an example that describes how to assign spare
disks to a single container.

Before assigning a spare disk to a single container, 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 assign a spare disk to a single container, use the

container set

spare

command, as in the following example. In the example, SCSI

disk (2,3,0) is added as a spare disk to container 0.

HPN0> container set spare 0 (2,3,0)

Executing: container set spare 0 (CHANNEL=2,ID=3,LUN=0)

After running the

container set spare

command to assign a

spare disk to a single container, use the

container show spare

command to display information about the container’s spare disks,
as in the following example. In the example, the Scsi C:ID:L column
indicates that SCSI device 2:03:0 is assigned as a spare disk for
container 0.

HPN0> container show spare

Executing: container show spare

Container Scsi C:ID:L

_________ ___________________________

Advertising