There may be times when you see some vSAN objects which are in an inaccessible state.Try to “Repair the absent or degraded vSAN objects immediately” or “Purge Inaccessible VM swap Objects” from VMWare vSAN Skyline Health option,and check if that helps.

There’s a few reasons that objects could have been inaccessible, one being orphaned objects like .vswp files that used to exist, or objects that are currently suffering failures more than it was configured to tolerate.
You can follow the below set of commands to delete the inaccessible objects from vSAN.
Step 1. SSH into VCSA. Login with root, then RVC into the VCSA Console. If your are not using the default vphere.local try: user@domain.com@localhost.

Step 2. Change directories and get into the Cluster folder.

Step 3. Run vsan.check_state -r cluster-name. This will check the state and tries to refresh the objects it. It will then list out all the inaccessible objects.Note down the UUIDs of the inaccessible objects.

Step 4. We still have 16 objects that are unclassified. Run vsan.check_state -r cluster-name again, and note down the UUID of the remaining inaccessible objects.
Run vsan.cmmds_find -u UUID cluster-name. The details will show you where is the object hosted and what object it is.

Step 5. To delete, you will need to SSH into the respective owner nodes. Delete the objects using the UUID that we noted earlier. Run /usr/lib/vmware/osfs/bin/objtool delete -u UUID -f -v 10

Step 7. Repeat the process for each of the objects.