Deploying OVF fails with error: "Failed- Invalid Datastore Format"
/var/log/vmkwarning.log shows that the modification is not supported as partition is in-use.
YYYY-MM-DDThh:mm:ss Wa(180) vmkwarning: cpu6:558##)WARNING: Partition: 2124: t10.ATA__________Micron_5400_#####___________252#####9BFC: in-use partition 7 modification is not supported
YYYY-MM-DDThh:mm:ss Wa(180) vmkwarning: cpu6:558##)WARNING: Partition: 2124: t10.ATA__________Micron_5400_#####___________252#####9BFC: in-use partition 7 modification is not supported
Validate that the OVF deployment target datastore is not using the ESXi boot device or any of its partitions following one of the below methods:
esxcli storage vmfs extent listAs observed in the above output, same UUID shows that there is only one device that has been partitioned. The primary datastore “OSDATA-#####” corresponds to the host boot disk. Although a valid VMFS datastore was selected during OVF deployment, this datastore is located on the same physical storage as the ESXi system partition. ESXi fails datastore validation during OVF deployment because an additional partition was created on the host boot disk after the OSDATA partition (partition 8).
VMware vSphere ESXi 7.x
VMware vSphere ESXi 8.x
The issue occurred because the target datastore was created on the same physical device as the ESXi boot disk
Ensure that the target datastore resides on a separate physical storage device from the ESXi boot disk. If no suitable datastore exists, add a new storage device such as SAN, vSAN, NFS.
Once the storage device is presented to the host, create a datastore according to the storage type
Reference article below:
The configuration files cannot be stored on a PMem datastore. If you choose to use PMem, you must select a regular datastore for the configuration files of the virtual machine.
Deploy a Virtual Machine from an OVF or OVA File in the VMware Host Client