"The operation is now allowed in the current state of the datastore. Datastore disabled (Low Free Space)"
VMware vCenter Server
VMware vSphere ESXi
The backing storage array has ran out of space or is oversubscribed.
Note: This is a destructive operation. Please ensure that all necessary backups and snapshots are taken prior to proceeding with the steps below to avoid any issue
/opt/vmware/vpostgres/current/bin/psql -U postgres VCDB
select thin_prov_space_flag,name from vpx_datastore;
service-control --stop vpxd
/opt/vmware/vpostgres/current/bin/psql -U postgres -d VCDB
select id,thin_prov_space_flag from vpx_datastore where thin_prov_space_flag = 1;
id | thin_prov_space_flag
-------+----------------------
82027 | 1
82028 | 1
82029 | 1
82030 | 1
82031 | 1
82071 | 1
82073 | 1
93670 | 1
update vpx_datastore set thin_prov_space_flag=0 where id=<id>;
select id,thin_prov_space_flag from vpx_datastore;
service-control --stop --all;service-control --start --all
Note: If the thin_prov_space_flag reverts to a value of 1, review the storage array directly. Additional space may need to be added to the array.