HP StorageWorks SAN Virtualization Services Platform Manager command line interface user guide (AG781-96016, March 2009)

11. Find the tree root, traversing the hierarchy upwards
There are three alternatives:
To find the source virtual disk of a PiT or snapshot, run the GetSnapshotData command
(step 10). The name of its source virtual disk is one of the returned arguments.
Recursively run the GetSnapshotData command (step 10) until the iSourceIsVirtualDisk flag
is set (!=0). For example, source node is a virtual disk.
Recursively run the GetSnapshotData command (step 10) until the source virtual disk name
is the required name or the source name is a root virtual disk from the virtual disk list (see
step1).
12. Find all leaf PiTs and snapshots (last in the chain).
a. Run the ListSnapshots command.
b. Run the ListPiTsChain command for every snapshot and PiT returned in step a.
c. Return all objects that return an empty list in step b.
13. Traverse the subtree starting from a specified node (snapshot, for example).
Retrieve the PiTs chain for the input node (run the ListPiTsChain command with the input
snapshot1,” as in step 6). For each PiT, retrieve the snapshots chain (run the
ListSnapshotsChain command, as in step 9). For each snapshot, recursively do it again,
up to the end of the list or an empty list.
HP StorageWorks SAN Virtualization Services Platform Manager command line interface user
guide 73