When storage policies cannot be updated through vCenter or are restricted for certain objects such as Swap objects, non-compliant object policies can be updated directly from the ESXi command line.
If objects (specifically Swap or Namespace) remain on RAID 6, use the ESXi command line to force the policy change without powering off the VMs:
1. Identify the UUID of the non-compliant object
esxcli vsan debug object list -u <UUID>
2. Manually set the policy to FTT=1 using the objtool
/usr/lib/vmware/osfs/bin/objtool setPolicy -u <UUID> -p '(("hostFailuresToTolerate" i1))'
In cases where the vCenter server is inaccessible or the policy cannot be changed via the UI, use the following command to set the policy to FTT=1 (RAID-5):
/usr/lib/vmware/osfs/bin/objtool setPolicy -u <UUID> -p "((\"stripeWidth\" i1) (\"cacheReservation\" i0) (\"proportionalCapacity\" i0) (\"hostFailuresToTolerate\" i1) (\"forceProvisioning\" i0) (\"replicaPreference\" \"Capacity\") (\"iopsLimit\" i0) (\"checksumDisabled\" i0))"