6.7

Table Of Contents
Table 261. vmkfstools Command Arguments (Continued)
Argument Description
device Specifies devices or logical volumes. This argument uses a path name in the ESXi
device file system. The path name begins with /vmfs/devices, which is the mount
point of the device file system.
Use the following formats when you specify different types of devices:
n
/vmfs/devices/disks for local or SAN-based disks.
n
/vmfs/devices/lvm for ESXi logical volumes.
n
/vmfs/devices/generic for generic SCSI devices.
path Specifies a VMFS file system or file. This argument is an absolute or relative path that
names a directory symbolic link, a raw device mapping, or a file under /vmfs.
n
To specify a VMFS file system, use this format:
/vmfs/volumes/file_system_UUID
or
/vmfs/volumes/file_system_label
n
To specify a file on a VMFS datastore, use this format:
/vmfs/volumes/file_system_label|
file_system_UUID/[dir]/myDisk.vmdk
If the current working directory is the parent directory of myDisk.vmdk, do not
enter the entire path.
The vmkfstools Command Options
The vmkfstools command has several options. Some of the options are suggested for advanced users
only.
The long and single-letter forms of the options are equivalent. For example, the following commands are
identical.
vmkfstools --createfs vmfs6 --blocksize 1m disk_ID:P
vmkfstools -C vmfs6 -b 1m disk_ID:P
-v Suboption
The -v suboption indicates the verbosity level of the command output.
The format for this suboption is as follows:
-v --verbose number
You specify the number value as an integer from 1 through 10.
vSphere Storage
VMware, Inc. 343