Installation guide

www.vmware.com
302
VMware ESX Server Administration Guide
Displays Disk Geometry for a VMware Workstation or GSX Server Virtual Disk
-g -- geometry <virtual-disk>
The output is in the form: Geometry information C/H/S is 1023/128/
32, where C represents the number of cylinders, H represents the number of heads,
and S represents the number of sectors.
When importing VMware Workstation or VMware GSX virtual disks to VMware ESX
Server, you may see a disk geometry mismatch error message. A disk geometry
mismatch may also be the cause if you have problems loading a guest operating
system, or running a newly created virtual machine.
View the events log through the VMware Management Interface (Users and Events
page for the virtual machine) or through the service console (the vmware.log file,
found, by default, in the <user>/vmware/<guest_operating_system>
directory). Look for C/H/S and compare this with the output of the vmkfstools
-g command.
If the disk geometry information is different, then specify the correct information,
from the output of the vmkfstools -g command, in the configuration file of the
newly created virtual machine.
See Migrating VMware Workstation and VMware GSX Server Virtual Machines on
page 67 for complete details on specifying the disk geometry in a virtual machine’s
configuration file.
Extends the specified VMFS to the specified length
-X --extendfile #[gGmMkK]
Use this command to extend the size of a disk allocated to a virtual machine, after the
virtual machine has been created. The virtual machine that uses this disk file must be
powered off when you enter this command. Also, the guest operating system must
be able to recognize and use the new size of the disk, for example by updating the file
system on the disk to take advantage of the extra space.
You specify the size in kilobytes, megabytes, or gigabytes by adding a suffix of k
(kilobytes), m (megabytes), g (gigabytes) respectively.
Manages SCSI reservations of physical targets or LUNs
-L --lock [reserve|release|reset]
Caution: Be careful when using these commands. The reserve, release, and
reset commands can interrupt the operations of other servers on a storage area
network (SAN), so use these commands with great caution.