Unmounting the Amazon EFS

To unmount the Amazon EFS:

  1. On the on-premise Linux box, run the following commands to delete the mounted content:

    sudo umount ~/efs
    rm -rf ~/rfs
  2. Run the following commands to disconnect from the client VPN endpoint:

    use ps -ef | grep openvpn
    sudo killall -11 openvpn
    use ps -ef | grep openvpn