> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cudocompute.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Attach a volume to a cluster machine

> Attach and mount a volume on a cluster machine

## Prerequisites

* An existing volume (see Create a volume)
* A cluster with at least one machine (see Create a cluster)

## Attach the volume

1. Open **Clusters** and select your cluster.
2. Open the action menu (⋮) for the target cluster machine.
3. Click **Attach volume**.
4. Select the volume and confirm.

The volume is now available to mount from the machine.

## Mount the volume (Ubuntu example)

SSH into the cluster machine and run:

```bash theme={null}
sudo apt install -y nfs-common
sudo mkdir -p /data
```

Add an `/etc/fstab` entry (replace `IP_ADDRESS`):

```bash theme={null}
IP_ADDRESS:/data /data nfs rw,nconnect=16,nfsvers=3 0 0
```

Mount all defined entries:

```bash theme={null}
sudo mount -a
```

Verify:

```bash theme={null}
df -h | grep /data
```

## Unmount

```bash theme={null}
sudo umount /data
```

Remove the corresponding line from `/etc/fstab` if you no longer want it auto-mounted.
