Specifications
CHAPTER 6 Using Disks in a Virtual Machine
193
-r
<sourcediskname>
<targetdiskname>
Converts the virtual disk specified by<sourcediskname>, creating a
new virtual disk as a result. You must use the -t option to specify the disk
type to which the virtual disk is converted and you must specify the name
of the target virtual disk (<targetdiskname>).
Once the conversion is completed and you have tested the converted
virtual disk to make sure it works as expected, you can delete the original
virtual disk file.
In order for the virtual machine to recognize the converted virtual disk,
you should use the virtual machine settings editor to remove the existing
virtual disk from the virtual machine, then add the converted disk to the
virtual machine. For information on adding virtual disks to a virtual
machine, see Adding Virtual Disks to a Virtual Machine on page 177.
-x <n>[GB|MB]
<diskname>
Expands the virtual disk to the specified capacity. You must specify the
new, larger size of the virtual disk in Gigabytes or Megabytes. You cannot
change the size of a physical (raw) disk.
Caution: Before running the virtual disk manager utility, you should back
up your virtual disk files.
Note: If the virtual disk is partitioned, you must use a third-party utility in
the virtual machine to expand the size of the partitions. For more
information, see VMware knowledge base article 1647 at
www.vmware.com/support/kb/enduser/std_adp.php?p_faqid=1647.
If you have a virtual machine with a snapshot or a redo log stored in a
different directory, do not use the virtual disk manager to expand the
virtual disk until you remove the snapshot or commit the redo log.
Otherwise, you may not be able to power on the virtual machine.
-n
<sourcediskname>
<targetdiskname>
Renames the virtual disk specified by <sourcediskname>. You must
specify the name of the target virtual disk (<targetdiskname>). By
providing directory paths, you can rename the disk and place it in a
different directory or place the disk with the same name in a different
directory.
Before you rename the virtual disk or change the directory in which it is
located, you should remove the virtual disk from any virtual machine that
contains the disk. Choose VM > Settings > <virtualdisk>, then click
Remove. If this virtual machine has a snapshot or a redo log stored in a
different directory, remove the snapshot or commit the redo log.
Otherwise, you may not be able to power on the virtual machine.
After you rename or relocate the virtual disk, add it back to any virtual
machines that use it. Choose VM > Settings, click Add, then follow the
wizard to add this existing virtual disk.
Options/Parameters Description