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

If the -Partition argument is omitted, or equal to a -1, the first partition on the disk is mounted.
A limitation with Windows 2003/2008 is if the VSM virtual disk or snapshot is a dynamic disk, only
one partition is allowed (for example, the partition number can be dropped, or it must always be
equal to 1 or -1). For dynamic disks, the CLI can mount disks with one partition or file system only.
The mount point must be free, or can be taken by a VSM virtual disk or snapshot, in which case the
behavior is determined by the -Override argument:
If the -Override argument is used in the command, the existing VSM virtual disk or snapshot
mount point is unmounted before mounting the new virtual disk or snapshot.
If the -Override argument is not used, and the mount point is not free, the command fails.
IMPORTANT:
This command is only valid for Windows 2003/2008. For UNIX, use the UNIX mount command with
the Run command.
Run command
Syntax
Run -Command OneCommandLine
Description
Runs an operating system command line through the VSM API. This command takes the input command
line (as input, including all spaces) and sends it to the operating system for execution. The command
can be used to execute any external operating system command, batch file, or script from within a
CLI input file.
NOTE:
The command line must be in the proper format for the operating system.
The input line cannot be broken (a continuation line is not allowed).
UnmountVirtualDisk command
Syntax
UnmountVirtualDisk -VirtualDisk VirtualDiskName [, -Partition Partition]
UnmountVirtualDisk -VirtualDisk VirtualDiskName, -MountPoint H:\
Description
Unmounts a virtual disk or snapshot. The virtual disk or snapshot must have at least one file system
(partition) on it.
There are two modes of operation.
Unmount partitions that are linked to this snapshot.
Unmount specified mount points linked to specified snapshots.
Using the VSM command line interface68