> 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.14/install-cortex-xsoar/post-installation/optimize-performance-and-robustness-from-the-textual-ui/auto-expand-pvc-volumes.md).

# Auto expand PVC volumes

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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
