Datastore creation on a iscsi storage fails with error "Cannot change the host configuration. Failed to update disk partition for..."
search cancel

Datastore creation on a iscsi storage fails with error "Cannot change the host configuration. Failed to update disk partition for..."

book

Article ID: 388049

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESX 8.x VMware vSphere ESX 7.x

Issue/Introduction

  • Creating a new datastore on an iSCSI LUN fails with error "Cannot change the host configuration. Failed to update disk partition for naa.########################"
    • Same error is seen when trying to create a datastore from the host client. 
  • The error "Operation failed! An error occurred during host configuration: Unable to Find Head Extent Device Path" may also occur.
             

Environment

VMware vSphere ESXi with iSCSI storage connected

Cause

ISCSI network misconfiguration, such as MTU mismatch between the ESXi hosts, physical switches and the storage array is the cause for the failure.

While the initial TCP connection handshake and connection data is a small amount of data allowing the connection to be established, data operations sending large amounts of data will use the larger packet size. As the endpoints are configured with the larger MTU the packets leaving will be larger than 1500 which is configured at a point in the network path. When the packet reaches this point it is discarded.

The discarding of the large packet being discarded prevents the data from being received at the destination the operation is not completed or acknowledged and a BUS_BUSY SCSi code is returned. This is followed by an ABORT command being issued. You can them observe a message for "state in doubt, requesting fastpath update" before the connection is marked as OFFLINE. The connection is then reestablished and marked as ONLINE and the process repeats.

Resolution

If jumbo frames are used for iSCSI connectivity, ensure the ESXi hosts, switches and storage array all have jumbo frames (MTU 9000) set. Refer KB318937

To test the network connectivity between ESXi and storage array with MTU 9000 refer KB311055