Displaying and setting a container’s lock mode – HP NetRAID-4M Controller User Manual

Page 129

Advertising
background image

6-23

Working with Container Attributes

To set a container’s availability to read/write, use the

container

readwrite

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

container 0 is set to read/write availability.

HPN0> container readwrite 0

Executing: container readwrite 0

After executing the

container readonly

command, use the

container list

command again to verify that the container is set

to read/write availability. In the example, the RO column is blank,
which means that container 0 is set to read/write availability. (Note
that the example eliminates some items in the

container list

display to make the example readable on this page.)

HPN0> container list /full=TRUE

Executing: container list /full=TRUE

Cluster Num Total Oth Stripe Scsi

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

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

0 0 Volume 100MB None 2:01:0

Displaying and Setting a Container’s Lock Mode

The

lock

attribute indicates if a container is locked into volatile

memory space on the currently open controller. A locked container
cannot be moved, deleted, made read-only, or used to create a
multilevel container. When a container is locked into volatile
memory space, the

container reconfigure

command has no

effect on the container.

The CLI allows you to do the following:

Display a container’s lock setting

Lock a container

Unlock a container

Typically, you lock and unlock a container only under the direction
of technical support. See the Command Line Interface Reference Guide
for information on how to use the

container lock

and

container unlock

commands.

Some CLI commands cause a container to temporarily become
locked without the use of the

container lock

command. For

example, when you create a mirror set, the CLI locks the specified
container until the

mirror create

operation completes.

Advertising