HP NetRAID-4M Controller User Manual

Page 229

Advertising
background image

9-21

Modifying Containers

To work with enabling a container’s volatile read-ahead cache, you
must understand:

The container set cache attributes you can specify

How to enable a container’s volatile read-ahead cache

The following sections discuss each of these topics.

Understanding the Read-ahead Cache Attributes You can Specify

You use the

container set cache

command to enable a

container’s volatile read-ahead cache. Before enabling a container’s
volatile read-ahead cache, consider the following attribute you can
specify:

enable read cache

The

enable read cache

attribute indicates whether to enable

the volatile read-ahead cache. Note that if you disable the read-
ahead cache, no other characteristics can be set.

In the following example, the

container set cache

command

with the /read_cache_enable switch enables the volatile read-ahead
cache on container 0.

HPN0> container set cache /read_cache_enable=TRUE 0

Executing: container set cache /read_cache_enable=TRUE 0

Understanding How to Enable a Container’s Volatile Read-ahead
Cache

This section provides an example that describes how to enable a
container’s volatile read-ahead cache.

Before enabling a container’s volatile read-ahead cache, use the

container list

command to display information about your

containers, as in the following example. In the example, the Type
column indicates a Volume set on container 0, and the Usage
column indicates None, which means no file system 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 Volume 100MB None 2:01:0 64.0KB: 100MB

Advertising