Enabling a stripe set’s raw container cache – HP NetRAID-4M Controller User Manual

Page 158

Advertising
background image

7-8

Command Line Interface User’s Guide

Stripe Set for further information on the

container list

command.

In the following example, the

container create stripe

command with the /stripe switch creates a stripe set with a stripe
size of 64 KB (kilobytes).

HPN0> container create stripe /stripe=64K ((2,1,0), 100M)

Executing: container create stripe /stripe_size=65,536

((CHANNEL=2,ID=1,LUN=0), 104,857,600)

Container 0 created

Enabling a Stripe Set’s Raw Container Cache

The controller provides two global cache buffer pools available to
containers: a volatile read-ahead cache and a non volatile NVRAM
write-back cache. Collectively, these global caches are referred to as
the raw container cache.

The

container create stripe

command provides a

/cache

switch that allows you to enable the container’s raw cache.

In the following example, the

container create stripe

command with the /cache switch creates a stripe set with the raw
container cache enabled.

HPN0> container create stripe /cache=TRUE ((2,1,0), 100M)

Executing: container create stripe /cache=TRUE

((CHANNEL=2,ID=1,LUN=0), 104,857,600)

Container 0 created

If you use the

/cache

switch, the controller:

Enables the read-ahead cache setting for the specified stripe
set.

Enables the NVRAM write-back cache setting for the specified
volume set if a battery is present and its status is Ok.

If you do not use the

/cache

switch, you can enable the stripe set’s

raw container cache later with the

container set cache

command. See Chapter 9, Modifying Containers, for more
information on how to enable a stripe set’s raw container cache after
creating it.

Advertising