HP StorageWorks Storage System Scripting Utility reference (September 2005)

Figure 5 Menu map (part E)
ADD
Use the AD D commands to create new arrays, folders, disk groups, DR Groups, virtual disks, snapshots,
snapclones, as well as to add LUN s and hosts within the EVA.
NOTE:
Creating DR gro
ups and snapshots of virtual disks is dependent on your licensing. See the documentation
that came with
your hardware for more information.
ADD CONTAINER
Use the ADD CONTAINER command to reserve disk space to cre ate copies of virtual disks (snapclones).
You can create containers and reserve the space before they are needed for a snapclone. Reserving
space allows you to quickly and safely create a copy because the space for the c opy is already reserved
and available. You must specify the size of the container when you create it (there is no default).
After the co py is created, it b ec om es another virtual disk. You c an reverse the process and turn a virtual
disk back into a container using the SET VDISK CHANGE_INTO_CONTAINER command.
If the disk group is not specied, it is created in the default disk group. If the default disk group does
not exist, an error message will b e generated.
NOTE:
When you delete a container, the option WAIT_FOR_COMPLETION is ignored. After deletion, the
container may still appear during an LS c ommand. This is because the container is deleted in the
background and will continue to appear until it is fully deleted (this is an asynchronous only operation).
Syntax
ADD CONTAINER <container_name> SIZE=<n>
Switches
The follow
ing switches are available with the AD D CONTAINER command.
DISK_GROUP=
This is the name of the disk group where you want to cre ate the container.
REDUNDANCY=
The amount
of data protection set when creating the virtual disk. If not specied, the default is Vraid1.
Vraid0—Provides no data p rotection. It distributes data among its member disks into stripes
and uses all members to process I/O requests. This method has no overhead associated with
duplication of information and provides the highest performance.
Vraid1P
rovides the highest level of data protection but uses the most space. It duplicates da ta
written
to one disk onto a backup disk. In a multidisk conguration, V raid1 mirrors each pair of
disks to each other. These disk pairs can then be striped to create a virtual disk.
Vraid5—Provides a mod erate level of data protection. This method distributes the parity
informa
tion among all disk members. If one drive fails, the failed disk can be recreated af ter it is
replaced.
28
Utility command reference