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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>vSphere</strong> <strong>Storage</strong><br />

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

Argument Description<br />

device Specifies devices or logical volumes. This argument uses a path name in the<br />

<strong>ESXi</strong> device file system. The path name begins with /vmfs/devices, which is the<br />

mount point of the device file system.<br />

Use the following formats when you specify different types of devices:<br />

n /vmfs/devices/disks for local or SAN-based disks.<br />

n /vmfs/devices/lvm for <strong>ESXi</strong> logical volumes.<br />

n /vmfs/devices/generic for generic SCSI devices.<br />

path Specifies a VMFS file system or file. This argument is an absolute or relative path<br />

that names a directory symbolic link, a raw device mapping, or a file<br />

under /vmfs.<br />

vmkfstools Options<br />

n To specify a VMFS file system, use this format:<br />

/vmfs/volumes/file_system_UUID<br />

or<br />

/vmfs/volumes/file_system_label<br />

n To specify a file on a VMFS datastore, use this format:<br />

/vmfs/volumes/file_system_label|<br />

file_system_UUID/[dir]/myDisk.vmdk<br />

You do not need to enter the entire path if the current working directory is<br />

the parent directory of myDisk.vmdk.<br />

The vmkfstools command has several options. Some of the options are suggested for advanced users only.<br />

The long and single-letter forms of the options are equivalent. For example, the following commands are<br />

identical.<br />

vmkfstools --createfs vmfs5 --blocksize 1m disk_ID:P<br />

vmkfstools -C vmfs5 -b 1m disk_ID:P<br />

-v Suboption<br />

The -v suboption indicates the verbosity level of the command output.<br />

The format for this suboption is as follows:<br />

-v --verbose number<br />

You specify the number value as an integer from 1 through 10.<br />

You can specify the -v suboption with any vmkfstools option. If the output of the option is not suitable for use<br />

with the -v suboption, vmkfstools ignores -v.<br />

NOTE Because you can include the -v suboption in any vmkfstools command line, -v is not included as a<br />

suboption in the option descriptions.<br />

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

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

Saved successfully!

Ooh no, something went wrong!