In VMware vSAN 8.0 Update 1 and later, users may observe that vSAN trace files are being written to the ESXi host RAM disk (typically located in /scratch/log/).
This behavior may lead to the assumption that vSAN traces are not being stored persistently or that the vSAN Native Traces feature is not functioning as expected.
VMware vSAN 8.1
Native Traces object :
esxcli vsan trace get
ls -ld /vmfs/volumes/vsan:<vsan_datastore_uuid>/.vsan.trace
(Note: Replace <vsan_datastore_uuid> with the actual UUID of your vSAN datastore.)
Persistent External Storage:
esxcli vsan trace set --path /vmfs/volumes/<persistent_datastore>/<folder_name>