Createsnapshotonlastpit command, Createsnapshotwithlun command, 35 createsnapshotwithlun command – HP SAN Virtualization Services Platform User Manual
Page 35

CreateSnapshotOnLastPiT
command
Syntax
CreateSnapshotOnLastPiT -VirtualDisk VirtualDiskName, ~
[-Type Any | MV | UserPiT | SyncPiT ,] ~
-snapshot SnapshotName [TEMPLATE], ~
-host HostName1 RW|OFF, ~
[-host HostName2 RW|OFF, ] -StoragePool PoolName, ~
-cluster 0|1, -timeout 900
Description
Creates a snapshot on the virtual disk's most recently created PiT. The PiT name is not specified, but
the PiT type can be specified.
The -Type specifies the type of the last PiT to use:
•
Any
: Any PiT
•
MV
: Snapshot PiT
•
UserPiT
: Async mirror user PiT
•
SyncPiT
: Sync PiT
If -Type is not specified, the last PiT is used (like the Any option).
NOTE:
•
The -host argument is considered optional by the VSM API, but is required by the VSM (returns
an error).
•
If [Template] is used, the name of the object must be less than 16 characters long.
CreateSnapshotWithLun
command
Syntax
CreateSnapshotWithLun ~
-Pit NameOfPiT [LastInstance | LastAsyncMirror | LastSyncMirror], ~
-snapshot SnapshotName [TEMPLATE], ~
-host HostName1 RW|OFF, LunNumber, ~
[-host HostName2 RW|OFF LunNumber, ] ~
-StoragePool PoolName, ~
-cluster 0|1, -timeout 900
Description
Creates a snapshot with LUN.
NOTE:
•
The -host argument is considered optional by the VSM API, but is required by the VSM (returns
an error).
•
If [Template] is used, the name of the object must be less than 16 characters long.
HP StorageWorks SAN Virtualization Services Platform Manager command line interface user
guide
35