> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/cortex-xsoar-8-on-prem/8.13/install-cortex-xsoar/post-installation/optimize-performance-and-robustness-from-the-textual-ui/auto-expand-pvc-volumes.md).

# Auto expand PVC volumes

Expand PVC volumes in Cortex XSOAR 8.13 On-prem.

Auto expansion enables automatically increasing Persistent Volume Claim (PVC) capacity when disk usage reaches a predefined threshold. This ensures application uptime by preventing disk full errors and eliminates the need for manual intervention during storage spikes.

{% hint style="info" %}
You can dynamically enable or disable auto expansion at runtime without restarting or experiencing service interruption.

Your configuration choice is persistent, it survives TUI restarts, SSH session terminations, and full system reboots.
{% endhint %}

**How auto expansion works**

Auto expansion relies on an automated background process that regularly monitors disk usage and automatically increases Persistent Volume Claim (PVC) capacity based on predefined thresholds and limits.

* Expansion trigger

  The system automatically triggers a volume expansion when any PVC usage reaches 85% capacity.
* Expansion amount and limits

  The expansion size is calculated as 20% of the current volume size (rounded to the nearest GiB), capped at a maximum of 40 GiB **per event** with a minimum limit of 1 GiB.
* Safety guardrails

  To protect overall system health, the system enforces not using the full remaining disk space; it will always leave a minimum of 10% free space.
* Standalone and multinode deployments

  The auto expand feature operates seamlessly on both standalone and multinode clusters. In a multinode setup, the setting is applied from the primary node.

### How to configure auto expand

1. From the textual UI menu, select **Auto Expand**.

   The following message is displayed: Storage Groups will automatically expand once it reaches 85% capacity, provided there is enough available space on the system.
2. Click to enable or disable auto expansion.
3. In the confirmation dialog, select **Apply** to confirm the change, or click **Back** (or the **`ESC`** key) to cancel the operation and preserve your original state.

   A progress indicator displays while applying the change, followed by a success notification upon completion.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/cortex-xsoar-8-on-prem/8.13/install-cortex-xsoar/post-installation/optimize-performance-and-robustness-from-the-textual-ui/auto-expand-pvc-volumes.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
