18.08.2013 Views

vSphere Storage - ESXi 5.1 - Documentation - VMware

vSphere Storage - ESXi 5.1 - Documentation - VMware

vSphere Storage - ESXi 5.1 - Documentation - VMware

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Using vmkfstools 25<br />

vmkfstools is one of the <strong>ESXi</strong> Shell commands for managing VMFS volumes and virtual disks. You can perform<br />

many storage operations using the vmkfstools command. For example, you can create and manage VMFS<br />

datastores on a physical partition, or manipulate virtual disk files, stored on VMFS or NFS datastores.<br />

NOTE After you make a change using the vmkfstools, the <strong>vSphere</strong> Client or the <strong>vSphere</strong> Web Client might<br />

not be updated immediately. You need to use a refresh or rescan operation from the client.<br />

For more information on the <strong>ESXi</strong> Shell, see Getting Started with <strong>vSphere</strong> Command-Line Interfaces.<br />

This chapter includes the following topics:<br />

n “vmkfstools Command Syntax,” on page 255<br />

n “vmkfstools Options,” on page 256<br />

vmkfstools Command Syntax<br />

Generally, you do not need to log in as the root user to run the vmkfstools commands. However, some<br />

commands, such as the file system commands, might require the root user login.<br />

The vmkfstools command supports the following command syntax:<br />

vmkfstools conn_options options target.<br />

Target specifies a partition, device, or path to apply the command option to.<br />

Table 25-1. vmkfstools command arguments<br />

Argument Description<br />

options One or more command-line options and associated arguments that you use to<br />

specify the activity for vmkfstools to perform, for example, choosing the disk<br />

format when creating a new virtual disk.<br />

After entering the option, specify a target on which to perform the operation.<br />

Target can indicate a partition, device, or path.<br />

partition Specifies disk partitions. This argument uses a disk_ID:P format, where disk_ID is<br />

the device ID returned by the storage array and P is an integer that represents the<br />

partition number. The partition digit must be greater than zero (0) and should<br />

correspond to a valid VMFS partition.<br />

<strong>VMware</strong>, Inc. 255

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!