Vmkfstools windows
![vmkfstools windows vmkfstools windows](http://woshub.com/wp-content/uploads/2021/04/shrink-a-hard-drive-volume-in-windows.png)
vmkfstools -growfs "/vmfs/devices/disks/device:partition" "/vmfs/devices/disks/device:partition"Į.g vmkfstools –growfs “/vmfs/devices/disks/ mpx.vmhba0:C0:T0:L0:2” “/vmfs/devices/disks/ mpx.vmhba0:C0:T0:L0:2″ĥ. Now grow the VMFS datastore into the new space using the vmkfstools -growfs command, specifying the partition containing the target VMFS Datastore twice. Now you can get usable sectors and resize parition with the help of partedutil command: partedUtil getUsableSectors "/vmfs/devices/disks/mpx.vmhba0:C0:T0:L0" partedUtil resize "/vmfs/devices/disks/mpx.vmhba0:C0:T0:L0" PartitionNumber NewStartingSector NewEndingSectorĮ.g. And run the following commands: partedUtil get "/vmfs/devices/disks/mpx.vmhba0:C0:T0:L0"ģ. You need the identifier information for this.
![vmkfstools windows vmkfstools windows](http://www.patrickkremer.com/wp-content/uploads/2014/06/1_vmkfstools1.jpg)
Now use partedUtil tool to identify the existing partitions on the device using the command. Note down the current capacity and space on the Datastore.Ģ. The output will be similiar: VMFS-5.0 file system spanning 1 partitions.įile system label (if any): your_datastore_nameĬapacity 145223581696 (138496 file blocks * 1048576), 43937431552 (41902 blocks) avail Get the unique device identifier or NAA ID or mpx information.One of the most used tools is vmkfstools and partedUtil. You can also increase the datastore capacity using esxcli command-line tool.
#Vmkfstools windows how to#
How to increase VMware datastore capacity using esxcli? You need to click on dropdown at Partition Configuration and select Use all available partitions option to get all available space otherwise you can Increase it by selecting the number of GB below the dropdown menu.ġ0. On next page, you will be given the available space.Ĩ. Next select the devices you want from the list and Make sure Expandable option is set to Yes automatically. Click On ‘ Increase Datastore Capacity‘ to see the available space that can be added further to the datastore.ħ.