<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Systemd on homelab</title>
    <link>https://homelab.nbkelley.com/tags/systemd/</link>
    <description>Recent content in Systemd on homelab</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Fri, 01 May 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://homelab.nbkelley.com/tags/systemd/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Proxmox Systemd Mounts</title>
      <link>https://homelab.nbkelley.com/docs/infrastructure/proxmox-systemd-mounts/</link>
      <pubDate>Fri, 01 May 2026 00:00:00 +0000</pubDate>
      <guid>https://homelab.nbkelley.com/docs/infrastructure/proxmox-systemd-mounts/</guid>
      <description>&lt;h1 id=&#34;proxmox-systemd-mounts&#34;&gt;Proxmox Systemd Mounts&lt;a class=&#34;anchor&#34; href=&#34;#proxmox-systemd-mounts&#34;&gt;#&lt;/a&gt;&lt;/h1&gt;&#xA;&lt;h2 id=&#34;what-was-established&#34;&gt;What Was Established&lt;a class=&#34;anchor&#34; href=&#34;#what-was-established&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;SMB/CIFS shares can be integrated into Proxmox via CLI or the Web GUI.&lt;/li&gt;&#xA;&lt;li&gt;GUI integration is recommended for Proxmox-native features (backups, ISOs, templates) and automatic retention management.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;System-level mounts&lt;/strong&gt; (e.g., at &lt;code&gt;/media/synology&lt;/code&gt;) are distinct from Proxmox Storage and are used for general file operations accessible by the host OS.&lt;/li&gt;&#xA;&lt;li&gt;Proxmox automatically mounts SMB shares under &lt;code&gt;/mnt/pve/&amp;lt;storage_id&amp;gt;&lt;/code&gt; when configured via the GUI.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;key-decisions&#34;&gt;Key Decisions&lt;a class=&#34;anchor&#34; href=&#34;#key-decisions&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Maintain both a Proxmox Storage entry (for VM disks/backups) and a system-level mount (for general file access).&lt;/li&gt;&#xA;&lt;li&gt;Extract credentials from &lt;code&gt;/etc/pve/storage.cfg&lt;/code&gt; to avoid hardcoding passwords in multiple places.&lt;/li&gt;&#xA;&lt;li&gt;Use &lt;code&gt;pvesm status&lt;/code&gt; to verify existing storage mounts and avoid conflicts.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;current-configuration&#34;&gt;Current Configuration&lt;a class=&#34;anchor&#34; href=&#34;#current-configuration&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Synology NAS (LonelyMountain)&lt;/strong&gt;: &lt;code&gt;192.168.1.137&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Proxmox Storage&lt;/strong&gt;: Configured via Datacenter &amp;gt; Storage (SMB/CIFS) for VM-related content.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;System Mount&lt;/strong&gt;: Targeted at &lt;code&gt;/media/synology&lt;/code&gt; for general file operations.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;system-level-mount-methods&#34;&gt;System-Level Mount Methods&lt;a class=&#34;anchor&#34; href=&#34;#system-level-mount-methods&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;h3 id=&#34;1-extract-credentials--create-system-mount&#34;&gt;1. Extract Credentials &amp;amp; Create System Mount&lt;a class=&#34;anchor&#34; href=&#34;#1-extract-credentials--create-system-mount&#34;&gt;#&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Check existing Proxmox storage: &lt;code&gt;pvesm status&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Extract server/share info from &lt;code&gt;/etc/pve/storage.cfg&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Create credentials file:&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;nano /root/.smbcredentials&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# Add: username=your_username, password=your_password&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;chmod &lt;span style=&#34;color:#ae81ff&#34;&gt;600&lt;/span&gt; /root/.smbcredentials&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;&#xA;&lt;li&gt;Add to &lt;code&gt;/etc/fstab&lt;/code&gt;:&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;//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&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;Test: &lt;code&gt;mount -a&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h3 id=&#34;2-systemd-mount-unit-recommended-for-robustness&#34;&gt;2. Systemd Mount Unit (Recommended for robustness)&lt;a class=&#34;anchor&#34; href=&#34;#2-systemd-mount-unit-recommended-for-robustness&#34;&gt;#&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;p&gt;Create &lt;code&gt;/etc/systemd/system/media-synology.mount&lt;/code&gt;:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
