> For the complete documentation index, see [llms.txt](https://docs.glesys.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.glesys.com/products/storage/file-storage/how-tos/mount-a-volume.md).

# Mount a volume

***

Before you can mount the volume, you need to find its address. You find it at the top of the volume page in the control panel.

<figure><img src="/files/JYpH7Q3SYoBsiQYVjz3i" alt=""><figcaption></figcaption></figure>

The process for mounting NFS volumes differs between Linux and Microsoft Windows. Here, we'll cover both operating systems.

{% tabs %}
{% tab title="Linux" %}
Before you can mount the NFS volume, you need to install some software.

On Debian and Ubuntu, install the *nfs-common* package using:

{% code title="Multiple commands" %}

```terminal
sudo apt update
sudo apt install nfs-common
```

{% endcode %}

On CentOS, AlmaLinux, and Fedora, install the package *nfs-utils* with the command:

{% code title="Command" %}

```terminal
sudo dnf install nfs-utils
```

{% endcode %}

Once the correct package is installed for your Linux distribution, proceed to mount the volume. However, you first need to create a directory where the volume can be mounted.

{% code title="Command" %}

```terminal
sudo mkdir /mnt/nfs
```

{% endcode %}

You can now add the volume to the `/etc/fstab` file so it mounts automatically at system startup. Add the following line to the `/etc/fstab` file, replacing the address with the one shown for the volume in the control panel (but without the `nfs://` part). You also need to add a colon between the `glesys.net` part and the directory `/dpool/nfs`, as below.

{% code title="Line in /etc/fstab" %}

```
fs-vdwx4.cloud.glesys.net:/dpool/nfs /mnt/nfs nfs4 rw,hard, 0 0
```

{% endcode %}

Now, you mount the volume using the `mount` command along with the mount point (the directory `/mnt/nfs` where the volume will be mounted):

{% code title="Command" %}

```terminal
sudo mount /mnt/nfs
```

{% endcode %}

When you list all mounted file systems on the server using the `df` command, the new volume will be visible:

{% code title="Command" %}

```terminal
df -h
```

{% endcode %}

{% code title="Output" %}

```terminal
Filesystem                            Size  Used Avail Use% Mounted on
devtmpfs                              930M     0  930M   0% /dev
tmpfs                                 948M     0  948M   0% /dev/shm
tmpfs                                 380M  5.3M  374M   2% /run
/dev/sda1                              20G  1.3G   19G   7% /
tmpfs                                 190M     0  190M   0% /run/user/1000
fs-vdwx4.cloud.glesys.net:/dpool/nfs   16T  3.3M   16T   1% /mnt/nfs
```

{% endcode %}
{% endtab %}

{% tab title="Microsoft Windows" %}
First, you need to install the NFS features in Windows. This can be done by starting PowerShell as an administrator.&#x20;

Find PowerShell in the Start menu under the folder with the same name. Right-click on **Windows PowerShell** and select **Run as Administrator**.

<figure><img src="/files/pDCofZDjyD4nZKgfGoNK" alt=""><figcaption></figcaption></figure>

In the PowerShell console, you activate the NFS features by typing the following command:

{% code title="Command" %}

```terminal
Install-WindowsFeature -Name NFS-Client
```

{% endcode %}

Now, mount the NFS volume to the next available drive letter. In this example, we use **F**. Remember to replace the address in the example with the address of the volume, which can be found at the top of the volume page in the control panel. Once you have the address, you mount the volume using the PowerShell command `New-PSDrive`:

{% code title="Command" %}

```terminal
New-PSDrive -Name F -PSProvider FileSystem -Root \\fs-vdwx4.cloud.glesys.net\dpool\nfs -Persist
```

{% endcode %}

<figure><img src="/files/6EkBEKqfMUMDMGCBwPlk" alt=""><figcaption></figcaption></figure>

The volume is now available in **This Computer** under the drive letter **F**.
{% endtab %}
{% endtabs %}


---

# 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://docs.glesys.com/products/storage/file-storage/how-tos/mount-a-volume.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.
