Skip to content

Nuface Blog

隨意隨手記 Casual Notes

Menu
  • Home
  • About
  • Services
  • Blog
  • Contact
  • Privacy Policy
  • Login
Menu

Using Synology NAS with Proxmox VE

Posted on 2025-11-032025-11-03 by Rico

This is one of the most common real-world use cases for Proxmox VE (PVE) — mounting an existing Synology NAS as a storage pool, allowing PVE to directly use NAS space for VMs, containers, ISOs, and backups.


🧭 1. Architecture Overview

Proxmox supports multiple remote storage protocols:

TypeSupported by SynologyRecommended UseNotes
NFS (Network File System)✅Most common. Suitable for VM images, backups, and ISOsStable performance, simple setup
SMB/CIFS (Windows Share)✅Suitable for ISOs and backupsNot recommended for VM disks
iSCSI✅Best for high-performance VM disksMore complex; requires LVM setup on PVE
rsync / SSHFS🔸 Requires extra packageBackup onlyNot for live mounts

🧰 2. Recommended Setup: Mount via NFS

This is the simplest and most stable approach.
Below is the step-by-step setup for Synology + Proxmox.


Step 1: Create an NFS Shared Folder on Synology NAS

Go to Synology DSM → Control Panel → Shared Folder → Create a new folder, e.g.:

  • Name: pve-storage
  • Path: /volume1/pve-storage

After creation → click Edit → NFS Permissions → Create

  • Host/IP: Enter your PVE host IP, e.g. 10.0.100.10
  • Privilege: Read/Write
  • Squash: No mapping
  • Security: sys
  • Enable NFS v3 / v4 (you can check both)

Step 2: Enable NFS Service on NAS

In DSM: Control Panel → File Services → NFS → Check “Enable NFS service”


Step 3: Add NFS Storage in PVE Web GUI

Go to Proxmox VE web interface → Datacenter → Storage → Add → NFS

Fill in the following:

  • ID: synology-nfs
  • Server: NAS IP (e.g. 10.0.100.20)
  • Export: Automatically detected, e.g. /volume1/pve-storage
  • Content: Select usage types (e.g. Disk image, ISO image, VZDump backup file)
  • Nodes: Choose the node(s) to mount on (if single node, select that one)

Click Add.
PVE will automatically mount it to /mnt/pve/synology-nfs.


Step 4: Verify Mount Status

SSH into your PVE host and run:

mount | grep synology

You should see something like:

10.0.100.20:/volume1/pve-storage on /mnt/pve/synology-nfs type nfs ...

Or check available space:

df -h /mnt/pve/synology-nfs

💡 3. Optional: Using SMB (CIFS)

If your NAS is already sharing via Windows SMB, you can mount it as follows:

# Install CIFS utilities
apt install cifs-utils

# Test mount
mount -t cifs //10.0.100.20/pve-share /mnt/pve/smb-test \
   -o username=nasuser,password=yourpass,vers=3.0

Then, in the GUI:
Datacenter → Storage → Add → CIFS
Set the following:

  • Server: 10.0.100.20
  • Share: pve-share
  • Username/Password: your NAS credentials
  • Content: ISO / Backup

⚠ Note: SMB is suitable for ISO or backup storage only.
Do not use it for VM disks due to poor performance and lack of file-locking.


🚀 4. For High-Performance VM Disks

Use iSCSI + LVM mode:

  1. On Synology:
    • Go to Package Center → Install “iSCSI Manager”
    • Create a Target and a LUN
  2. On PVE:
    • Add → iSCSI → connect to the target
    • Then Add → LVM → map to that iSCSI volume

Your VM disks will now behave like local drives, with much better performance — ideal for production workloads.


🧩 5. CLI Quick Mount (NFS)

If you prefer command-line configuration:

pvesm add nfs synology-nfs \
  --server 10.0.100.20 \
  --export /volume1/pve-storage \
  --content images,iso,vztmpl,backup \
  --options vers=3

✅ Summary & Recommendations

RequirementRecommended MethodNotes
General VM images, backups, ISOsNFSSimplest and most stable
ISO & backup onlySMB/CIFSSlightly slower read/write
High-performance VM disksiSCSI + LVMMore complex, best performance
Simple backup transferrsync / SSHFSNot suitable for live mounts

Recent Posts

  • Postfix + Let’s Encrypt + BIND9 + DANE Fully Automated TLSA Update Guide
  • Postfix + Let’s Encrypt + BIND9 + DANE TLSA 指紋自動更新完整教學
  • Deploying DANE in Postfix
  • 如何在 Postfix 中部署 DANE
  • DANE: DNSSEC-Based TLS Protection

Recent Comments

  1. Building a Complete Enterprise-Grade Mail System (Overview) - Nuface Blog on High Availability Architecture, Failover, GeoDNS, Monitoring, and Email Abuse Automation (SOAR)
  2. Building a Complete Enterprise-Grade Mail System (Overview) - Nuface Blog on MariaDB + PostfixAdmin: The Core of Virtual Domain & Mailbox Management
  3. Building a Complete Enterprise-Grade Mail System (Overview) - Nuface Blog on Daily Operations, Monitoring, and Performance Tuning for an Enterprise Mail System
  4. Building a Complete Enterprise-Grade Mail System (Overview) - Nuface Blog on Final Chapter: Complete Troubleshooting Guide & Frequently Asked Questions (FAQ)
  5. Building a Complete Enterprise-Grade Mail System (Overview) - Nuface Blog on Network Architecture, DNS Configuration, TLS Design, and Postfix/Dovecot SNI Explained

Archives

  • December 2025
  • November 2025
  • October 2025

Categories

  • AI
  • Apache
  • Cybersecurity
  • Database
  • DNS
  • Docker
  • Fail2Ban
  • FileSystem
  • Firewall
  • Linux
  • LLM
  • Mail
  • N8N
  • OpenLdap
  • OPNsense
  • PHP
  • QoS
  • Samba
  • Switch
  • Virtualization
  • VPN
  • WordPress
© 2025 Nuface Blog | Powered by Superbs Personal Blog theme