Uninstalling the Policy Agent on Linux

  1. Decrypt the disk as described in Decrypting a Disk Using the webGUI.

    Important: If you uninstall the Policy Agent without decrypting the disk, all access to the encrypted files will be lost because the encryption keys are deleted during the uninstall procedure.
  2. Log into the VM as root.
  3. Run the shell command hcs-client-agent-4.2-build.number.run uninstall. For example:

    # sh hcs-client-agent-4.2-12345.run uninstall
    Creating directory hcs-agent-agent
    Verifying archive integrity... All good.
    Uncompressing hcs-agent-agent.run.............
    Data on all encrypted volumes will be lost. Proceed with uninstall? (yes/no) yes
    Encrypted device /dev/sdb1 detached; decrypted contents no longer visible
    Encrypted device /dev/sdc1 detached; decrypted contents no longer visible
    Encrypted device /dev/sdd1 detached; decrypted contents no longer visible
    Stopping hcld... done
    Uninstall successful