//nbkelley /homelab

Proxmox Systemd Mounts

Proxmox Systemd Mounts#

What Was Established#

  • SMB/CIFS shares can be integrated into Proxmox via CLI or the Web GUI.
  • GUI integration is recommended for Proxmox-native features (backups, ISOs, templates) and automatic retention management.
  • System-level mounts (e.g., at /media/synology) are distinct from Proxmox Storage and are used for general file operations accessible by the host OS.
  • Proxmox automatically mounts SMB shares under /mnt/pve/<storage_id> when configured via the GUI.

Key Decisions#

  • Maintain both a Proxmox Storage entry (for VM disks/backups) and a system-level mount (for general file access).
  • Extract credentials from /etc/pve/storage.cfg to avoid hardcoding passwords in multiple places.
  • Use pvesm status to verify existing storage mounts and avoid conflicts.

Current Configuration#

  • Synology NAS (LonelyMountain): 192.168.1.137
  • Proxmox Storage: Configured via Datacenter > Storage (SMB/CIFS) for VM-related content.
  • System Mount: Targeted at /media/synology for general file operations.

System-Level Mount Methods#

1. Extract Credentials & Create System Mount#

  1. Check existing Proxmox storage: pvesm status
  2. Extract server/share info from /etc/pve/storage.cfg
  3. Create credentials file:
    nano /root/.smbcredentials
    # Add: username=your_username, password=your_password
    chmod 600 /root/.smbcredentials
  4. Add to /etc/fstab:
    //192.168.1.137/share_name /media/synology cifs credentials=/root/.smbcredentials,uid=0,gid=0,file_mode=0660,dir_mode=0770,iocharset=utf8 0 0
  5. Test: mount -a

Create /etc/systemd/system/media-synology.mount:

Servarr - Media Automation Stack

Servarr - Media Automation Stack#

Overview#

Servarr is a full VM at 192.168.1.112 (hostname: servarr) running a Docker Compose media automation stack. All services depend on a NAS mount at /data for media storage. Download clients (qbittorrent, nzbget) and indexer (prowlarr) route through a Gluetun VPN container via network_mode: service:gluetun.

Note: This VM is distinct from Varda (192.168.1.131), which is a separate web server hosting ilmare.nbkelley.com.

VM Specs#

Detail Value
Hostname servarr
IP 192.168.1.112
OS Ubuntu 24.04.4 LTS (Noble)
Kernel 6.8.0-107-generic
CPU QEMU Virtual CPU, 4 vCPUs
RAM 7.8 GB
Disk 63 GB root (/dev/sda2 ext4, 38% used)
Hypervisor Proxmox (Minas Tirith)

Container Inventory#

Servarr Stack (/docker/servarr/compose.yaml)#

Network: servarrnetwork (172.39.0.0/24)