RENCI / ctmd

MIT License
2 stars 0 forks source link

The devicemapper storage-driver is deprecated #333

Open krobasky opened 3 years ago

krobasky commented 3 years ago

df on ctmd.renci.org shows /var at 68% usage, and du -sh /var/lib/docker/devicemapper yields 34G, very high for this application.

This stackoverflow thread sheds some light on the issue.

Finally, docker info uncovers the problem:

WARNING: the devicemapper storage-driver is deprecated, and will be removed in a future release.
WARNING: devicemapper: usage of loopback devices is strongly discouraged for production use.
         Use `--storage-opt dm.thinpooldev` to specify a custom block storage device.

Docker docs provides the solution, namely, to configure direct-lvm mode for production.

To close this ticket:

  1. read all the instructions at docker docs for understanding
  2. identify large(ish) volumes on dev-ctmd, stage-ctmd, heal-ctmd, and ctmd
  3. execute all the commands on dev-ctmd, taking care to document all the switches, and the order, and test.
  4. alert Dawn/Duke and execute again on stage-ctmd and test
  5. alert Dawn/Duke and execute again on heal-ctmd, ctmd
  6. update ctmd-dashboard README.md docker instructions, as well as the FHIR server docker instructions.
krobasky commented 3 years ago

This may become critical, but as of now there are higher priority items.