Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-6577

Configurations to reserve HDDS volume space are not followed

    XMLWordPrintableJSON

Details

    Description

      Ozone currently has two configuration keys that can be used to prevent datanode volumes from being completely filled up:

      hdds.datanode.du.reserved: A list of key-value pairs mapping each volume's path to a fixed size that should be left empty on the volume. There is no default value.

      hdds.datanode.storage.utilization.critical.threshold: A percentage of each datanode volume that should be left empty. The default value is 95%.

      In a live cluster, we have seen volumes fill up past the default 95% value. In a docker based test using a fixed size tmpfs volume mount, the configs also did not seem to be respected. It is also unclear how the configs are reconciled if configured with conflicting values. This Jira aims to provide a reliable way to limit datanode volume usage, and add tests to simulate fixed capacity disks for testing the functionality.

      Attachments

        Issue Links

          Activity

            People

              aswinshakil Aswin Shakil
              erose Ethan Rose
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: