Host profile compliance check fails for NFS datastore.

Problem

When you confirm the compliance of your ESXi host to its attached Host Profile, a non-compliant status is present for the NFS datastore. The compliance check detects the mounted NFS datastore to the ESXi host as an additional datastore.

Cause

The remediate or compliance check failure occurs when the following two conditions take place:

  • The extracted Host Profile does not have NFS storage (NasStorageProfile).

  • The ESXi host, attached to the Host Profile, has an already mounted NFS storage.

Procedure

  1. Create a dummy NFS datastore in the Host Profile.
  2. Disable the dummy NFS datastore so that the NFS storage profile is fully disabled.