Installation guide

C H A P T E R 9 Storage and File Systems
297
For example, you can specify a VMFS volume by a path such as:
/vmfs/vmhba1:2:0:3
You can also specify a single VMFS file:
/vmfs/lun1/rh9.dsk
vmkfstools Options
This section includes a list of all the options used with the vmkfstools command.
Some of the tasks in this section include options that are suggested for advanced
users only. These advanced options are not available through the VMware
Management Interface.
Note: The long and short (single letter) forms of options are equivalent. For example,
the following commands are identical:
vmkfstools --createfs vmfs2 --blocksize 2m --numfiles 32
vmhba1:3:0:1
vmkfstools -C vmfs2 -b 2m -n 32 vmhba1:3:0:1
If the vmkfstools command fails, and you don’t know why, then check the log files
in /var/log/vmkernel or use the management interface to view the latest
warning.
1. Log in to the VMware Management Interface as root.
The Status Monitor page appears.
2. Click the Options tab.
The Options page appears.
3. Click System Logs.
Basic vmkfstools Options
Basic options are common tasks that you may perform frequently. You may also
perform through the management interface.
Creates a VMFS on the specified SCSI device
-C --createfs [vmfs1|vmfs2]
-b --blocksize #[gGmMkK]
-n --numfiles #
This command creates a VMFS version1 (vmfs1) or version 2 (vmfs2) file system on
the specified SCSI device.
For advanced users: