This section provides information for creating and using VMFS file
system for an Intel host running VMware ESX Server.
After you partition the disk as described in
"Partitioning
storage unit disks for an Intel host running VMware ESX Server",
the next step requires that you create a VMFS file system by using the following
commands:
vmkfstools –C vmfs2 <device>
<device> is on the format vmhba <C>:<T>:<D>:<P>
, where <C> is the virtual host adapter, <T> is the SCSI ID of
the storage unit, <D> is the Lun ID, and <P> refers to the partition
number to use on that device (previously created with fdisk). In most cases
it will be 1.
[root@denethor vmfs]# vmkfstools -C vmfs2 vmhba0:4:71:1
This is already a file system on vmhba0:4:71:1. Overwrite it (y/n)? y
Creating file system on vmhba0:4:71:1 with blockSize 1048576
After this operation is completed, the new file system is mounted under
/vmfs.
vmkfstools –N <label name>
Note: This
step is optional but we strongly recommended that you do it because it can
ease your task of storage management. It can become a mandatory step if you
do not configure persistent binding on VMware ESX Server.