In the Dynatrace Managed install docs, it recommends splitting up the directories on to several partitions, which makes sense.
BUT. When I got to run the installer, I get:
```Starting Dynatrace 220.127.116.1180223-155308 installer ...
Following problems were found during scanning of filesystem: Directory /var/opt/dynatrace-managed must be empty```
It is impossible to have that directory empty because there are several mount points created downstream such as /var/opt/dynatrace-managed/logs. There is no option in the installer to bypass this check.
Thanks for your help!
Solved! Go to Solution.
For example, it is recommended to have /var/opt/dynatrace-managed/logs on a separate partition with the recommended size listed here:(https://www.dynatrace.com/support/help/installatio...
Dynatrace won't install if the logs directory exists already. So that means I have to installed dynatrace managed, make a temp dir, copy whatever was put in ./logs into temp. Mount the ./logs partition, then copy everything back to logs and remove the temp dir. This has to happen with the agents and the installation subdirectories too. It makes it very difficult to automate via ansible. If I were somehow able to bypass that check, then I would not have to do this. Is that the way dynatrace is recommending we do the install? remove all subdirectories, install, copy to temp dir, mount, copy back, delete temp dir?