After you edit a storage policy that is already associated with a virtual machine object, you must reapply the policy. By reapplying the policy, you communicate new storage requirements to the datastore where the virtual machine object resides.
Prerequisites
The compliance status for a virtual machine is Out of Date. The status indicates that the policy has been edited, but the new requirements have not been communicated to the datastore.
Procedure
- In the vSphere Client, navigate to the virtual machine.
- Click the Configure tab and click Policies.
- Verify that the compliance status is Out of Date.
- Click Reapply VM Storage Policy.
- Check the compliance status.
Compliance Status |
Description |
Compliant |
The datastore that the virtual machine or virtual disk uses has the storage capabilities that the policy requires. |
Noncompliant |
The datastore supports specified storage requirements, but cannot currently satisfy the storage policy. For example, the status might become Noncompliant when physical resources of the datastore are unavailable. You can bring the datastore into compliance by making changes in the physical configuration of your host cluster. For example, by adding hosts or disks to the cluster. If additional resources satisfy the storage policy, the status changes to Compliant. When you cannot bring the noncompliant datastore into compliance, migrate the files or virtual disks to a compatible datastore. See Find Compatible Storage Resource for Noncompliant Virtual Machine. |
Not Applicable |
The storage policy references datastore capabilities that are not supported by the datastore. |