Unable to Expand Local Datastore from the ESXI Host Client
search cancel

Unable to Expand Local Datastore from the ESXI Host Client

book

Article ID: 380266

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

When trying to expand the local vmfs datastore, we receive error

"Failed to expand VMFS datastore datastore1 (102) - Failed to update disk partitions for /vmfs/devices/disks/naa.xxxxxxxxxxxxxxxxxxxxxxxxxxx"

But when expanding the vmfs datastore from vCenter vSphere client, it completes successfully. 

 

In the /var/log/vmkernel.log we observe "can not be shrunk" errors:

Partition: 1993: naa.xxxxxxxxxxxxxxxxxxxxxxxxx: in-use partition 7 can not be shrunk

 

In var/run/log/hostd.log, we see:

Unable to setptbl on /vmfs/devices/disks/naa.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Error: Error: Read-only file system during write on /dev/disks/naa.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Environment

VMware vSphere ESXi 7.0.x
VMware vSphere ESXi 8.0.x

Cause

This is a known issue with the ESXi host client. 

Resolution

There is currently no resolution and datastore expansion should be completed from the vCenter vSphere Client.