Specifications
www.vmware.com
194
VMware GSX Server Virtual Machine Guide
-d <diskname> Defragments the specified virtual disk. You can defragment only growable
virtual disks. You cannot defragment preallocated virtual disks.
-p <mountpoint> Prepares a virtual disk for shrinking. If the virtual disk is partitioned into
volumes, each volume must be prepared separately. The volume must be
mounted by VMware DiskMount at <mountpoint>. After you prepare
the volume, unmount it with VMware DiskMount. Continue mounting
each volume of the virtual disk and preparing it for shrinking until you
complete this process for all the volumes of the virtual disk.
You can mount only one volume of a virtual disk at a time with VMware
DiskMount. You can prepare volumes of virtual disks for shrinking on
Windows hosts only.
-k <diskname> Shrinks the specified virtual disk. You can shrink only growable virtual
disks. You can shrink virtual disks on Windows hosts only.
You cannot shrink a virtual disk if the virtual machine has a snapshot. To
keep the virtual disk in its current state, simply remove the snapshot. To
discard changes made since you took the snapshot, revert to the
snapshot.
-a
[ide|buslogic|
lsilogic]
Specifies the disk adapter type. You must specify an adapter type when
creating a new virtual disk. Choose one of the following types:
• ide — for an IDE adapter.
• buslogic — for a BusLogic SCSI adapter.
• lsilogic — for an LSI Logic SCSI adapter.
-s <n>[GB|MB] Specifies the size of the virtual disk. Specify whether the size <n> is in GB
(Gigabytes) or MB (Megabytes). You must specify the size of a virtual disk
when you create it.
Even though you must specify the size of a virtual disk when you expand
it, you do not use the -s option at that time.
-t [0|1|2|3] You must specify the type of virtual disk when you create a new one or
reconfigure an existing one. Specify one of the following disk types:
0 — to create a single, growable virtual disk.
1 — to create a growable virtual disk split into 2GB files.
2 — to create a preallocated virtual disk contained in a single virtual disk
file.
3 — to create a preallocated virtual disk split into 2GB files.
-q Disables virtual disk manager logging.
If you keep logging enabled, messages generated by the virtual disk
manager are stored in a log file. The name and location of the log file
appear in the terminal after the virtual disk manager command is run.
Options/Parameters Description