> For the complete documentation index, see [llms.txt](https://docs.ionos.com/cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionos.com/cloud/~/revisions/AMiYziCllTKB2y2lmONY/storage-and-backup/network-file-storage/how-tos/create-nfs-share.md). Agents can also search and read this documentation through its [MCP server](https://docs.ionos.com/cloud/~gitbook/mcp).

# Create Shares

A share represents individual file systems within the Network File Storage cluster. Each cluster can contain multiple shares within it.

## Prerequisites

* Only contract administrators, owners, and users with **Access and Manage Network File Storage** privilege are allowed to create shares. You can set the privilege via the DCD group privileges. For more information, see [<mark style="color:blue;">Manage User Access</mark>](https://docs.ionos.com/cloud/getting-started/basic-tutorials/manage-user-access).

## Create a Share

To create a share within a Network File Storage cluster, follow these steps:

1. Log in to the DCD with your username and password.
2. Go to **Menu** > **Storage** > **Network File Storage**.
3. Select a cluster from the list of clusters.
4. Enter the following details in the **Create Share** window:
   * [<mark style="color:blue;">Define Share Properties</mark>](#define-share-properties)
   * [<mark style="color:blue;">Add Client Groups</mark>](#add-client-groups)
5. Click **Save** to create a share.

{% hint style="success" %}
**Result:** A share is created within the selected Network File Storage Cluster.
{% endhint %}

## Define Share Properties

To define share properties, specify the following:

1. **NAME:** Enter an appropriate name for the share.
2. *(Optional)* **QUOTA:** Specify the quota in MiB to restrict the amount of data that can be stored within the export file. Set the value to zero, if you want to disable the quota for export.
3. *(Optional)* **GID:** The ID of the group that owns the exported share. The default value is 512.
4. *(Optional)* **UID:** The ID of the user who owns the exported directory. The default value is 512.

## Add Client Groups

Multiple VMs from within a VDC can be connected to shares of a Network File Storage's cluster via a private LAN.

1. *(Optional)* **Description:** Enter necessary information about the client group.
2. **IP Networks:** Select **+ Add IP Network** to add an IP address with the mask CIDR notation. The specified network therefore becomes an authorized network while restricting access to all other networks. Example: 127.0.0.1/24.
3. **Hosts:** Select **+ Add Host** to add the number of VMs that is allowed to access the share. Example: 10.234.62.123.
4. **NFS Squash Mode:** Select a squash mode for export. For more information, see [Root squash security](https://docs.ionos.com/cloud/~/revisions/AMiYziCllTKB2y2lmONY/storage-and-backup/network-file-storage/overview/features-benefits.md). You can choose one of the following:
   * **None:** Select if you do not want a squash mode. For security reasons, we do not recommend setting the mode to **None**.
   * **Root Anonymous:** Select to map a root user to an anonymous user.
   * **All Anonymous:** Select to map all users to anonymous user.


---

# 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://docs.ionos.com/cloud/~/revisions/AMiYziCllTKB2y2lmONY/storage-and-backup/network-file-storage/how-tos/create-nfs-share.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.
