Skip to content

NFS Storage Mounts

Overview

The Podman hosts use NFS storage provided by the Synology NAS (poseidon.skynet.lan) for persistent application data.

The NAS exports are mounted automatically using /etc/fstab.

Storage Provider

Component Details
NAS poseidon.skynet.lan
IP Address 10.0.0.46
Protocol NFS
Client orion.skynet.lan & luffy.skynet.lan
Mount Configuration /etc/fstab

Mount Points

NFS Export Local Mount Point Purpose
10.0.0.46:/volume1/atlantis /mnt/poseidon Application persistent storage
10.0.0.46:/volume1/downloads /mnt/downloads Download storage

Configuration

Edit /etc/fstab:

10.0.0.46:/volume1/atlantis /mnt/poseidon nfs defaults
10.0.0.46:/volume1/downloads /mnt/downloads nfs defaults

Create Mount Points

Before mounting, create the required directories:

mkdir -p /mnt/poseidon
mkdir -p /mnt/downloads

Mount Storage

Apply the configuration:

mount -a

Verify mounts:

df -h

Example output:

10.0.0.46:/volume1/atlantis   /mnt/poseidon
10.0.0.46:/volume1/downloads  /mnt/downloads

Verify NFS Connectivity

Check available exports:

showmount -e 10.0.0.46

Expected:

Export list for 10.0.0.46:
/volume1/atlantis
/volume1/downloads

Usage with Podman Quadlets

Containers can use these directories as persistent storage:

Example:

[Container]
Volume=/mnt/downloads:/downloads