---
title: "Using disk space in a Redis cluster"
sidebar_label: "Using disk space"
sidebar_position: 9
description: "How disk space is used in a Redis cluster"
---

import Formbricks from '@theme/MDXComponents/Formbricks';
import { CustomTable } from '@selectel/docux/components';

# Using disk space in a Redis cluster

In Managed Databases, some disk space is reserved for service needs.The total amount of reserved space depends on the [version](/managed-databases/redis/configurations.mdx#versions) of Redis.

<CustomTable>
  <table data-sticky>
    <thead>
      <tr>
        <th />

        <th>Redis 6</th><th>Redis 8</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <th>File system reserve</th><td>4% of the disk capacity</td><td>4% of the disk capacity</td>
      </tr>

      <tr>
        <th>
          Reserve for the operating system,<br />service components, and logs
        </th>

        <td>8 GB</td><td>15 GB</td>
      </tr>
    </tbody>
  </table>
</CustomTable>

The reserved portion of the disk space is unavailable for hosting databases.Take this into account when choosing a [configuration lineup](/managed-databases/redis/configurations.mdx).

You can track how full the disk is using [disk occupancy notifications](#disk-full-notifications) and metrics.For more information about metrics, see the [Monitoring Redis cluster, nodes, and databases article](/managed-databases/redis/monitoring.mdx).

When a cluster disk is 95% full or more, the cluster will enter the `DISK_FULL` status and will be read-only.This is necessary to prevent a total cluster lockout or corruption due to lack of free space.To return the cluster to read and write mode, [scale the cluster](/managed-databases/redis/resize-cluster.mdx) and choose a configuration with a larger disk size than the previous one.

## Disk occupancy notifications \{#disk-full-notifications}

Disk capacity notifications are sent to the email address of the [Account Owner](/access-control/user-types.mdx#account-owner) and [panel users](/access-control/user-types.mdx#panel-users) who are subscribed to the [notification category](/account/notifications.mdx#notification-categories) "Services". Notifications are sent when the disk is 80% and 95% full.

<Formbricks />
