Operating system related commands, Flushcache command, Mountvirtualdisk command – HP SAN Virtualization Services Platform User Manual
Page 67: 67 mountvirtualdisk command

VirtualDisk
: Virtual disk or snapshot name.
Host
: Host (UDH) name with R/W permissions for this virtual disk.
Lun
: LUN number attached to this virtual disk. It should be a decimal (0–254) or hexadecimal (0x
prefix) value.
Example
SetUDHVirtualDiskLun -VirtualDisk “Vol1”, -Host “host1”, -Lun “0xAB”
Operating system related commands
FlushCache
command
Syntax
FlushCache -VirtualDisk MountedVirtualDiskOrSnapshotName
Description
Flushes the memory cache of the operating system associated with a VSM virtual disk or snapshot
mounted on the computer.
IMPORTANT:
This command is only valid for Windows 2003/2008. For other operating systems, a device dismount
will also force the cache flush.
MountVirtualDisk
command
Syntax
MountVirtualDisk -MountPoint H:\, -VirtualDisk VirtualDiskName ~
[, -Partition Partition] [, -Override]
Description
Mounts a virtual disk or snapshot. The virtual disk or snapshot must have at least one file system
(partition) on it.
The following are rules for the Windows operating system:
•
The mount point must always end with a backslash (for example, Q:\ or H:\MP\).
•
If the mount point is a drive letter, it must be a free drive letter (or use the -Override argument).
•
If the mount point points to a folder, the target folder must be empty or nonexistent, and it must
be an NTFS file system.
The -Partition argument is optional, and has the following guidelines:
•
If using the -Partition argument in Windows, the specific partition is mounted as a partition
number (as a string).
•
If using the -Partition argument in UNIX, the specific partition is mounted as a logical virtual
disk name.
HP StorageWorks SAN Virtualization Services Platform Manager command line interface user
guide
67