Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-18025

Option to allocate disk space headroom automatically

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Storage
    • Labels:
      None

      Description

      Currently, low disk space conditions only cause write operations to fail when the actual attempt to get/use more disk space from the OS fails. It would help (operationally) if writes could additionally fail when the amount of free disk space falls below some configurable threshold (eg. 10GB). This would leave some disk space as headroom that can be used to restore service, as opposed to the alternative of a filesystem that is either completely full or has a uselessly small amount of free space (eg. under 2GB).

      A simple workaround for this (and the behaviour that I'm effectively asking for) is to allocate on disk a large dummy file of the desired size. This will cause the filesystem to fill up "early", and if this happens the dummy file can be deleted to gain access to the "spare" disk space.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-execution Backlog - Storage Execution Team
              Reporter:
              kevin.pulo Kevin Pulo
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: