VMware Cloud Community
jjlolo
Enthusiast
Enthusiast

Error on trying to expand data store on iSCSI volume

Hi, I have ESXi 6.5 running using a data set on a SYNOLOGY iSCSI Disk.

I expanded the iSCSI disk, but can not get the data set to expand.  ESXi sees the extra space, but I can't expand the current volume by selecting increase data store size- I simply get a message saying it can can not.  I can create a new data set.

I tried doing this while the machine was in maintenance mode

HELP!

Reply
0 Kudos
4 Replies
dineshgoundar
Enthusiast
Enthusiast

Try logging in directly to an ESXi host and expanding the datastore

Reply
0 Kudos
dekoshal
Hot Shot
Hot Shot

1.SSH to ESXi host

2. Run command tail -f /var/log/vmkernel.log

3. Try To expand the datastore from GUI.

4. Capture the output of the command in step 2

5. paste the capture log output here.

If you found this or any other answer helpful, please consider the use of the Correct or Helpful to award points.

Best Regards,

Deepak Koshal

CNE|CLA|CWMA|VCP4|VCP5|CCAH

Reply
0 Kudos
dekoshal
Hot Shot
Hot Shot

You can also try to expand it from command line

Grow the VMFS Datastore in to the new space using the vmkfstools --growfs command, specifying the partition containing the target VMFS Datastore twice.
# vmkfstools --growfs "/vmfs/devices/disks/Device:partition" "/vmfs/devices/disks/Device:partition"
For example:
# vmkfstools --growfs "/vmfs/devices/disks/mpx.vmhba0:C0:T0:L0:3" "/vmfs/devices/disks/mpx.vmhba0:C0:T0:L0:3"

Growing a local datastore from the command line in vSphere ESXi (2002461) | VMware KB

If you found this or any other answer helpful, please consider the use of the Correct or Helpful to award points.

Best Regards,

Deepak Koshal

CNE|CLA|CWMA|VCP4|VCP5|CCAH

Reply
0 Kudos
jjlolo
Enthusiast
Enthusiast

What solved it for me was running vi client and expanding the volume there where it worked automagically.

Reply
0 Kudos