Attempting to set the coredump to a file or coredump to partition fails with an error stating that no usable volume is available.
VMware vSphere ESXi
This is due to the absence of a VMFS or VMFS-L volume, which is required to be configured as the location for the coredump file/partition and the default partition is not created during the ESXi installation.
# esxcli storage filesystem list
# esxcli system coredump file add -d <datastore_UUID> -f <File_Name>
If there is an error like Datastore LOCKER-UUID has insufficient free space, specify the size of the dump file using the flag -s SIZE_IN_MB
for ex: # esxcli system coredump file add -d UUID -f Host-FQDN -s 2000
This will create the vmkdump/coredump file
# esxcli system coredump file set -p "/datastore_UUID/vmkdump/File_Name"
Verify that there is an Active coredump partition by running this command:
# esxcli storage filesystem list