beautypg.com

Example 7: to change an attribute of an object – Compex Systems Advanced SerialRAID Adapters SA33-3285-02 User Manual

Page 262

background image

Example 7: To Change an Attribute of an Object

This example shows how to change an attribute of an object; for example, to change
the new array so that it does not automatically call a hot spare disk drive if one of its
member disk drives goes into the Offline state.

Type the command:

> ssaraid -H -l ssa0 -n hdisk5 -a spare=false

where:

-H

specifies that this operation is a change operation.

-n hdisk5

specifies that the object hdisk5 is about to be changed.

-a spare=

specifies the new value for the spare attribute.

A list of user-changeable attributes are available from “Hot Spare Pool Creation and
Change Attribute” on page 249.

Example 8: To Exchange a Member Disk Drive of an Existing Array

This example shows how to exchange a member disk drive of an existing array with a
free pdisk; for example, to exchange pdisk0 with pdisk3.

Type the command:

> ssaraid -A -l ssa0 -i exchange -n hdisk5 -a old_member=pdisk0 new_member=pdisk3

where:

-A

specifies that this operation is an exchange operation.

-n hdisk5

specifies that the array about to be changed.

-a old_member=

specifies the name of the existing member disk.

-new_member=

specifies the name of the new member disk drive.

If you give a List command in summary format, a result similar to that shown here is
displayed:

pdisk0

0004AC506C4000D free

n/a

4.5GB

Physical disk

pdisk1

0004AC506D6D00D member

n/a

4.5GB

Physical disk

pdisk2

0004AC50A44200D member

n/a

2.3GB

Physical disk

pdisk3

0004AC515EA400D member

n/a

4.5GB

Physical disk

hdisk5

900335FE80C84CK rebuilding

9.0GB

RAID-5 array

242

User’s Guide and Maintenance Information