6.5.1

Table Of Contents
You must specify the full path name for the head and span partitions, for
example /vmfs/devices/disks/disk_ID:1. Each time you use this option, you add an extent to the
VMFS datastore, so that the datastore spans multiple partitions.
Caution When you run this option, you lose all data that previously existed on the SCSI device you
specified in span_partition.
Example: Example for Extending a VMFS Datastore
In this example, you extend the existing head partition of the VMFS datastore over a new partition.
~ vmkfstools -Z /vmfs/devices/disks/naa.disk_ID_2:1 /vmfs/devices/disks/naa.disk_ID_1:1
The extended datastore spans two partitions, naa.disk_ID_1:1 and naa.disk_ID_2:1. In this example,
naa.disk_ID_1:1 is the name of the head partition.
Expanding a VMFS Datastore
Instead of adding an extent to a VMFS datastore, you can increase the size of an existing datastore. Use
the vmkfstools -G command.
You might increase the datastore size after the underlying storage had its capacity increased.
The command uses the following option:
-G|--growfs device device
This option expands the VMFS datastore or its specific extent. For example,
vmkfstools --growfs /vmfs/devices/disks/disk_ID:1 /vmfs/devices/disks/disk_ID:1
Upgrading a VMFS Datastore
If you use a VMFS3 datastore, you must upgrade it to VMFS5.
When upgrading the datastore, use the following option:
-T|--upgradevmfs /vmfs/volumes/UUID
The upgrade is a one-way process. After you have converted a VMFS3 datastore to VMFS5, you cannot
revert it back.
All hosts accessing the datastore must support VMFS5.
Virtual Disk Options
Virtual disk options allow you to set up, migrate, and manage virtual disks stored on your datastores. You
can also perform most of these tasks through the vSphere Web Client.
vSphere Storage
VMware, Inc. 339