---
description: "Mount a Verda shared filesystem on an instance: the mount commands, making that mount persist across reboots, and verifying both read and write access."
revision_date: 04.08.2026
---

# Mounting a shared filesystem

## Mounting to an instance

!!! warning
    Only SFS that have been shared with instance can be mounted to this instance, see  
    [Editing share settings](https://docs.verda.com/storage/shared-filesystems-sfs/editing-share-settings/)


!!! info
    Shared filesystem can only be attached to the instance in the same region


!!! info
    Replace `SFS_NAME` with the name of the directory you want to mount it to.
    Replace `PSEUDO` with the filesystem's pseudopath.
    Replace `DC` with the datacenter location (ex: `fin-01`).


1. Create a directory to which you want to mount the SFS:

    ```bash
    mkdir -p /mnt/[SFS_NAME]
    ```

2. Mount the shared filesystem:

    ```bash
    mount -t nfs -o nconnect=16 nfs.[DC].verda.com:[PSEUDO] /mnt/[SFS_NAME]
    ```

3. Add filesystem to the `/etc/fstab`, to have it mount on instance startup:

    ```bash
    grep -qxF 'nfs.[DC].verda.com:/[PSEUDO] /mnt/[SFS_NAME] nfs defaults,nconnect=16 0 0' /etc/fstab || echo 'nfs.[DC].verda.com:/[PSEUDO] /mnt/[SFS_NAME] nfs defaults,nconnect=16 0 0' | sudo tee -a /etc/fstab
    ```

***

## Mounting to every node in a cluster

!!! info
    Replace `SFS_NAME` with the name of the directory you want to mount it to.
    Replace `PSEUDO` with the filesystem's pseudopath.
    Replace `DC` with the datacenter location (ex: `fin-01`).


```bash
pdsh -a "sudo mkdir -vp /mnt/[SFS_NAME] && grep -qxF 'nfs.[DC].verda.com:/[PSEUDO] /mnt/[SFS_NAME] nfs defaults,nconnect=16 0 0' /etc/fstab || echo 'nfs.[DC].verda.com:/[PSEUDO] /mnt/[SFS_NAME] nfs defaults,nconnect=16 0 0' | sudo tee -a /etc/fstab && sudo mount /mnt/[SFS_NAME]"
```
