Specifying freespace when creating a volume set, Enabling a volume set’s raw container cache – HP NetRAID-4M Controller User Manual

Page 153

Advertising
background image

7-3

Working With Single-level Containers

Specifying Freespace When Creating a Volume Set

A volume set’s size is created from freespace. To specify freespace
when creating a volume set, use the

container create volume

command. There must be enough freespace available on your disk
or disks to create a container of the desired size. See Understanding
Freespace
in Chapter 6, Working with Container Attributes, for
information on freespace.

Note that you can use the

container extend volume

command

at a later time to increase the size of your volume set. See Chapter 9,
Modifying Containers, for a description of the

container extend

volume

command.

In the following example, the

container create volume

command creates a volume set on SCSI device (2,1,0) using 100MB
(megabytes) of freespace.

HPN0> container create volume ((2,1,0), 100M)

Executing: container create volume ((CHANNEL=2,ID=1,LUN=0),

104,857,600)

Container 0 created

Enabling a Volume 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 volume

command provides a

/cache

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

In the following example, the

container create volume

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

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

Executing: container create volume /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 volume
set.

Advertising