ESXi VM snapshot consolidation fails with 'consolidate helper failed' after NFS export option change
Environment
vSphere/ESXi 7.0 hosts using NFSv3 datastore exported from a Linux file server. Datastore mounts were re-exported by storage admin with updated export options (root_squash enabled) during a maintenance window. A VM with existing snapshots shows 'Needs Consolidation'.
Symptoms
Attempting 'Consolidate' in vSphere fails with 'consolidate helper failed'; VM remains powered and responsive but snapshot chain size grows and datastore free space decreases. Storage vMotion and snapshot removal fail with file open errors.
Observations
Host vmkernel logs show permission denied opening .vmdk.delta files. On the NFS server, exported root UID mapping now maps to nobody (root_squash), changing file owner view. esxcli storage nfs list shows datastore mounted read-write. Manual file operations on the NFS server show owner is nobody and ESXi processes cannot rename files.
Already attempted
Tried to re-run consolidation multiple times, restarted management agents on ESXi host, attempted storage rescan; did not unmount datastore. Contacted storage admin who confirmed export options changed but said they kept read-write flag.
Question
How to safely consolidate snapshots and restore normal operations without data corruption; what reversible steps let ESXi regain file ownership access to the VMDK chain?
Verified community troubleshooting
Don’t edit VMDKs yet. First confirm the NFS export change: check /etc/exports on the NAS and look for root_squash or new anon UID mapping. If root_squash was enabled, restore the previous export options (allow root from ESXi hosts) and remount the datastore on ESXi (esxcli storage nfs remove/add). Before any action, copy the affected VMDKs off to temporary storage so you have a fallback. Once permissions are back to what ESXi expects, retry 'Consolidate'. If stale NFS locks exist, coordinate with the storage admin to clear them during a maintenance window. If you can’t restore export settings, plan a storage vMotion to a healthy datastore after taking backups and escalate to storage vendor. Avoid ad-hoc file renames on the NFS server without a backup.
Incident analysis
Most likely causes
Summary
Suggested Fixes
Continue troubleshooting
Related troubles
Matched from the title, description and tags