While working on VSAN Environment you might come across a situation where your Production workload is working fine and everything is online. However, there will be Inaccessible objects present on the VSAN Cluster when you look at the vSAN Health section under the Monitor tab.
This is a common issue that can be resolved by deleting the inaccessible entries, However, since you are going to perform the delete operation you need to be very careful and always make sure that you have a healthy backup of the VMs on which you are going to perform this operation.
To get a health summary of the VSAN Objects.
esxcli vsan debug object health summary get
To get the list of Inaccessible objects.
esxcli vsan debug object list --health=inaccessible > tmp/inaccessible.txt
To copy the UUID from the Inaccessible Data
less inaccessible.txt | egrep "Object\ UUID:Path" | sed 'N;s/\n/ /g'
To Check the attribute of the Data on the VSAN Cluster
/usr/lib/vmware/osfs/bin/objtool getAttr <UUID>
Now you have the attribute details, this would be your last chance to decide whether this entry you are seeing is stale or is currently being used. Post this the last command will delete the entries.
To delete an Object
/usr/lib/vmware/osfs/bin/objtool delete -u <UUID> -f;
At any point, if you are not sure what you are doing, I would recommend you to stop and raise a Support case with VMWare.
actually, the typo is between Object\ UUID:Path, it should be this – less inaccessible.txt | egrep “Object UUID:|Path” | sed ‘N;s/\n/ /g’