HP NetRAID-4M Controller User Manual

Page 259

Advertising
background image

10-3

Working with Snapshot Containers

using a read-only application (for example, a backup utility) with
the snapshot.

The

container create snapshot

command provides a

/compact

switch that allows you to specify a compact snapshot

container.

In the following example, the

container create snapshot

command with the

/compact

switch uses container 0 to create a

compact snapshot container, container 1.

HPN0> container create snapshot /compact=TRUE 0 1

Executing container create snapshot /compact=TRUE 0 1

The first container ID (0) specified in the example identifies the
container from which to take a snapshot. The container can be any
container on the controller. This is the original container.

The second container ID (1) specified in the example identifies the
container on which to store the snapshot. This container becomes
the snapshot container (that is, the container that stores the backup
of the first container) after the command successfully completes.
This is the backing container.

Specifying Stripe Size When Creating a Snapshot Container

The

stripe size

attribute indicates the size of a stripe that is

distributed onto a snapshot container. A large stripe size is faster for
sequential access read-write operations. A small stripe size uses less
backing space and is faster for small random access read-write
operations. A stripe can be 8 KB, 16 KB, 32 KB, or 64 KB in size. If the
original container on which you take the snapshot is large, then you
must specify a stripe size big enough to accommodate it. For
example, a 20 GB container must have at least a 32 KB stripe size.

The CLI allows you to either specify the stripe size or to use a
default stripe size. The default stripe size is based on the size of the
original container. If the size of the original container is greater than
8 GB, the default value for the stripe is 32 KB. If the size of the
original container is less than 8 GB, the default value for the stripe is
16 KB.

The

container create snapshot

command provides a

/stripe_size switch that allows you to specify stripe size.

Advertising