Master Plan: UNAS Pro SMB Usage Inventory#

This document outlines the proposed step-by-step strategy to perform a comprehensive audit and inventory of all workloads, computers, virtual machines, Docker stacks, and scripts utilizing SMB shares from the UNAS Pro (10.1.2.2) NAS.

Active Share Matrices#

Workstations & Computers#

Server / Machine Software ProxmoxBackups TimeMachine Paperless_consume Books Documents Downloads GoogleCloudSync Immich Musique Nadine Photos Films TVSeries Personal-Drive UNVR HomesDSM
MacBook Air X X X X X X X X X X X X X X X X X
MacBook Pro 15 X X X X X X X X X X X X X X X X X
MacBook Pro 16 X X X X X X X X X X X X X X X X X
iMac (MO) X X X X X X X X X X X X X X X X X

Mac Studio (10.1.2.4)#

Server / Machine / VM / Service Software ProxmoxBackups TimeMachine Paperless_consume Books Documents Downloads GoogleCloudSync Immich Musique Nadine Photos Films TVSeries Personal-Drive UNVR HomesDSM
Mac Studio (Host) X - X X X X X X X X X X X X - - -
    └─ open-webui - - - - - - - - - - - - - - - - -
    └─ portainer-agent - - - - - - - - - - - - - - - - -
    └─ cloudflared - - - - - - - - - - - - - - - - -
    └─ dockge - - - - - - - - - - - - - - - - -

MMProxmox (10.1.1.10)#

Server / Machine / VM / Service Software ProxmoxBackups TimeMachine Paperless_consume Books Documents Downloads GoogleCloudSync Immich Musique Nadine Photos Films TVSeries Personal-Drive UNVR HomesDSM
MMProxmox (Host) X - - - - - - - - - - - - - - - -
Pi-Hole (LXC 100) - - - - - - - - - - - - - - - - -
HomeAssistant (VM 200) - - - - - - - - - - - - - - - - -
MMDocker (VM 230) - OS Mounts X X - - X X X - X X X X X X - - -
    └─ Radarr - - - - - - X - - - - - - - - - -
    └─ Sonarr - - - - - - X - - - - - - - - - -
    └─ Lidarr - - - - - - X - - - - - - - - - -
    └─ qBittorrent - - - - - - X - - - - - - - - - -
    └─ Backup Sync - X - - - - - - - - - - - - - - -

HP1 Proxmox (10.1.1.11)#

Server / Machine / VM / Service Software ProxmoxBackups TimeMachine Paperless_consume Books Documents Downloads GoogleCloudSync Immich Musique Nadine Photos Films TVSeries Personal-Drive UNVR HomesDSM
HP1 Proxmox (Host) X - - - - - - - - - - - - - - - -
Pi-Hole-2 (LXC 101) - - - - - - - - - - - - - - - - -
VPSBackups (LXC 102) - - - - - - - - - - - - - - - - -
DatacenterManager (LXC 105) - - - - - - - - - - - - - - - - -
HP1TrueNAS (VM 201) - - - - - - - - - - - - - - - - -
HP1Docker (VM 202) - OS Mounts X - - X X X X - X X X X X X - - X
    └─ Backrest X - - - X X - - X X X X - - - - X
    └─ Paperless - - - X - - - - - - - - - - - - -
    └─ Paperless Sync (Cron) - - - - - X - - - - - - - - - - -
    └─ Hugo Publish (Cron) X - - - - - - - - - - - - - - - -
HP1BackupServer (VM 211) - OS Mounts X X - - - - - - - - - - - - - - -
    └─ PBS Daemon X X - - - - - - - - - - - - - - -
HP1Clouds (VM 217) - OS Mounts X - - X X X X - X X X X X X - - -
    └─ Nextcloud AIO X - - X X X X - X X X X X X - - -
    └─ Owncloud Server X - - X X X X - X X X X X X - - -
    └─ File Indexer (Cron) X - - X X X X - X X X X X X - - -
HP1SynologyDSM (VM 221) - - - - - - - - - - - - - - - - -
HP1GPU (VM 231) - OS Mounts X - - - X X X - X X X X X X - - -
    └─ Immich Server - - - - - - - - X - - X - - - - -
    └─ Emby - - - - - - X - - X - - X X - - -
    └─ Plex - - - - - - X - - X - X X X - - -
    └─ Navidrome - - - - - - - - - X - - - - - - -

Scripts & Automations#

Script / Automation Hook Software ProxmoxBackups TimeMachine Paperless_consume Books Documents Downloads GoogleCloudSync Immich Musique Nadine Photos Films TVSeries Personal-Drive UNVR HomesDSM
Git Hook: post-commit X - - - - - - - - - - - - - - - -
proxmox_backup.sh X - - - - - - - - - - - - - - - -
HP1_UNAS_Pull_Backup.sh X - - - X X X X X X X X - - - - X
HP2_UNAS_Pull_Backup.sh X - - - X X - - X X X X - - - - X
HP3_UNAS_Pull_Backup.sh - - - - - - - - - - - - X X - - -
HP7_UNAS_Pull_Backup.sh X - - - X X - X X X X X - - - - X
HP8_UNAS_Pull_Backup.sh X - - - X X - X X X X X X X - - X

Target Inventory Scope#

The inventory will discover and map every dependency on the UNAS Pro SMB shares across four distinct layers:

  1. Physical Computers & Workstations (Macs, laptops, workstations mounting shares).
  2. Proxmox Infrastructure (Hypervisors & VMs) (Direct hypervisor storage integrations, VM/LXC /etc/fstab CIFS mounts).
  3. Docker Stacks (Containers, volumes, and service configurations bind-mounting UNAS paths).
  4. Scripts & Automations (Git hooks, system crons, rsync tasks, and cron wrappers referencing these mounts).

Inventory Checklist#

1. Mac Studio (10.1.2.4) Analysis#

  • 1.1 Mac Studio Host Storage Check: Enumerate active /Volumes/ mounts, persistent login items, mount scripts (e.g., mount_smbfs), and local SMB optimization configurations.
    • Shares Mapped: 13 shares mounted at /Volumes/ (Films, TVSeries, Books, Documents, Downloads, GoogleCloudSync, Immich, Musique, Nadine, Paperless_consume, Photos, Software, TimeMachine).
  • 1.2 Docker Container Mount Check: Inspect running local containers (open-webui, portainer-agent, cloudflared, dockge) for bind mounts referencing the mounted SMB paths.
    • Status: Verified all running containers are completely independent of UNAS-Pro SMB storage.

2. MMProxmox (10.1.1.10) Analysis#

  • 2.1 MMProxmox Host Storage Check: Inspect /etc/pve/storage.cfg and host /etc/fstab on the hypervisor to check for direct UNAS Pro SMB mappings.
    • Shares Mapped: Software (mounted at /mnt/pve/Software via /etc/pve/storage.cfg CIFS pool).
    • Purpose: Storing VM/LXC backup files, OS installer ISOs, and container templates.
  • 2.2 Pi-Hole (LXC 100) Bind Mount Check: Read LXC configuration (/etc/pve/lxc/100.conf) on the host to check for active bind-mounted SMB folders.
    • Status: Confirmed completely independent of UNAS-Pro SMB storage.
  • 2.3 HomeAssistant (VM 200) Storage Audit: Check the Home Assistant VM OS mounts and core storage files for active mapped shares.
    • Status: Confirmed completely independent of UNAS-Pro SMB storage.
  • 2.4 MMDocker (VM 230) Mount & Stack Scan: Read VM fstab/mounts and inspect Docker container volumes (docker inspect / docker-compose bind-mounts) for UNAS Pro SMB usage.
    • Shares Mapped: 11 total via /etc/fstab (Software, ProxmoxBackups, Books, Documents, Downloads, Immich, Musique, Nadine, Photos, Films, TVSeries).
    • Docker Container Usage:
      • Share: Downloads (mounted at /mnt/Downloads) is actively consumed by:
        • Radarr: Media ingestion container.
        • Sonarr: Media ingestion container.
        • Lidarr: Music ingestion container.
        • qBittorrent: Default downloads directory.
    • Scripts & Automations:
      • Share: ProxmoxBackups (mounted at /mnt/ProxmoxBackups) is actively consumed by:
        • rclone Sync Script: /home/marc/scripts/priority_backups_rclone_gdrive_sync.sh running daily at 23:00 to upload backups to GDrive.
    • Dormant/Unused fstab Mounts:
      • Shares: Software, Books, Documents, Immich, Musique, Nadine, Photos, Films, TVSeries are persistently mounted at /mnt/ but have no active mappings to running Docker containers or local scripts.

3. HP1 Proxmox (10.1.1.11) Analysis#

  • 3.1 HP1 Proxmox Host Storage Check: Inspect /etc/pve/storage.cfg and host /etc/fstab on the hypervisor to check for direct UNAS Pro SMB mappings.
    • Shares Mapped: Software (mounted at /mnt/pve/Software via /etc/pve/storage.cfg CIFS pool).
    • Purpose: Storing VM/LXC backup files, OS installer ISOs, and container templates.
  • 3.2 LXC Bind Mount Check: Read LXC configurations (/etc/pve/lxc/{101,102,105}.conf) on the host to check for active bind-mounted SMB folders.
    • Status: Confirmed Pi-Hole-2 (LXC 101), VPSBackups (LXC 102), and DatacenterManager (LXC 105) are completely independent of UNAS-Pro SMB storage.
  • 3.3 HP1TrueNAS (VM 201) Storage Audit: Audit active mounts or configuration on HP1TrueNAS.
    • Status: Confirmed no SMB/CIFS mounts mapped (serves as destination for Git rsync pull script).
  • 3.4 HP1Docker (VM 202) Mount & Stack Scan: Read VM fstab/mounts and inspect Docker container volumes (docker inspect / docker-compose bind-mounts) and crons.
    • Shares Mapped: 12 total via /etc/fstab (Films, TVSeries, Books, Documents, Immich, Musique, Nadine, Photos, Software, Downloads, HomesDSM, Paperless_consume).
    • Docker Container Usage:
      • Share: Paperless_consume (mounted at /mnt/paperless/consume) is actively consumed by:
        • Paperless: Documents ingest directory.
      • Shares: Books, Software, Documents, HomesDSM, Immich, Musique, Nadine, Photos are actively consumed by:
        • Backrest: Restic wrapper backing up source shares to Google Drive daily.
    • Scripts & Automations:
      • Share: Documents is consumed hourly by /home/marc/docker-compose/paperless/scripts/paperless-sync.sh (rsyncing paperless media to Documents/Paperless/).
      • Share: Software is consumed daily by /mnt/Software/Software/Scripts/Linux/publish-hugo-{homelab,gendash}.sh (Git mirroring / website push scripts).
  • 3.5 HP1BackupServer (VM 211) Storage Check: Audit active mounts on Proxmox Backup Server.
    • Shares Mapped: Software (mounted at /mnt/Software), ProxmoxBackups (mounted at /Backups-Priority).
    • Active Consumers: PBS Daemon (storing deduplicated VM/LXC backup chunks on ProxmoxBackups).
  • 3.6 HP1Clouds (VM 217) Mount & Stack Scan: Read VM fstab/mounts and inspect Docker container volumes and crons.
    • Shares Mapped: 11 total via /etc/fstab (Films, TVSeries, Books, Documents, Musique, Nadine, Photos, Software, Downloads, Paperless_consume, Immich [read-only]).
    • Docker Container Usage:
      • All 11 Shares are passed to the Nextcloud AIO master environment:
        • Nextcloud AIO Nextcloud: Mounts /mnt directly to serve external directories.
        • Owncloud Server: Mounts all 11 shares directly to expose external directories.
    • Scripts & Automations:
      • All Shares indexed hourly by /home/marc/docker-compose/nextcloud-aio/scripts/file_indexer.sh.
  • 3.7 HP1SynologyDSM (VM 221) Storage Check: Audit storage definitions on Synology DSM VM.
    • Status: Confirmed no SMB/CIFS mounts mapped (serves as destination / independent target).
  • 3.8 HP1GPU (VM 231) Mount & Stack Scan: Read VM fstab/mounts and inspect Docker container volumes.
    • Shares Mapped: 10 total via /etc/fstab (Films, TVSeries, Books, Documents, Immich, Musique, Nadine, Photos, Software, Downloads).
    • Docker Container Usage:
      • Share: Immich (mounted at /mnt/Immich/Immich-Uploads) and Photos (mounted at /mnt/Photos) are consumed by:
        • Immich Server: Photo cataloging/backup server.
      • Share: Musique is consumed by:
        • Navidrome: Music streaming server.
      • Shares: Downloads, Films, Musique, TVSeries are consumed by:
        • Emby: Media streaming server.
      • Shares: Films, Musique, Photos, Downloads, TVSeries are consumed by:
        • Plex: Media streaming server.
      • Shares: Musique is consumed by:
        • Navidrome: Music streaming server.

7. Scripts & Automations#

  • 7.1 Scripts Repository Scan: Perform regex searches in the scripts folder (/Users/marc/Scripts) for references to UNAS, 10.1.2.2, /Volumes/, cifs, or smb.
    • Findings: Located multiple operational scripts with direct dependencies on UNAS Pro shares:
      • Git Post-Commit Hook (/Users/marc/Scripts/.git/hooks/post-commit): Auto-mirrors committed files from /Users/marc/Scripts/ to /Volumes/Software/Software/Scripts/ (the Software share) if mounted.
      • Proxmox Node Backup Script (/Users/marc/Scripts/Proxmox/proxmox_backup.sh): Runs on Proxmox hosts to package system database configs and store them at /mnt/pve/Software/PVEBackups/ (the Software share).
      • TrueNAS Pull Backup Scripts (/Users/marc/Scripts/TrueNAS/HP{1,2,3,7,8}_UNAS_Pull_Backup.sh): Run on respective TrueNAS backup hosts via cron. They pull the 10 core data modules (Books, Photos, Nadine, Immich, Musique, Software, HomesDSM, Documents, Downloads, GoogleCloudSync) from the UNAS-Pro Rsync daemon over SSH.
  • 7.2 Canary and Safety Verification Review: Identify sync scripts utilizing mountpoint checking (mountpoint -q) or safety canary files (like .paperless-canary) to protect target directories.
  • 7.3 Scheduled Jobs and Cron Audit: Enumerate and audit system and user crontabs across Mac Studio and active Linux hosts for scheduled SMB sync operations.