HP StorageWorks Storage System Scripting Utility reference (September 2005)

SIZE=
This is size of th
e co ntainer. Enter decimal value in GB.
ADD COPY
Use the ADD COPY command to create a copy of the speciedvirtualdisk.Acopyisanewvirtualdisk
family. The ADD COPY command is equivalent to creating a snapclone within HP Command View EVA.
NOTE:
Creating copies of virtual disks depends on your licensing. Attempting to add a copy without the license
returns an error message that indicates that you need to enter your licensing information in the HP
CommandViewEVA.Youmusthavearegisteredlicense.
Syntax
ADD COPY <copy_name> VDISK= <active member of a vdisk family>
Switches
ThefollowingswitchesareavailablewiththeADDCOPYcommand.
CONTAINER=
This is the name of the container you would like to use for the virtual disk copy. The c ontainer must
already exist to use this switch. The container option is optional. I f not specied, the add c opy command
will still function by dynamically allocating the storage before starting the copying process.
DISK_GROUP=
This is the name of the disk group where you want to cre ate the virtual d isk copy. The disk group must
already exist to use this switch. If not specied, the utility uses the same group as the source virtual d isk.
NOTE:
The source virtual disk must be set to writecache=writethrough before a preallocated snapclone
(using a container) can be created. S ee SET VDISK section for more information.
OS_UNIT_ID=
The ID that is presented to the host operating system. If set to zero, no ID is presented to the host.
REDUNDANCY=
The amount o
f data protection set when creating the virtual disk. The default is the same as the source
virtual disk.
Vraid0—Provides no data protection. It distributes data among its member disks into stripes
and uses all mem bers to process I/O requests. This method has no overhead associated with
duplicati
on of information and pro vides the highest performance.
Vraid1—Provides the highest level of data protection but uses the most space. It duplicates data
written to one disk onto a backup disk. In a multidisk conguration, Vraid1 mirrors each pair of
disks to each other. These disk pairs can then be striped to create a virtual disk.
Vraid5P
rovides a modera te level of data protection. This method distributes the parity
information among all disk members. If one drive fails, the failed disk can be recreated af ter it is
replaced.
HP StorageWorks Storage System Scripting Utilit y reference
29