Creating a local VMFS volume generates the error: Error during the configuration of the host: Failed to update the disk partition information (1001489)
You are experiencing these issues:
- Creating a VMFS volume on your local hard disk fails with the error:
- Error during the configuration of the host:Failed to update the disk partition information
- Device or Resource Busy
These issues occur because the VMFS volume and partition you are creating is on the same controller as the local storage, and that volume is continually locked by the service console. The command line tool does not check locking state, so it succeeds in creating the partition. Removing a datastore on local disk has the same restriction. You must use command line tools.
The datastore can be created on local disk, but needs to be done via the command line. The following steps describes how to create the partition and VMFS filesystem manually:
- Log into the ESX host as root via the console or SSH. For more information, see Unable to connect to an ESX host using Secure Shell (SSH) (1003807). If you ware using ESXi, the partitioning steps must be done at the console. For more information on ESXi, see Tech Support Mode for Emergency Support (1003677).
- Identify the disk in which you wish to add the datastore. For more information on how to identify disks in ESX, see Identifying disks when working with VMware ESX (1014953).
- Run the command:
fdisk -u <identifier>
where <identifier> is the disk selected in step 2.
- Use the fdisk utility to create a new partition to house the VMFS filesystem or datastore. The partition should be type fb. For information on partitioning with fdisk, see Partitioning with fdisk.
The following is an example of the steps you may need take during the partitioning phase:
- Type n and press Enter for new partition.
- Type p and press Enter for a primary partition.
- Type 1 and press Enter.
- For the First cylinder prompt, press Enter for the default.
- For last cylinder or +size..., press Enter for the default.
- Type t and press Enter to change start the process to change volume type.
- Type 1 and press Enter to select the first partition and.
- Type fb and press Enter. fb is the hexadecimal code for VMFS volumes.
- Type x and press Enter to go into Expert mode.
- Type b and press Enter to start the process of changing the starting block of the partition.
- Type 1 and press Enter to select the first partition.
- Type 128 and press Enter to set the starting block to 128.
- Type w and press Enter to save the changes and exit fdisk.
- Record the partition number that was created as a result of step 4.
Since the ESX installation is actively using the disk, reboot the ESX host for the changes to take effect.
Log into the ESX host as root via the console or SSH.
Run the command:
vmkfstools -C vmfs3 -b <block size> -S <datastore name> /vmfs/devices/disks/<identifier>:<partition>
<block size> is the block size for the volume. This value determines the maximum file size on the volume. For more information, see Configuration Maximums for the appropriate VMware product version.
<datastore name> is the name for the datastore you are about to create.
<identifier> is the string used to identify the disk as used in steps 2 and 3.
<partition> is the partition number as recorded in step 5.
Example: vmkfstools -C vmfs3 -b 1m -S localVMFS /vmfs/devices/disks/vmhba0:0:0:7
During the installation of ESX, specify a VMFS partition.
Install ESX using two LUNS on the disk array using the PERC management utility. One LUN to be used by the ESX installation, and the other for the VMFS datastore.