HP StorageWorks Storage System Scripting Utility reference (September 2005)

XML element : value
To specify XML output, add the XML switch. For example, the following command:
LS vdisk vd01 XML
provides the following XML output:
<objectname>\Virtual Disks\vd01\ACTIVE</objectname>
NOTE:
The LS commands provi de a exible format to display system data. The SHOW commands are sti ll
available for script compatibility, but they are deprecated (available, but not supported).
Replica resync with snapclones
Replica resync allows you to revert back to a previous point-in-time (snapclone) if a virtual disk becomes
corrupted. The process involves changing the corrupted virtual disk into a container (using the SET VDISK
CHANG E_INTO _CONTAINER command). This will create an empty container with the same settings
as the original virtual disk. You can then restore the virtual disk data by creating a snapclone of the
previously taken backup snapclone. When the new snapclone completes, it will become an independent
virtual disk with the same settings as the previously corrupted virtual disk. Y our data will be as current as
your most recent backup snapclone.
Creating snapclones
With this release of the utility, a snapclone of a virtual disks can be preallocated using containers.
Containers provide a more efcient way to create snapclones b ecause they can be created before they
are needed for a snapclone. Additionally, reserving the disk space ensures the amount of space needed
for the snapclone will be im m ed iately available when it is needed. Containers are crea ted using the
ADD CONTAINER command.
Cross Vraid
Cross Vraid for snapshot and snapclone allow customers to change the Vraid type when creating
snapshots or snapclones for better disk utilization. Cross Vraid is supported in the following manner:
Cross Vraid Snapshot (ADD SNAPSHOT) and Snapclones (ADD COPY) within the same disk
group.
Cross Vraid Snapclones (ADD COPY) across disk groups (including standard and FATA disk
groups)
Refer to ADD COPY and ADD SNAPSHOT for more information.
NOTE:
You cannot create a snapshot of a RAID level that is more available than the parent Vdisk. For example,
you cannot create a snapshot of Vraid1 if the parent Vdisk is Vraid0. The reason is that if the parent
Vdisk is lost, the snapshot will not be more available than the parent Vdisk.
Subsequent snapshots of a virtual d isk must be of the same redundancy level. For example, if you create
a Vraid5 snapshot of a Vraid1 virtual disk, then all other snapshots of the original virtual disk must also
be Vraid5. As an example, you could have seven Vraid5 snapshots of the original Vraid1 virtual disk.
Vraid availability in order, from highest to lowest is: Vraid1, Vraid5, and Vraid0.
The maximum number of snapshots you can cre ate for a single virtual disk is 7.
20
Getting started