<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Nas on djismgaming&#39;s tech home</title>
    <link>https://djismgaming.github.io/tags/nas/</link>
    <description>Recent content in Nas on djismgaming&#39;s tech home</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Thu, 08 Feb 2024 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://djismgaming.github.io/tags/nas/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Mount an SMB share and use iGPU on an unprivileged Debian 12 LXC container in Proxmox</title>
      <link>https://djismgaming.github.io/blog/proxmox-unprivileged-lxc-smb-and-igpu/</link>
      <pubDate>Thu, 08 Feb 2024 00:00:00 +0000</pubDate>
      <guid>https://djismgaming.github.io/blog/proxmox-unprivileged-lxc-smb-and-igpu/</guid>
      <description>&lt;h2 id=&#34;pre-requisites&#34;&gt;Pre-requisites:&lt;/h2&gt;
&lt;p&gt;Create an unprivileged Debian 12 LXC container.&lt;/p&gt;
&lt;p&gt;Inside the LXC container, use the &lt;code&gt;root&lt;/code&gt; user to create a non-root user with your name. In the case of mine I wanted to add it to the &lt;code&gt;sudo&lt;/code&gt; and &lt;code&gt;docker&lt;/code&gt; groups after installing Docker inside the LXC container.&lt;/p&gt;
&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;-webkit-text-size-adjust:none;&#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;useradd -s /bin/bash -m -G sudo,docker ismael
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Change the user password to whatever you need.&lt;/p&gt;
&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;-webkit-text-size-adjust:none;&#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;su ismael
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;passwd
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This user&amp;rsquo;s default &lt;code&gt;UID:GID&lt;/code&gt; will be &lt;code&gt;1000:1000&lt;/code&gt;. If not, create it with:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Proxmox | automatically restore SMB/CIFS share connections</title>
      <link>https://djismgaming.github.io/blog/proxmox-automatically-restore-smb-cifs-share-connections/</link>
      <pubDate>Wed, 10 Jan 2024 00:00:00 +0000</pubDate>
      <guid>https://djismgaming.github.io/blog/proxmox-automatically-restore-smb-cifs-share-connections/</guid>
      <description>&lt;p&gt;If at some point Proxmox loses connectivity with an SMB/CIFS share, it will not restore the connection by itself until a restart of the Proxmox node is performed.&lt;/p&gt;
&lt;p&gt;With this tip, you&amp;rsquo;ll make the Proxmox node restore the connection automatically.&lt;/p&gt;
&lt;p&gt;In your node&amp;rsquo;s shell, create a bash script that looks for mount points in &lt;code&gt;/mnt/pve/&lt;/code&gt; and unmounts them if they become stale:&lt;/p&gt;
&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;-webkit-text-size-adjust:none;&#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 remount.sh
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Put this content into the file:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
