<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:media="http://search.yahoo.com/mrss/"><channel><title><![CDATA[NAS - KenBinLab - Homelab and Life's Journey]]></title><description><![CDATA[Thoughts, stories and shares about homelab, tech, and life's journey]]></description><link>https://kenbinlab.com/</link><image><url>https://kenbinlab.com/favicon.png</url><title>NAS - KenBinLab - Homelab and Life&apos;s Journey</title><link>https://kenbinlab.com/</link></image><generator>Ghost 5.85</generator><lastBuildDate>Wed, 23 Sep 2026 02:49:09 GMT</lastBuildDate><atom:link href="https://kenbinlab.com/tag/nas/rss/" rel="self" type="application/rss+xml"/><ttl>60</ttl><item><title><![CDATA[Using a USB Flash Drive as an OS Drive for OpenMediaVault: Considerations and Recommendations]]></title><description><![CDATA[Practical tips for setting up and maintaining a USB flash drive as an operating system (OS) drive for OpenMediaVault.]]></description><link>https://kenbinlab.com/usb-as-os-drive-for-openmediavault/</link><guid isPermaLink="false">6aa4d00040a9e200012c5cbc</guid><category><![CDATA[NAS]]></category><dc:creator><![CDATA[Ken]]></dc:creator><pubDate>Tue, 08 Oct 2024 03:24:34 GMT</pubDate><media:content url="https://images.unsplash.com/photo-1477949331575-2763034b5fb5?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=M3wxMTc3M3wwfDF8c2VhcmNofDh8fHVzYiUyMHxlbnwwfHx8fDE3MjgzNTc2OTl8MA&amp;ixlib=rb-4.0.3&amp;q=80&amp;w=2000" medium="image"/><content:encoded><![CDATA[<img src="https://images.unsplash.com/photo-1477949331575-2763034b5fb5?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=M3wxMTc3M3wwfDF8c2VhcmNofDh8fHVzYiUyMHxlbnwwfHx8fDE3MjgzNTc2OTl8MA&amp;ixlib=rb-4.0.3&amp;q=80&amp;w=2000" alt="Using a USB Flash Drive as an OS Drive for OpenMediaVault: Considerations and Recommendations"><p>Installing OpenMediaVault (OMV) on a USB flash drive might seem unconventional at first, but it&apos;s a practice that&apos;s not only possible but also offers several advantages, especially for home server setups. Many professional-level servers boot from USB drives, and OMV is no exception. This article explores the key considerations, recommendations, and practical tips for setting up and maintaining a USB flash drive as an operating system (OS) drive for OpenMediaVault, covering important aspects like plugins, storage size, performance, and backup strategies.</p><h3 id="1-choosing-the-right-usb-drive">1. <strong>Choosing the Right USB Drive</strong></h3><p>When using a USB flash drive for OMV, selecting the right drive is crucial for long-term stability and performance. Here are the main factors to consider:</p><h4 id="storage-size"><strong>Storage Size</strong></h4><p>While it&#x2019;s technically possible to install OMV on an 8GB flash drive, this is not recommended. Although some users might try it, the limited space can quickly lead to problems, such as running out of storage for system updates or configurations. Users in forums often report issues when using 8GB flash drives for OMV installations, with many recommending a minimum of 16GB to avoid these problems. Ideally, a 32GB flash drive is a safe bet, providing ample room for the system and future updates without causing space constraints. Some experienced users even suggest going as large as 64GB, though this might be overkill unless you plan to run a large number of services directly from the USB drive.</p><h4 id="usb-version"><strong>USB Version</strong></h4><p>The speed of your USB drive has a direct impact on the performance of OMV. Using USB 2.0 can result in sluggish performance, particularly when it comes to system responsiveness and boot times. For optimal performance, you should use at least USB 3.0 or higher. USB 3.0 offers significantly faster read and write speeds compared to USB 2.0, which is critical when the operating system is being loaded and run directly from the drive. If you have access to USB 3.2, even better&#x2014;though in most setups, USB 3.0 is more than sufficient.</p><h3 id="2-essential-plugins-flash-memory-plugin">2. <strong>Essential Plugins: Flash Memory Plugin</strong></h3><p>One of the key concerns when using a USB flash drive as the OS drive is the potential for excessive wear due to constant read/write operations. Flash drives have a limited number of write cycles, and frequent writes can degrade the drive over time, shortening its lifespan. To mitigate this risk, it is highly recommended to install the <strong>openmediavault-flashmemory plugin</strong>.</p><p>This plugin optimizes how data is written to the flash drive, minimizing wear by shifting frequently written data to RAM, thereby reducing the number of writes to the USB drive. This can significantly extend the lifespan of the flash drive while maintaining system performance. Without this plugin, you run the risk of prematurely wearing out the USB drive, which could lead to data loss or the need for a costly replacement.</p><h3 id="3-performance-considerations">3. <strong>Performance Considerations</strong></h3><p>Running OpenMediaVault from a USB drive, particularly with the right hardware, does not significantly impact system speed, as much of the data is handled in RAM. However, the performance of USB storage drives&#x2014;especially older models&#x2014;can vary widely. USB 3.0 or higher versions, as mentioned earlier, are essential for smooth operation. Many users report that their OMV setups, even when running from a USB flash drive, perform comparably to setups running on SSDs.</p><p>Moreover, if you plan to run <strong>Docker containers</strong> on OMV, it&#x2019;s wise to use the USB flash drive for the OS while storing Docker data on a faster SSD or NVMe drive. This setup helps separate system operations from resource-intensive storage tasks, ensuring better overall performance.</p><h3 id="4-setting-up-omv-on-a-usb-drive">4. <strong>Setting Up OMV on a USB Drive</strong></h3><p>Setting up OMV on a USB flash drive is relatively straightforward. Once you have your USB drive (preferably 16GB or larger) and the necessary plugins installed, you can proceed with the installation. Here&#x2019;s a general outline of the process:</p><ul><li><strong>Install OMV on the USB drive</strong>: You can use tools like <strong>Raspberry Pi Imager</strong> or <strong>Etcher</strong> to create a bootable OMV image on your USB drive.</li><li><strong>Configure the system</strong>: Once OMV is installed, boot from the USB and begin configuring your system.</li><li><strong>Install the flashmemory plugin</strong>: After setting up OMV, make sure to install the <strong>flashmemory</strong> plugin immediately to prevent unnecessary writes to the USB drive. This will optimize performance and prolong the life of your drive.</li><li><strong>Transfer OMV Configuration</strong>: If you have an existing OMV installation, you can use the <code>omv-regen</code> tool to move your configuration to the new USB setup, making migration simple and hassle-free.</li></ul><h3 id="5-backup-and-maintenance">5. <strong>Backup and Maintenance</strong></h3><p>One of the biggest advantages of using a USB flash drive for OMV is ease of backup and restoration. Since the entire OS is contained on a single USB drive, it&#x2019;s incredibly easy to back up or clone. A tool like <strong>usbimager</strong> can be used to create an exact image of the drive, allowing for quick restoration in the event of a failure.</p><h4 id="backup-tips"><strong>Backup Tips</strong>:</h4><ul><li><strong>Regular Backups</strong>: Periodically create an image of your USB drive to ensure you can quickly restore OMV to its previous state if necessary. It&#x2019;s also a good idea to store backups in multiple locations (e.g., an external hard drive or cloud storage) for added security.</li><li><strong>Monitoring Drive Health</strong>: Keep an eye on the health of your USB flash drive. Some utilities can monitor the wear level of flash storage and alert you when the drive is nearing its limits.</li></ul><h3 id="6-practical-considerations-for-long-term-use">6. <strong>Practical Considerations for Long-Term Use</strong></h3><p>Using a USB drive for OMV is a practical solution for home servers or small-scale deployments, but it&#x2019;s important to keep in mind a few long-term considerations:</p><ul><li><strong>Physical Placement</strong>: If your server case has limited USB ports, ensure the flash drive is securely fastened to avoid accidental disconnection. Some users recommend using adapters or zip ties to ensure the drive stays in place.</li><li><strong>Keep It Cool</strong>: USB drives can heat up, especially when under load. Ensure your case has adequate ventilation, or consider using a USB extension cable to place the drive in a cooler spot.</li></ul><h3 id="conclusion">Conclusion</h3><p>Using a USB flash drive as an OS drive for OpenMediaVault can offer excellent performance and convenience when set up properly. By choosing the right drive size, ensuring you&#x2019;re using a USB 3.0 or higher, installing the flashmemory plugin, and maintaining regular backups, you can enjoy a stable and efficient system without the need for expensive SSDs or NVMe drives. This setup is ideal for users seeking an affordable, easily maintained, and flexible storage solution for their OMV-based home server.</p>]]></content:encoded></item><item><title><![CDATA[How to install Komga in OpenMediaVault Using Docker Compose]]></title><description><![CDATA[This article provides a concise guide on how to install Komga in OpenMediaVault (OMV) using Docker Compose.]]></description><link>https://kenbinlab.com/how-to-install-komga-in-openmediavault/</link><guid isPermaLink="false">6aa4d00040a9e200012c5cbb</guid><category><![CDATA[Homelab]]></category><category><![CDATA[NAS]]></category><category><![CDATA[Docker]]></category><dc:creator><![CDATA[Ken]]></dc:creator><pubDate>Wed, 18 Sep 2024 12:13:46 GMT</pubDate><media:content url="https://kenbinlab.com/content/images/2024/09/komga.JPG" medium="image"/><content:encoded><![CDATA[<img src="https://kenbinlab.com/content/images/2024/09/komga.JPG" alt="How to install Komga in OpenMediaVault Using Docker Compose"><p><a href="https://komga.org/?ref=kenbinlab.com" rel="noreferrer">Komga</a> is a free and open-source media server for your comics, manga, magazines, and books. It supports comic book archives such as&#xA0;<em>CBZ</em>&#xA0;and&#xA0;<em>CBR</em>&#xA0;(except solid archives, for RAR5 see below); eBooks in&#xA0;<em>EPUB</em>&#xA0;format; and <em>PDF</em>&#xA0;files.</p><p>This article provides a concise guide on how to install Komga in OpenMediaVault (OMV) using <a href="https://kenbinlab.com/how-to-install-docker-and-docker-compose/" rel="noreferrer">Docker Compose</a>.</p><h3 id="prerequisites">Prerequisites</h3><ul><li><a href="https://kenbinlab.com/install-openmediavault-on-proxmox-and-enable-smb-share/" rel="noreferrer">OpenMediaVault installed</a> and running</li><li>Docker and Docker Compose installed on OMV</li><li>Basic knowledge of using the OMV web interface</li></ul><h3 id="step-by-step-guide">Step-by-Step Guide</h3><h4 id="1-create-necessary-folders">1. Create Necessary Folders</h4><ol><li>Go to <strong>Storage</strong> &gt; <strong>Shared Folders</strong>.</li><li>Create another folder named <code>komga</code> for Komga&#x2019;s configuration and data.</li></ol><h4 id="2-create-docker-compose-file">2. Create Docker Compose File</h4><p>Navigate to <strong>Services</strong> &gt; <strong>Compose</strong> &gt; <strong>Files</strong> and add the following content to the file:</p><pre><code class="language-yaml">version: &apos;3.3&apos;
services:
  komga:
    image: gotson/komga
    container_name: komga
    volumes:
      - /path/to/komga/config:/config
      - /path/to/komga/data:/data
    ports:
      - 25600:25600
    restart: unless-stopped
</code></pre><p>Remeber to replace <code>/path/to/komga/config</code> and <code>/path/to/komga/data</code> with the actual paths to your <code>komga</code> folder.</p><p>In my case, because I have already add global environment file for OpenMediaVault docker, so my compose file is simple as the picture below:</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://kenbinlab.com/content/images/2024/09/image-1.png" class="kg-image" alt="How to install Komga in OpenMediaVault Using Docker Compose" loading="lazy" width="1886" height="855" srcset="https://kenbinlab.com/content/images/size/w600/2024/09/image-1.png 600w, https://kenbinlab.com/content/images/size/w1000/2024/09/image-1.png 1000w, https://kenbinlab.com/content/images/size/w1600/2024/09/image-1.png 1600w, https://kenbinlab.com/content/images/2024/09/image-1.png 1886w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">My compose file for Komga in OpenMediaVault</span></figcaption></figure><p>After carefully finish editing all the parameters, <strong>Save</strong> the compose file and <em>click</em> <strong>Up</strong> button to deploy Komga container.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://kenbinlab.com/content/images/2024/09/image.png" class="kg-image" alt="How to install Komga in OpenMediaVault Using Docker Compose" loading="lazy" width="1864" height="752" srcset="https://kenbinlab.com/content/images/size/w600/2024/09/image.png 600w, https://kenbinlab.com/content/images/size/w1000/2024/09/image.png 1000w, https://kenbinlab.com/content/images/size/w1600/2024/09/image.png 1600w, https://kenbinlab.com/content/images/2024/09/image.png 1864w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Deloy the Komga container in OpenMediaVault</span></figcaption></figure><h4 id="3-initial-login-and-setup">3. Initial login and setup</h4><p>Open your web browser and starting to use Komga. At this time, Komga should now be running and accessible at <code>http://&lt;your-OMV-IP&gt;:25600</code>.</p><p>At the first step, Komga will ask you to <strong>create a user account</strong>. Choose an <strong>email</strong> and <strong>password</strong>, then click on <strong>Create User Account</strong> and start using Komga.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://kenbinlab.com/content/images/2024/09/image-2.png" class="kg-image" alt="How to install Komga in OpenMediaVault Using Docker Compose" loading="lazy" width="1901" height="896" srcset="https://kenbinlab.com/content/images/size/w600/2024/09/image-2.png 600w, https://kenbinlab.com/content/images/size/w1000/2024/09/image-2.png 1000w, https://kenbinlab.com/content/images/size/w1600/2024/09/image-2.png 1600w, https://kenbinlab.com/content/images/2024/09/image-2.png 1901w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Komga overview</span></figcaption></figure><h3 id="conclusion">Conclusion</h3><p>You have successfully installed Komga on OpenMediaVault using Docker Compose. You can now start adding your comics, manga, and books to Komga and enjoy your media library.</p>]]></content:encoded></item><item><title><![CDATA[Installing qBittorrent on openmediavault Using Docker Compose]]></title><description><![CDATA[This article goes through step-by-step to install qBittorrent on OpenMediaVault using Docker Compose, as well as some initial setting for it.]]></description><link>https://kenbinlab.com/installing-qbittorrent-on-openmediavault-using-docker-compose/</link><guid isPermaLink="false">6aa4d00040a9e200012c5cba</guid><category><![CDATA[Homelab]]></category><category><![CDATA[NAS]]></category><category><![CDATA[Docker]]></category><dc:creator><![CDATA[Ken]]></dc:creator><pubDate>Sun, 15 Sep 2024 15:44:17 GMT</pubDate><media:content url="https://kenbinlab.com/content/images/2024/08/qb_banner.webp" medium="image"/><content:encoded><![CDATA[<img src="https://kenbinlab.com/content/images/2024/08/qb_banner.webp" alt="Installing qBittorrent on openmediavault Using Docker Compose"><p><a href="https://www.qbittorrent.org/?ref=kenbinlab.com" rel="noreferrer">qBittorrent</a> is a popular, open-source BitTorrent client that offers a clean interface and a wide range of features. It is designed to be a lightweight alternative to other BitTorrent clients while providing the same level of functionality. With qBittorrent, users can manage their torrent downloads efficiently, thanks to features like an integrated search engine, RSS feed support, and remote control via a web user interface. In this blog post, we will go through step-by-step to install qBittorrent on <a href="https://kenbinlab.com/install-openmediavault-on-proxmox-and-enable-smb-share/" rel="noreferrer">OpenMediaVault</a> using Docker Compose, as well as some initial setting for it.</p><h4 id="step-by-step-guide-to-install-qbittorrent-on-openmediavault-using-docker-compose">Step-by-Step Guide to Install qBittorrent on openmediavault Using Docker Compose</h4><p><strong>Prerequisites:</strong></p><ul><li><a href="https://kenbinlab.com/installing-omv-extras-on-openmediavault-a-comprehensive-guide/" rel="noreferrer">openmediavault installed</a> and running</li><li>OpenMediaVault Extras installed. You can find the <a href="https://kenbinlab.com/installing-omv-extras-on-openmediavault-a-comprehensive-guide/" rel="noreferrer">full guide to install omv-extras here</a>.</li></ul><p><strong>Step 1: Prepare Your Environment</strong></p><ol><li><strong>Log in to openmediavault</strong>: Access your openmediavault web interface.</li><li><strong>Enable Docker Repo</strong>: Navigate to&#xA0;<code>System</code>&#xA0;&gt;&#xA0;<code>omv-extras</code>&#xA0;and enable the Docker repository. Click&#xA0;<code>Save</code>&#xA0;and then&#xA0;<code>Apply</code>.</li><li><strong>Install Docker and Docker Compose</strong>: Go to&#xA0;<code>System</code>&#xA0;&gt;&#xA0;<code>Plugins</code>, search for&#xA0;<code>docker</code>&#xA0;and&#xA0;<code>openmediavault-compose</code>, and install both plugins.</li></ol><p><strong>Step 2: Create a Docker Compose File</strong></p><p>Go to Services -&gt; Compose -&gt; Files, then click New to create new docker-compose.yaml file for qBittorrent.</p><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/08/image-33.png" class="kg-image" alt="Installing qBittorrent on openmediavault Using Docker Compose" loading="lazy" width="1891" height="847" srcset="https://kenbinlab.com/content/images/size/w600/2024/08/image-33.png 600w, https://kenbinlab.com/content/images/size/w1000/2024/08/image-33.png 1000w, https://kenbinlab.com/content/images/size/w1600/2024/08/image-33.png 1600w, https://kenbinlab.com/content/images/2024/08/image-33.png 1891w" sizes="(min-width: 720px) 720px"></figure><p>For me, I use the docker-compose content from linuxserver: <a href="https://hub.docker.com/r/linuxserver/qbittorrent?ref=kenbinlab.com">https://hub.docker.com/r/linuxserver/qbittorrent</a></p><pre><code class="language-docker-compose.yaml">---
services:
  qbittorrent:
    image: lscr.io/linuxserver/qbittorrent:latest
    container_name: qbittorrent
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
      - WEBUI_PORT=8080
      - TORRENTING_PORT=6881
    volumes:
      - /path/to/qbittorrent/appdata:/config
      - /path/to/downloads:/downloads #optional
    ports:
      - 8080:8080
      - 6881:6881
      - 6881:6881/udp
    restart: unless-stopped
</code></pre><p>Paste the above content to Remember to change the parameters according to your system. Then click Save.</p><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/08/image-34.png" class="kg-image" alt="Installing qBittorrent on openmediavault Using Docker Compose" loading="lazy" width="1891" height="847" srcset="https://kenbinlab.com/content/images/size/w600/2024/08/image-34.png 600w, https://kenbinlab.com/content/images/size/w1000/2024/08/image-34.png 1000w, https://kenbinlab.com/content/images/size/w1600/2024/08/image-34.png 1600w, https://kenbinlab.com/content/images/2024/08/image-34.png 1891w" sizes="(min-width: 720px) 720px"></figure><p><strong>Step 3: Deploy the qBittorrent Container</strong></p><p>Click &quot;Up&quot; button to pull the docker image and deploy the container. Wait for it&apos;s status change to &quot;Up&quot;.</p><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/08/image-35.png" class="kg-image" alt="Installing qBittorrent on openmediavault Using Docker Compose" loading="lazy" width="1891" height="847" srcset="https://kenbinlab.com/content/images/size/w600/2024/08/image-35.png 600w, https://kenbinlab.com/content/images/size/w1000/2024/08/image-35.png 1000w, https://kenbinlab.com/content/images/size/w1600/2024/08/image-35.png 1600w, https://kenbinlab.com/content/images/2024/08/image-35.png 1891w" sizes="(min-width: 720px) 720px"></figure><p><strong>Step 4: Access the qBittorrent Web Interface</strong></p><ol><li><strong>Open Your Browser</strong>: Navigate to&#xA0;<code>http://&lt;your-server-ip&gt;:8080</code>&#xA0;to access the qBittorrent web interface.</li><li><strong>Login</strong>: The default username is&#xA0;<code>admin</code>&#xA0;and the default password is automatically generated. You can get the password by SSH into OpenMediaVault and run the following command to read to qBittorrent container log and get the password there.</li></ol><pre><code class="language-bash">docker logs qbittorrent</code></pre><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/08/image-36.png" class="kg-image" alt="Installing qBittorrent on openmediavault Using Docker Compose" loading="lazy" width="983" height="939" srcset="https://kenbinlab.com/content/images/size/w600/2024/08/image-36.png 600w, https://kenbinlab.com/content/images/2024/08/image-36.png 983w" sizes="(min-width: 720px) 720px"></figure><p>Make sure to change these credentials after your first login for security reasons.</p><h4 id="recommended-first-time-settings-for-qbittorrent">Recommended First-Time Settings for qBittorrent</h4><p><strong>Change Default Credentials</strong>: Go to&#xA0;<code>Options</code>&#xA0;&gt;&#xA0;<code>Web UI</code>&#xA0;and change the default username and password.</p><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/08/image-38.png" class="kg-image" alt="Installing qBittorrent on openmediavault Using Docker Compose" loading="lazy" width="1891" height="893" srcset="https://kenbinlab.com/content/images/size/w600/2024/08/image-38.png 600w, https://kenbinlab.com/content/images/size/w1000/2024/08/image-38.png 1000w, https://kenbinlab.com/content/images/size/w1600/2024/08/image-38.png 1600w, https://kenbinlab.com/content/images/2024/08/image-38.png 1891w" sizes="(min-width: 720px) 720px"></figure><p><strong>Set Download Locations</strong>: Configure your download locations under&#xA0;<code>Downloads</code>&#xA0;to ensure your files are saved in the correct directories. For me I also config other settings as below:</p><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/08/image-39.png" class="kg-image" alt="Installing qBittorrent on openmediavault Using Docker Compose" loading="lazy" width="872" height="843" srcset="https://kenbinlab.com/content/images/size/w600/2024/08/image-39.png 600w, https://kenbinlab.com/content/images/2024/08/image-39.png 872w" sizes="(min-width: 720px) 720px"></figure><p><strong>Config OpenTracker</strong>: udp://tracker.opentrackr.org:1337/announce</p><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/08/image-40.png" class="kg-image" alt="Installing qBittorrent on openmediavault Using Docker Compose" loading="lazy" width="873" height="841" srcset="https://kenbinlab.com/content/images/size/w600/2024/08/image-40.png 600w, https://kenbinlab.com/content/images/2024/08/image-40.png 873w" sizes="(min-width: 720px) 720px"></figure><p><strong>Configure Bandwidth Limits</strong>: Set appropriate upload and download speed limits under&#xA0;<code>Speed</code>&#xA0;to manage your network usage.</p><p><strong>Enable IP Filtering</strong>: For added security, enable IP filtering under&#xA0;<code>Connection</code>.</p><p>By following these steps, you should have a fully functional qBittorrent setup on your openmediavault server using Docker Compose. Enjoy your efficient and powerful torrent management system!</p>]]></content:encoded></item><item><title><![CDATA[How to Install Docker, Docker Compose, and Portainer on OpenMediaVault Using OMV-Extras]]></title><description><![CDATA[This guide will walk you through the steps to get Docker, Docker Compose, and Portainer set up on OpenMediaVault]]></description><link>https://kenbinlab.com/install-docker-portainer-on-omv/</link><guid isPermaLink="false">6aa4d00040a9e200012c5cb4</guid><category><![CDATA[Homelab]]></category><category><![CDATA[NAS]]></category><category><![CDATA[Docker]]></category><dc:creator><![CDATA[Ken]]></dc:creator><pubDate>Thu, 12 Sep 2024 06:44:55 GMT</pubDate><content:encoded><![CDATA[<p>OpenMediaVault (OMV) is a powerful and flexible NAS (Network Attached Storage) solution based on Debian Linux. By leveraging OMV-Extras, you can easily install Docker, Docker Compose, and Portainer to manage your containers efficiently. This guide will walk you through the steps to get everything set up.</p><h4 id="prerequisites">Prerequisites</h4><ul><li>A running instance of OpenMediaVault (preferably version 6 or later).</li><li>Basic knowledge of SSH and command-line operations.</li><li>Internet access to download necessary packages.</li></ul><h4 id="step-1-install-omv-extras">Step 1: Install OMV-Extras</h4><p>OMV-Extras is a plugin that extends the functionality of OpenMediaVault by adding additional repositories and plugins.</p><p><strong>SSH into your OMV server</strong>: Open a terminal and connect to your OMV server using SSH.</p><pre><code class="language-bash">ssh your-username@your-omv-ip
</code></pre><p><strong>Install OMV-Extras</strong>: Run the following commands to download and install OMV-Extras.</p><pre><code class="language-bash">wget -O - https://github.com/OpenMediaVault-Plugin-Developers/packages/raw/master/install | bash
</code></pre><h4 id="step-3-enable-docker-repository">Step 3: Enable Docker Repository</h4><ol><li><strong>Access OMV Web Interface</strong>: Open your web browser and navigate to the OMV web interface (usually <code>http://your-omv-ip</code>).</li><li><strong>Enable Docker Repo</strong>: Go to <code>System</code> &gt; <code>OMV-Extras</code> and enable the Docker repository. Click <code>Save</code> and then <code>Apply</code>.</li></ol><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/08/image-10.png" class="kg-image" alt loading="lazy" width="1908" height="859" srcset="https://kenbinlab.com/content/images/size/w600/2024/08/image-10.png 600w, https://kenbinlab.com/content/images/size/w1000/2024/08/image-10.png 1000w, https://kenbinlab.com/content/images/size/w1600/2024/08/image-10.png 1600w, https://kenbinlab.com/content/images/2024/08/image-10.png 1908w" sizes="(min-width: 720px) 720px"></figure><h4 id="step-3-install-docker-compose">Step 3: Install Docker Compose</h4><p><strong>Docker Compose</strong> is now part of the <code>openmediavault-compose</code> plugin. Search for <code>openmediavault-compose</code> in the plugins section, select it and click on <strong>Install </strong>button, <strong>check </strong>the <em>Confirm box</em> and click <strong>Yes</strong> to install it.</p><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/08/image-11.png" class="kg-image" alt loading="lazy" width="1881" height="847" srcset="https://kenbinlab.com/content/images/size/w600/2024/08/image-11.png 600w, https://kenbinlab.com/content/images/size/w1000/2024/08/image-11.png 1000w, https://kenbinlab.com/content/images/size/w1600/2024/08/image-11.png 1600w, https://kenbinlab.com/content/images/2024/08/image-11.png 1881w" sizes="(min-width: 720px) 720px"></figure><p>Wait for the OpenMediaVault Compose plugin installation complete, then press Close.</p><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/08/image-12.png" class="kg-image" alt loading="lazy" width="1422" height="537" srcset="https://kenbinlab.com/content/images/size/w600/2024/08/image-12.png 600w, https://kenbinlab.com/content/images/size/w1000/2024/08/image-12.png 1000w, https://kenbinlab.com/content/images/2024/08/image-12.png 1422w" sizes="(min-width: 720px) 720px"></figure><p>Now the Compose section should appear under Plugin menu:</p><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/08/image-13.png" class="kg-image" alt loading="lazy" width="1893" height="867" srcset="https://kenbinlab.com/content/images/size/w600/2024/08/image-13.png 600w, https://kenbinlab.com/content/images/size/w1000/2024/08/image-13.png 1000w, https://kenbinlab.com/content/images/size/w1600/2024/08/image-13.png 1600w, https://kenbinlab.com/content/images/2024/08/image-13.png 1893w" sizes="(min-width: 720px) 720px"></figure><h4 id="step-4-create-user-for-docker">Step 4: Create user for docker</h4><p>Go to <code>Users -&gt; Users</code> &gt; <code>Create User</code> to create a new user call <code>appuser</code>. For the <strong>Shell </strong>scetion, we don&apos;t need this account using terminal so choose <code>usr/sbin/nologin</code>. For <strong>Groups</strong>, choose <code>users</code>. Then click <strong>Save</strong>, and <strong>Apply</strong>.</p><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/08/image-14.png" class="kg-image" alt loading="lazy" width="861" height="851" srcset="https://kenbinlab.com/content/images/size/w600/2024/08/image-14.png 600w, https://kenbinlab.com/content/images/2024/08/image-14.png 861w" sizes="(min-width: 720px) 720px"></figure><h4 id="step-5-configure-docker">Step 5: Configure Docker</h4><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/08/image-15.png" class="kg-image" alt loading="lazy" width="1905" height="887" srcset="https://kenbinlab.com/content/images/size/w600/2024/08/image-15.png 600w, https://kenbinlab.com/content/images/size/w1000/2024/08/image-15.png 1000w, https://kenbinlab.com/content/images/size/w1600/2024/08/image-15.png 1600w, https://kenbinlab.com/content/images/2024/08/image-15.png 1905w" sizes="(min-width: 720px) 720px"></figure><ol><li><strong>Create a Shared Folder for Docker</strong>: Go to <code>Storage</code> &gt; <code>Shared Folders</code> and create a new shared folder named <code>dockerdata</code> on your desired volume.</li><li>Create a shared folder for compose file: <code>dockerdata/appdata</code><strong> </strong>as shown in the pictures above.</li><li>Similarly, create a shared folder for compose file: <code>dockerdata/backup_compose</code>.</li><li>Create a shared folder for docker file: <code>dockerdata/docker</code></li><li>Create a shared folder for data file in the main HDD (to define a path to a shared folder using the CHANGE_TO_COMPOSE_DATA_PATH variable): <code>data</code></li><li><strong>Set Docker Storage Path</strong>: Go to <code>Services</code> &gt; <code>Docker</code> &gt; <code>Settings</code>. Set the Docker storage path to the shared folders you have created. Click <code>Save</code> and then <code>Apply</code>.</li></ol><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/08/dockeromv7-6.png" class="kg-image" alt loading="lazy" width="1275" height="951" srcset="https://kenbinlab.com/content/images/size/w600/2024/08/dockeromv7-6.png 600w, https://kenbinlab.com/content/images/size/w1000/2024/08/dockeromv7-6.png 1000w, https://kenbinlab.com/content/images/2024/08/dockeromv7-6.png 1275w" sizes="(min-width: 720px) 720px"></figure><h4 id="step-5-install-portainer">Step 5: Install Portainer</h4><p>Portainer is a lightweight management UI that allows you to easily manage your Docker environments.</p><ol><li><strong>Install Portainer</strong>: Go to <code>Services</code> &gt; <code>Compose</code> &gt; <code>Files</code>. Click on <code>Add from example</code> and select <code>portainer</code>. Name it <code>portainer</code> and click <code>Save</code>.</li><li><strong>Deploy Portainer</strong>: In the same <code>Compose</code> section, click on the <code>Up</code> arrow to deploy Portainer. This will download and start the Portainer container.</li><li><strong>Access Portainer</strong>: Open your web browser and navigate to <code>http://your-omv-ip:9000</code>. Follow the setup instructions to configure Portainer.</li></ol><h4 id="conclusion">Conclusion</h4><p>By following these steps, you should have Docker, Docker Compose, and Portainer up and running on your OpenMediaVault server. This setup allows you to manage your containers efficiently and take full advantage of the powerful features OMV offers.</p>]]></content:encoded></item><item><title><![CDATA[How to Install AdGuard Home on OpenMediaVault Using openmediavault-compose]]></title><description><![CDATA[In this guide, we’ll walk you through the steps to install AdGuard Home on OpenMediaVault (OMV) using openmediavault-compose.]]></description><link>https://kenbinlab.com/how-to-install-adguard-home-on-openmediavault/</link><guid isPermaLink="false">6aa4d00040a9e200012c5cb6</guid><category><![CDATA[Docker]]></category><category><![CDATA[Homelab]]></category><category><![CDATA[NAS]]></category><dc:creator><![CDATA[Ken]]></dc:creator><pubDate>Thu, 29 Aug 2024 13:09:33 GMT</pubDate><media:content url="https://kenbinlab.com/content/images/2024/08/agh.jpg" medium="image"/><content:encoded><![CDATA[<img src="https://kenbinlab.com/content/images/2024/08/agh.jpg" alt="How to Install AdGuard Home on OpenMediaVault Using openmediavault-compose"><p>AdGuard Home is a comprehensive network-wide software that blocks ads and tracking services, enhancing privacy and security for all devices connected to a network. It operates as a DNS server, filtering out unwanted content before it reaches your devices, similar to a local version of a public DNS service like AdGuard DNS.</p><p>Here&apos;s a brief overview:</p><ol><li><strong>Ad-Blocking</strong>: AdGuard Home blocks ads across all devices on your network, including smartphones, tablets, and smart TVs. This is especially useful for devices where traditional ad blockers may not work as effectively.</li><li><strong>Privacy Protection</strong>: By blocking tracking scripts and analytics systems, AdGuard Home prevents third parties from collecting your data, offering a higher level of privacy.</li><li><strong>DNS-Based Filtering</strong>: As a DNS server, AdGuard Home filters requests at the network level. This means that ads and trackers are blocked before they even reach your devices, reducing the amount of data downloaded and speeding up your internet connection.</li><li><strong>Customizability</strong>: Users can create custom filters, blocklists, and allowlists to tailor the blocking to their needs. It also supports parental control features, allowing users to block access to adult content.</li><li><strong>Open Source</strong>: AdGuard Home is open-source, allowing users to inspect the code, contribute to its development, and ensure that it operates transparently.</li><li><strong>Cross-Platform</strong>: It can be installed on various devices, including Raspberry Pi, Linux, Windows, macOS, and even in Docker containers, making it highly versatile.</li></ol><p>In summary, AdGuard Home provides a robust, customizable, and privacy-focused solution for blocking ads and tracking across your entire home network.</p><p>In this guide, we&#x2019;ll walk you through the steps to install AdGuard Home on OpenMediaVault (OMV) using openmediavault-compose. This setup will help you manage your network&#x2019;s DNS and block ads efficiently.</p><h3 id="prerequisites">Prerequisites</h3><ul><li>OpenMediaVault installed and running</li><li>openmediavault-compose plugin installed</li><li>Basic understanding of Docker and networking</li></ul><h3 id="step-1-create-a-macvlan-network">Step 1: Create a MacVLAN Network</h3><p>First, we need to create a MacVLAN network for the AdGuard container. <em>This allows the container to have its own IP address, making it easier to manage ports</em>.</p><ol><li><strong>Access OMV Compose Plugin</strong>: Go to the OMV web interface and navigate to the openmediavault-compose plugin.</li><li><strong>Create Network</strong>: Under the &#x201C;Services -&gt; Compose -&gt; Networks&#x201D; tab, create a new network. Name it <code>local-network</code>.</li><li><strong>Configure Network</strong>:<ul><li><strong>Driver</strong>: select <strong>macvlan</strong>.</li><li><strong>Parent Network</strong>: Select your main network interface, in my case it is enp2s0.</li><li><strong>Subnet</strong>: Enter your subnet (e.g., <code>192.168.1.0/24</code>).</li><li><strong>Gateway</strong>: Enter your gateway (e.g., <code>192.168.1.1</code>).</li><li><strong>IP range</strong>: Enter your <em>expected IP for Adguard Home</em> (e.g., <code>192.168.1.200/32</code>).</li><li>Click <strong>Save</strong>.</li></ul></li></ol><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/08/image-27.png" class="kg-image" alt="How to Install AdGuard Home on OpenMediaVault Using openmediavault-compose" loading="lazy" width="1910" height="861" srcset="https://kenbinlab.com/content/images/size/w600/2024/08/image-27.png 600w, https://kenbinlab.com/content/images/size/w1000/2024/08/image-27.png 1000w, https://kenbinlab.com/content/images/size/w1600/2024/08/image-27.png 1600w, https://kenbinlab.com/content/images/2024/08/image-27.png 1910w" sizes="(min-width: 720px) 720px"></figure><h3 id="step-2-create-docker-compose-file">Step 2: Create Docker Compose File</h3><p>Now, we&#x2019;ll create a Docker Compose file to configure and run the AdGuard Home container.</p><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/08/image-24.png" class="kg-image" alt="How to Install AdGuard Home on OpenMediaVault Using openmediavault-compose" loading="lazy" width="1324" height="835" srcset="https://kenbinlab.com/content/images/size/w600/2024/08/image-24.png 600w, https://kenbinlab.com/content/images/size/w1000/2024/08/image-24.png 1000w, https://kenbinlab.com/content/images/2024/08/image-24.png 1324w" sizes="(min-width: 720px) 720px"></figure><ol><li><strong>Create Compose File</strong>: Go to <em>Services -&gt; Compose -&gt; Files</em>, create a new compose file and name it <code>adguard</code>.</li><li><strong>Add Configuration</strong>: Paste the following configuration into the compose file. Remember to change the <code>ipv4_address</code> to match your network configuration. Then click <strong>Save</strong>.</li></ol><pre><code class="language-yaml">---
services:
    adguardhome:
        container_name: adguardhome
        image: adguard/adguardhome
        networks:
          adguardhome:
            ipv4_address: 192.168.1.200  #Change this to your ip address
        volumes:
            - CHANGE_TO_COMPOSE_DATA_PATH/adguardhome/workdir:/opt/adguardhome/work
            - CHANGE_TO_COMPOSE_DATA_PATH/adguardhome/confdir:/opt/adguardhome/conf
        restart: unless-stopped
        ports:
            - 53:53/tcp
            - 53:53/udp
            - 67:67/udp
            - 68:68/udp
            - 80:80/tcp
            - 443:443/tcp
            - 443:443/udp
            - 3000:3000/tcp
            - 853:853/tcp
            - 784:784/udp
            - 853:853/udp
            - 8853:8853/udp
            - 5443:5443/tcp
            - 5443:5443/udp
networks:
   adguardhome:
      name: local-network  #This is the name of our macvlan
      external: true</code></pre><h3 id="step-3-deploy-adguard-home">Step 3: Deploy AdGuard Home</h3><p>Deploy the AdGuard Home container using the compose file.</p><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/08/image-25.png" class="kg-image" alt="How to Install AdGuard Home on OpenMediaVault Using openmediavault-compose" loading="lazy" width="1902" height="665" srcset="https://kenbinlab.com/content/images/size/w600/2024/08/image-25.png 600w, https://kenbinlab.com/content/images/size/w1000/2024/08/image-25.png 1000w, https://kenbinlab.com/content/images/size/w1600/2024/08/image-25.png 1600w, https://kenbinlab.com/content/images/2024/08/image-25.png 1902w" sizes="(min-width: 720px) 720px"></figure><ol><li><strong>Deploy Container</strong>: In the openmediavault-compose plugin, select the <code>adguard</code> compose file and click &#x201C;Up&#x201D;.</li><li><strong>Verify Deployment</strong>: Ensure the container is running and accessible.</li></ol><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/08/image-26.png" class="kg-image" alt="How to Install AdGuard Home on OpenMediaVault Using openmediavault-compose" loading="lazy" width="1497" height="550" srcset="https://kenbinlab.com/content/images/size/w600/2024/08/image-26.png 600w, https://kenbinlab.com/content/images/size/w1000/2024/08/image-26.png 1000w, https://kenbinlab.com/content/images/2024/08/image-26.png 1497w" sizes="(min-width: 720px) 720px"></figure><h3 id="step-4-configure-adguard-home">Step 4: Configure AdGuard Home</h3><p>Finally, configure AdGuard Home through its web interface.</p><ol><li><strong>Access Web Interface</strong>: Open a web browser and go to <code>http://192.168.1.200:3000</code>.</li><li><strong>Initial Setup</strong>: Follow the on-screen instructions to complete the initial setup.</li><li><strong>Set DNS Server</strong>: Point your router&#x2019;s DNS settings to the AdGuard Home IP address (e.g., <code>192.168.1.200</code>).</li></ol><h3 id="conclusion">Conclusion</h3><p>Congratulations! You&#x2019;ve successfully installed and configured AdGuard Home on OpenMediaVault using openmediavault-compose. This setup will help you manage your network&#x2019;s DNS and block ads effectively.</p><p>Feel free to customize this blog post to better fit your style and audience! If you have any questions or need further assistance, let me know.</p>]]></content:encoded></item><item><title><![CDATA[Installing OMV-Extras on OpenMediaVault: A Comprehensive Guide]]></title><description><![CDATA[A comprehensive guide to install OMV-Extras - a powerful plugin for OpenMediaVault (OMV) that significantly expands its capabilities.]]></description><link>https://kenbinlab.com/installing-omv-extras-on-openmediavault-a-comprehensive-guide/</link><guid isPermaLink="false">6aa4d00040a9e200012c5cb3</guid><category><![CDATA[NAS]]></category><dc:creator><![CDATA[Ken]]></dc:creator><pubDate>Fri, 23 Aug 2024 14:48:49 GMT</pubDate><media:content url="https://kenbinlab.com/content/images/2024/08/omvextras_logo3.jpg" medium="image"/><content:encoded><![CDATA[<ol><li><strong>What is OMV-Extras?</strong></li></ol><img src="https://kenbinlab.com/content/images/2024/08/omvextras_logo3.jpg" alt="Installing OMV-Extras on OpenMediaVault: A Comprehensive Guide"><p>OMV-Extras is a powerful plugin for OpenMediaVault (OMV) that significantly expands its capabilities. It offers a range of additional features and tools, making your <a href="https://kenbinlab.com/tag/nas/" rel="noreferrer">NAS</a> more versatile and efficient.</p><ol start="2"><li><strong>Why Install OMV-Extras?</strong></li></ol><ul><li><strong>Expand OMV functionality:</strong> Access a wider range of plugins and applications.</li><li><strong>Simplify installation:</strong> Streamline the process of installing various software packages.</li><li><strong>Enhance performance:</strong> Optimize your NAS for specific tasks.</li></ul><ol start="3"><li><strong>Prerequisites:</strong></li></ol><ul><li>An OpenMediaVault server up and running. If you don&apos;t have one, you can find out <a href="https://kenbinlab.com/install-openmediavault-on-proxmox-and-enable-smb-share/" rel="noreferrer">how to install OpenMediaVault</a> in the box below.</li><li>Basic understanding of Linux command line (for command-line method).</li><li>SSH access to your OMV server (for command-line method).</li></ul><figure class="kg-card kg-bookmark-card"><a class="kg-bookmark-container" href="https://kenbinlab.com/install-openmediavault-on-proxmox-and-enable-smb-share/"><div class="kg-bookmark-content"><div class="kg-bookmark-title">Step-by-Step Guide to Install OpenMediaVault on Proxmox and Enabling SMB Share</div><div class="kg-bookmark-description">A comprehensive guide for installing OpenMediaVault on Proxmox and setting up an SMB share for easy file sharing across your network</div><div class="kg-bookmark-metadata"><img class="kg-bookmark-icon" src="https://kenbinlab.com/favicon.ico" alt="Installing OMV-Extras on OpenMediaVault: A Comprehensive Guide"><span class="kg-bookmark-author">KenBin lab - Homelab and tech</span><span class="kg-bookmark-publisher">Ken Bin</span></div></div><div class="kg-bookmark-thumbnail"><img src="https://kenbinlab.com/content/images/2024/07/omv.JPG" alt="Installing OMV-Extras on OpenMediaVault: A Comprehensive Guide"></div></a></figure><ol start="4"><li><strong>Installation of OMV-Extras using command-line:</strong></li></ol><p><strong>Step1: </strong>Open a terminal window and SSH into your OMV server.</p><p><strong>Step2: </strong>Execute the following command:</p><pre><code class="language-bash">wget -O - https://github.com/OpenMediaVault-Plugin-Developers/packages/raw/master/install | bash</code></pre><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://kenbinlab.com/content/images/2024/08/1.jpg" class="kg-image" alt="Installing OMV-Extras on OpenMediaVault: A Comprehensive Guide" loading="lazy" width="983" height="888" srcset="https://kenbinlab.com/content/images/size/w600/2024/08/1.jpg 600w, https://kenbinlab.com/content/images/2024/08/1.jpg 983w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Install OMV-Extras in Openmediavault</span></figcaption></figure><p>Wait for the installation process to complete.</p><ol start="5"><li><strong>Verifying Installation:</strong></li></ol><p>Check if the <code>omv-extras</code> plugin is listed in the &quot;<em>System -&gt; Plugins</em>&quot; section of the OMV web interface to ensure OMV-Extras is installed correctly.</p><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/08/2.jpg" class="kg-image" alt="Installing OMV-Extras on OpenMediaVault: A Comprehensive Guide" loading="lazy" width="1919" height="874" srcset="https://kenbinlab.com/content/images/size/w600/2024/08/2.jpg 600w, https://kenbinlab.com/content/images/size/w1000/2024/08/2.jpg 1000w, https://kenbinlab.com/content/images/size/w1600/2024/08/2.jpg 1600w, https://kenbinlab.com/content/images/2024/08/2.jpg 1919w" sizes="(min-width: 720px) 720px"></figure><ol start="6"><li><strong>Additional Tips:</strong></li></ol><ul><li>Always back up your system before making significant changes.</li><li>Refer to the official OMV-Extras documentation for detailed instructions and troubleshooting.</li><li>Explore the available plugins and tools to maximize the benefits of OMV-Extras.</li></ul><p>By following these steps, you should have successfully installed OMV-Extras on your OpenMediaVault server. Enjoy the expanded capabilities and features it brings!</p>]]></content:encoded></item><item><title><![CDATA[OpenMediaVault installed on laptop - how to turn screen off automatically]]></title><description><![CDATA[A guide to automatically turn off the screen for OpenMediaVault installed on laptop]]></description><link>https://kenbinlab.com/omv-on-laptop-turn-screen-off-automatically/</link><guid isPermaLink="false">6aa4d00040a9e200012c5cae</guid><category><![CDATA[NAS]]></category><dc:creator><![CDATA[Ken]]></dc:creator><pubDate>Sun, 18 Aug 2024 06:20:10 GMT</pubDate><media:content url="https://images.unsplash.com/photo-1533908279087-2448f4554f18?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=M3wxMTc3M3wwfDF8c2VhcmNofDV8fHNjcmVlbiUyMG9mZnxlbnwwfHx8fDE3MjM5NjEzMzl8MA&amp;ixlib=rb-4.0.3&amp;q=80&amp;w=2000" medium="image"/><content:encoded><![CDATA[<img src="https://images.unsplash.com/photo-1533908279087-2448f4554f18?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=M3wxMTc3M3wwfDF8c2VhcmNofDV8fHNjcmVlbiUyMG9mZnxlbnwwfHx8fDE3MjM5NjEzMzl8MA&amp;ixlib=rb-4.0.3&amp;q=80&amp;w=2000" alt="OpenMediaVault installed on laptop - how to turn screen off automatically"><p>I&apos;ve just set up OMV on an old laptop, but even if I close the lid the screen stays on. I&apos;m wanting to have it turned off as fully as possible - not just to save the screen but to save whatever processing power it takes if that makes sense.</p><h2 id="1-introduction">1. Introduction</h2><p>In order to save energy and protect the laptop screen, I need to set the screen to the Blank state after 1 min and turn it off after 2 min. Any keypress will turn it back on. Make it auto-start after reboot.<strong> The magic command what will do all the work:</strong></p><pre><code>setterm --blank 1 --powerdown 2
</code></pre><p>If you get error:</p><pre><code>setterm: terminal xterm-256color does not support --blank
</code></pre><p>You are probably trying this command by SSH. You must run it from local of your machine, or do next stage of this guide.</p><h2 id="2-make-it-auto-start">2. Make it auto-start</h2><h3 id="insert-command-in-executable-file">Insert command in executable file</h3><p>Insert command in executable file. Store it for example in hidden folder of your home directory <strong>/home/USER/.boot-scripts/screen-off.sh</strong> (Create the folder using mkdir command first):</p><pre><code>sudo mkdir /home/USER/.boot-scripts/
sudo nano /home/USER/.boot-scripts/screen-off.sh
</code></pre><p>Paste this to screen-off.sh file:</p><pre><code>#!/bin/bash
setterm --blank 1 --powerdown 2
</code></pre><p>Save the file by Ctrl+O, Enter, then Ctrl+X</p><h3 id="and-make-script-file-executable-by-systemctl">And make script file executable by systemctl</h3><p>Create file <em>/etc/systemd/system/screen-off.service</em></p><pre><code>sudo nano /etc/systemd/system/screen-off.service
</code></pre><p>Paste this to screen-off.service file:</p><pre><code>[Unit]
Description=Blank screen after 1 min and turn it off after 2 min. Any keypress will turn it back on.
After=ssh.service

[Service]
Type=oneshot
Environment=TERM=linux
StandardOutput=tty
TTYPath=/dev/console
ExecStart=/home/USER/.boot-scripts/screen-off.sh

[Install]
WantedBy=local.target
</code></pre><p>Save the file by Ctrl+O, Enter, then Ctrl+X</p><h3 id="make-it-executable">Make it executable:</h3><pre><code>sudo chmod +x /home/USER/.boot-scripts/screen-off.sh
sudo chmod +x /etc/systemd/system/screen-off.service
</code></pre><h3 id="and-finally-get-it-working-and-enabled-on-boot">And finally get it working and enabled on boot:</h3><pre><code>sudo systemctl start screen-off.service
sudo systemctl enable screen-off.service
</code></pre><h3 id="to-disable-it">To disable it:</h3><pre><code>sudo systemctl disable screen-off.service
</code></pre><h2 id="3-other-way-to-automatically-turn-screen-off-on-boot">3. Other way to automatically turn screen off on boot</h2><p>Linux has a boot parameter <strong>consoleblank=XX</strong> which powers off the tty after XX seconds.<br>To use this parameter: Edit /etc/default/grub</p><pre><code>sudo nano /etc/default/grub
</code></pre><p>Then add <em>consoleblank=60</em> to the <em>GRUB_CMDLINE_LINUX_DEFAULT= </em>parameter. For example</p><pre><code>GRUB_CMDLINE_LINUX_DEFAULT=&quot;quiet splash consoleblank=60&quot;
</code></pre><p>Then update GRUB and reboot by run:</p><pre><code>sudo update-grub
sudo reboot
</code></pre><p>With this, the display should turn off after one minute (adjust the number if this is too short for you). This will work both on the login prompt, and when someone is logged in.</p>]]></content:encoded></item><item><title><![CDATA[How to Install Proxmox Backup Server as a VM and backup to NAS]]></title><description><![CDATA[A detailed guide on how to install Proxmox Backup Server as a VM and backup to NAS]]></description><link>https://kenbinlab.com/proxmox-backup-server-as-a-vm-and-backup-to-nas/</link><guid isPermaLink="false">6aa4d00040a9e200012c5cb0</guid><category><![CDATA[Homelab]]></category><category><![CDATA[Proxmox]]></category><category><![CDATA[NAS]]></category><dc:creator><![CDATA[Ken]]></dc:creator><pubDate>Wed, 14 Aug 2024 14:39:40 GMT</pubDate><media:content url="https://kenbinlab.com/content/images/2024/08/pbs.png" medium="image"/><content:encoded><![CDATA[<img src="https://kenbinlab.com/content/images/2024/08/pbs.png" alt="How to Install Proxmox Backup Server as a VM and backup to NAS"><p>Setting up a Proxmox Backup Server (PBS) as a virtual machine (VM) within Proxmox Virtual Environment (PVE) is a great way to manage your backups efficiently. This guide will walk you through the process of installing PBS as a VM and configuring it to <a href="https://kenbinlab.com/backup-strategy-for-homelab/" rel="noreferrer">back up your Proxmox VMs and LXC containers</a> to a Network Attached Storage (NAS).</p><h4 id="step-1-prepare-the-proxmox-backup-server-iso">Step 1: Prepare the Proxmox Backup Server ISO</h4><ol><li><strong>Download the ISO</strong>: First, <a href="https://pbs.proxmox.com/docs/installation.html?ref=kenbinlab.com" rel="noreferrer">download the Proxmox Backup Server</a> ISO from the official Proxmox website.</li><li><strong>Upload the ISO to Proxmox</strong>: Navigate to your Proxmox web interface, go to the storage section, and upload the ISO file.</li></ol><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://kenbinlab.com/content/images/2024/08/0.JPG" class="kg-image" alt="How to Install Proxmox Backup Server as a VM and backup to NAS" loading="lazy" width="757" height="586" srcset="https://kenbinlab.com/content/images/size/w600/2024/08/0.JPG 600w, https://kenbinlab.com/content/images/2024/08/0.JPG 757w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Upload the Proxmox Backup Server ISO image to the Proxmox host</span></figcaption></figure><h4 id="step-2-create-a-virtual-machine-for-proxmox-backup-server">Step 2: Create a Virtual Machine for Proxmox Backup Server</h4><ol><li><strong>Create a New VM</strong>: In the Proxmox web interface, click on &#x201C;Create VM&#x201D;.</li><li><strong>Configure VM Settings</strong>:<ul><li><strong>Node</strong>: Select the node where you want to create the VM.</li><li><strong>VM ID</strong>: Assign a unique ID for the VM.</li><li><strong>Name</strong>: Give your VM a name, e.g., <code>ProxmoxBackupServer</code>.</li><li>Check <code>Start At Boot</code> box to make sure the PBS automatically start when the system boot.</li></ul></li><li><strong>OS Configuration</strong>:<ul><li><strong>ISO Image</strong>: Select the Proxmox Backup Server ISO you uploaded.</li><li><strong>Guest OS Type</strong>: Choose <code>Linux</code> and <code>Other Linux 6.x or higher kernel</code>.</li></ul></li><li><strong>System Configuration</strong>: leave it as default</li><li><strong>Hard Disk</strong>:<ul><li><strong>Bus/Device</strong>: Choose <code>VirtIO Block</code>.</li><li><strong>Storage</strong>: Select your storage location.</li><li><strong>Disk Size</strong>: Allocate sufficient disk space (e.g., 32GB or more).</li><li><strong>SSD Emulation</strong>: checked.</li></ul></li><li><strong>CPU</strong>:<ul><li><strong>Cores</strong>: Assign at least 2 cores.</li><li><strong>Type</strong>: Set to <code>host</code> for better performance.</li></ul></li><li><strong>Memory</strong>:<ul><li><strong>RAM</strong>: Allocate at least 4GB.</li><li><strong>Ballooning Device</strong>: unchecked.</li></ul></li><li><strong>Network</strong>:<ul><li><strong>Model</strong>: Choose <code>VirtIO (paravirtualized)</code>.</li></ul></li></ol><h4 id="step-3-install-proxmox-backup-server">Step 3: Install Proxmox Backup Server</h4><ol><li><strong>Start the VM</strong>: Boot the VM from the ISO.</li><li><strong>Follow the Installation Wizard</strong>: Complete the installation by setting the root password, email, time zone, and network settings.</li><li><strong>Access the Web Interface</strong>: Once installed, access the PBS web interface via <code>https://&lt;PBS_IP&gt;:8007</code>.</li></ol><h4 id="step-4-add-a-cifs-for-smb-mount-and-configure-nas-for-backup-storage-in-proxmox-backup-server">Step 4: Add a CIFS for SMB mount and Configure NAS for Backup Storage in Proxmox Backup Server</h4><p><strong>Install CIFS Utils:</strong></p><p>After PBS installation finished, login (or SSH) as root and install CIFS Utils:</p><pre><code>apt install cifs-utils
</code></pre><p><strong>Create a Mount Directory:</strong></p><pre><code>mkdir /mnt/omvnas
</code></pre><p><strong>Add SMB credentials to mount NAS:</strong></p><p>Create .smbcreds to store NAS login data:</p><pre><code>nano /etc/samba/.smbcreds
</code></pre><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/08/9-1.JPG" class="kg-image" alt="How to Install Proxmox Backup Server as a VM and backup to NAS" loading="lazy" width="845" height="565" srcset="https://kenbinlab.com/content/images/size/w600/2024/08/9-1.JPG 600w, https://kenbinlab.com/content/images/2024/08/9-1.JPG 845w" sizes="(min-width: 720px) 720px"></figure><p>Put the username and password to the file and Save (Ctrl+O, Enter, Ctrl+X):</p><pre><code>username=smb_username
password=smb_password
</code></pre><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/08/10.JPG" class="kg-image" alt="How to Install Proxmox Backup Server as a VM and backup to NAS" loading="lazy" width="241" height="140"></figure><p>Change file permission to be read-only by root:</p><pre><code>chmod 400 /etc/samba/.smbcreds
</code></pre><p><strong>Mount the SMB Share:</strong> </p><p><a href="https://kenbinlab.com/install-openmediavault-on-proxmox-and-enable-smb-share/" rel="noreferrer">Create shared folder on OMVNAS</a>, then mount it to the <em>/mnt/omvnas</em> folder. Remember to replace <em>//IP-OF-NAS/SHARE-NAME</em> to your actual NAS shared folder:</p><pre><code>mount -t cifs -o rw,vers=3.0,credentials=/etc/samba/.smbcreds,uid=34,gid=34 //IP-OF-NAS/SHARE-NAME /mnt/omvnas
</code></pre><figure class="kg-card kg-bookmark-card"><a class="kg-bookmark-container" href="https://kenbinlab.com/install-openmediavault-on-proxmox-and-enable-smb-share/"><div class="kg-bookmark-content"><div class="kg-bookmark-title">Step-by-Step Guide to Install OpenMediaVault on Proxmox and Enabling SMB Share</div><div class="kg-bookmark-description">A comprehensive guide for installing OpenMediaVault on Proxmox and setting up an SMB share for easy file sharing across your network</div><div class="kg-bookmark-metadata"><img class="kg-bookmark-icon" src="https://kenbinlab.com/favicon.ico" alt="How to Install Proxmox Backup Server as a VM and backup to NAS"><span class="kg-bookmark-author">KenBin lab - Homelab and tech</span><span class="kg-bookmark-publisher">Ken Bin</span></div></div><div class="kg-bookmark-thumbnail"><img src="https://kenbinlab.com/content/images/2024/07/omv.JPG" alt="How to Install Proxmox Backup Server as a VM and backup to NAS"></div></a></figure><p>Check if the shared folder is mounted successfully by make a new directory name &quot;test&quot; using the command in terminal, and check it appear in your NAS:</p><pre><code>mkdir /mnt/omvnas/test
</code></pre><p><strong>Make the Mount Persistent</strong>: </p><p>Edit the <em>fstab </em>file to automatically mount the folder when the PBS server boot:</p><pre><code>nano /etc/fstab
</code></pre><p>Add this line to the <em>fstab</em> file and Save. Remember to replace <em>//IP-OF-NAS/SHARE-NAME</em> to your actual NAS shared folder:</p><pre><code>//IP-OF-NAS/SHARE-NAME /mnt/omvnas cifs vers=3.0,credentials=/etc/samba/.smbcreds,uid=34,gid=34,defaults 0 0
</code></pre><p>These steps will ensure your SMB share is mounted and accessible in Proxmox Backup Server.</p><h4 id="step-5-configure-proxmox-backup-server">Step 5: Configure Proxmox Backup Server</h4><ol><li><strong>Initial Setup</strong>:<ul><li><strong>Login</strong>: Use the root credentials to log in.</li><li><strong>Network Configuration</strong>: Ensure the network settings are correct.</li></ul></li><li><strong>Create a Datastore</strong>:<ul><li><strong>Navigate to Datastore</strong>: In the PBS web interface, go to <code>Datastore</code> and create a new datastore.</li><li><strong>Path</strong>: Specify the path where backups will be stored.</li></ul></li></ol><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/08/12.JPG" class="kg-image" alt="How to Install Proxmox Backup Server as a VM and backup to NAS" loading="lazy" width="1371" height="660" srcset="https://kenbinlab.com/content/images/size/w600/2024/08/12.JPG 600w, https://kenbinlab.com/content/images/size/w1000/2024/08/12.JPG 1000w, https://kenbinlab.com/content/images/2024/08/12.JPG 1371w" sizes="(min-width: 720px) 720px"></figure><h4 id="step-6-add-proxmox-backup-server-to-proxmox-ve">Step 6: Add Proxmox Backup Server to Proxmox VE</h4><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://kenbinlab.com/content/images/2024/08/13.JPG" class="kg-image" alt="How to Install Proxmox Backup Server as a VM and backup to NAS" loading="lazy" width="1662" height="636" srcset="https://kenbinlab.com/content/images/size/w600/2024/08/13.JPG 600w, https://kenbinlab.com/content/images/size/w1000/2024/08/13.JPG 1000w, https://kenbinlab.com/content/images/size/w1600/2024/08/13.JPG 1600w, https://kenbinlab.com/content/images/2024/08/13.JPG 1662w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Add Storage in PVE</span></figcaption></figure><ol><ul><li><strong>Navigate to Datacenter</strong>: In the Proxmox web interface, go to <code>Datacenter</code> &gt; <code>Storage</code>.</li><li><strong>Add Storage</strong>: Click on <code>Add</code> and select <code>Proxmox Backup Server</code>.</li><li><strong>Configuration</strong>: Enter the PBS ID <code>pbs-main</code>, PBS IP , username (<code>root@pam</code>), password, and datastore name<code>pbs-main</code>.</li><li><strong>Fingerprint</strong>: Paste the PBS fingerprint here (to get it: go to Proxmox Backup Server, under  <code>Configuration -&gt; Certificates -&gt; View Certificate</code> , copy the Fingerprint) </li></ul></ol><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://kenbinlab.com/content/images/2024/08/image-2.png" class="kg-image" alt="How to Install Proxmox Backup Server as a VM and backup to NAS" loading="lazy" width="1468" height="888" srcset="https://kenbinlab.com/content/images/size/w600/2024/08/image-2.png 600w, https://kenbinlab.com/content/images/size/w1000/2024/08/image-2.png 1000w, https://kenbinlab.com/content/images/2024/08/image-2.png 1468w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Copy the Fingerprint of Proxmox Backup Server</span></figcaption></figure><h4 id="step-7-configure-backup-jobs">Step 7: Configure Backup Jobs</h4><ol><li><strong>Create Backup Jobs</strong>:<ul><li><strong>Navigate to Datacenter</strong>: In the Proxmox web interface, go to <code>Datacenter</code> &gt; <code>Backup</code>.</li><li><strong>Add a New Job</strong>: Click on <code>Add</code> and configure the backup job.</li><li><strong>Storage</strong>: <em>choose the PBS storage created in the previous step</em>: <code>pbs-main</code> </li><li><strong>Schedule</strong>: Set the schedule for the backups.</li><li><strong>Selection</strong>: Choose the VMs and LXC containers to back up.</li></ul></li></ol><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/08/image-3.png" class="kg-image" alt="How to Install Proxmox Backup Server as a VM and backup to NAS" loading="lazy" width="893" height="483" srcset="https://kenbinlab.com/content/images/size/w600/2024/08/image-3.png 600w, https://kenbinlab.com/content/images/2024/08/image-3.png 893w" sizes="(min-width: 720px) 720px"></figure><h4 id="step-9-verify-and-monitor-backups">Step 9: Verify and Monitor Backups</h4><ol><li><strong>Run a Test Backup</strong>: Manually trigger a backup job to ensure everything is working correctly.</li><li><strong>Monitor Backups</strong>: Use the PBS web interface to monitor backup status and logs.</li></ol><p>By following these steps, you can efficiently set up a Proxmox Backup Server as a VM within Proxmox and configure it to back up your VMs and LXC containers to a NAS. This setup ensures that your data is securely backed up and easily recoverable in case of any issues.</p><p>Feel free to ask if you have any questions or need further assistance!</p>]]></content:encoded></item><item><title><![CDATA[Step-by-Step Guide to Install OpenMediaVault on Proxmox and Enabling SMB Share]]></title><description><![CDATA[A comprehensive guide for installing OpenMediaVault on Proxmox and setting up an SMB share for easy file sharing across your network]]></description><link>https://kenbinlab.com/install-openmediavault-on-proxmox-and-enable-smb-share/</link><guid isPermaLink="false">6aa4d00040a9e200012c5cad</guid><category><![CDATA[NAS]]></category><dc:creator><![CDATA[Ken]]></dc:creator><pubDate>Sun, 28 Jul 2024 12:52:16 GMT</pubDate><media:content url="https://kenbinlab.com/content/images/2024/07/omv.JPG" medium="image"/><content:encoded><![CDATA[<img src="https://kenbinlab.com/content/images/2024/07/omv.JPG" alt="Step-by-Step Guide to Install OpenMediaVault on Proxmox and Enabling SMB Share"><p>In the realm of home servers and virtualization, having a reliable platform to manage storage and network services is crucial. <a href="https://www.openmediavault.org/?ref=kenbinlab.com" rel="noreferrer">OpenMediaVault</a> (OMV) and Proxmox Virtual Environment are two powerful tools that, when combined, create a robust environment for managing storage and virtual machines (VMs). </p><p>OpenMediaVault represents the latest in network-attached storage (NAS) solutions, built upon Debian Linux. It comes pre-loaded with essential services such as SSH, (S)FTP, <a href="https://kenbinlab.com/how-to-add-nfs-storage-to-proxmox/" rel="noreferrer">NFS</a>, SMB/CIFS, RSync, and more, all readily accessible. Its modular framework allows for seamless expansion through plugins. While initially tailored for small offices or home offices, OpenMediaVault&apos;s versatility extends beyond these environments. It offers a straightforward, user-friendly setup, making it accessible to anyone looking to install and manage NAS without extensive technical expertise.</p><p>In this guide, we&apos;ll walk through the process of installing OpenMediaVault on Proxmox and setting up an SMB share for easy file sharing across your network.</p><h3 id="step-1-download-openmediavault-installation-iso-and-upload-to-proxmox">Step 1: Download OpenMediaVault Installation ISO and Upload to Proxmox</h3><p>Before you begin setting up Proxmox Virtual Environment, you&apos;ll need to acquire the OpenMediaVault installation ISO and make it available for deployment on your Proxmox server. Here&apos;s how to get started:</p><ol><li><strong>Download OpenMediaVault ISO</strong>: Visit the <a href="https://www.openmediavault.org/download.html?ref=kenbinlab.com" rel="noreferrer">OpenMediaVault official download page</a> to obtain the latest installation ISO. Choose the appropriate version depending on your hardware and requirements.</li><li><strong>Upload ISO to Proxmox</strong>: Access the Proxmox web interface using your browser. Navigate to &quot;Storage&quot; on the left sidebar and select the storage location where you want to upload the ISO file (e.g., local storage, NFS, or other storage types configured on Proxmox).</li><li><strong>Upload ISO File</strong>: Click on &quot;Upload&quot; and select the OpenMediaVault ISO file from your local machine. Wait for the upload to complete, ensuring the ISO is available in your chosen storage location within Proxmox.</li></ol><h3 id="step-2-create-a-virtual-machine-for-openmediavault">Step 2: Create a Virtual Machine for OpenMediaVault</h3><ol><li><strong>Login to Proxmox</strong>: Access the Proxmox web interface using your browser by navigating to the IP address of your Proxmox server.</li><li><strong>Create New VM</strong>: Click on &quot;Create VM&quot; and follow the wizard to set up a new virtual machine for OpenMediaVault.<ul><li>Choose &quot;Linux&quot; and &quot;Debian&quot; as the OS type and version respectively.</li><li>For the OS: select OMV ISO to the VM&apos;s CD/DVD drive to boot from it.</li><li>Allocate sufficient resources (CPU cores, RAM, disk space) based on your anticipated usage. <em>In my case, I set the CPU cores to 1; RAM is 2048 MB; disk space is 128GB</em>.</li></ul></li><li><strong>Storage Configuration</strong>: Attach the addition hard disks or USB to use as storage. In my case, because I install OMV as a VM inside Proxmox on a mini PC, I just add an USB disk enclosure with 1TB laptop HDD.</li><li><strong>Networking</strong>: Assign network settings to the VM so it can connect to your network.</li><li><strong>Start the VM</strong>: Once configured, start the VM and proceed with the OMV installation.</li></ol><h3 id="step-3-install-openmediavault">Step 3: Install OpenMediaVault</h3><ol><li><strong>Install OpenMediaVault</strong>:<ol><li>Once the OMV installer boots up, select your preferred language and proceed with the installation process.</li><li>Follow the on-screen prompts to configure network settings, timezone, and partitioning options.</li></ol></li><li><strong>Access Web Interface</strong>: Once installed, access OMV&apos;s web interface by navigating to the VM&apos;s IP address on port 80 (http://&lt;ip_address&gt;).</li></ol><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://kenbinlab.com/content/images/2024/07/image-6.png" class="kg-image" alt="Step-by-Step Guide to Install OpenMediaVault on Proxmox and Enabling SMB Share" loading="lazy" width="1910" height="898" srcset="https://kenbinlab.com/content/images/size/w600/2024/07/image-6.png 600w, https://kenbinlab.com/content/images/size/w1000/2024/07/image-6.png 1000w, https://kenbinlab.com/content/images/size/w1600/2024/07/image-6.png 1600w, https://kenbinlab.com/content/images/2024/07/image-6.png 1910w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">OpenMediaVault dashboard</span></figcaption></figure><h3 id="step-4-configure-openmediavault">Step 4: Configure OpenMediaVault</h3><ol><li><strong>Initial Setup</strong>: Log in using the default credentials (admin / openmediavault) and change the password if needed.</li><li><strong>Network</strong>: Go to <strong>Network -&gt; Interface</strong> to set OMV to static IP address. <em>I recommend setup OMV to use static IP using your modem LAN configuration.</em>  </li><li><strong>Storage</strong>: <ol><li>Navigate to &quot;Storage&quot; -&gt; &quot;Disks&quot;, select the disk to use and click Wipe to delete the entire disk if needed. Be careful because this all the data on this disk will be lost.</li><li> Navigate to &quot;Storage&quot; -&gt; &quot;File Systems&quot; -&gt; &quot;Create&quot; to create a new file system on your storage devices. Wait for the process to finish then the screen automatically change to Mount screen. Just choose the created filesystem and Type (<em>I choose EXT4</em> for Type), then click Save -&gt; Apply.</li></ol></li><li><strong>Share Folders</strong>: Go to &quot;Shared Folders&quot; and create a new shared folder. Set permissions and other settings as needed (<em>I just use the default settings and permissions</em>).</li></ol><h3 id="step-5-enable-smbcifs-share">Step 5: Enable SMB/CIFS Share</h3><ol><li><strong>Configure SMB/CIFS</strong>: Go to &quot;Services&quot; -&gt; &quot;SMB/CIFS&quot; -&gt; &quot;Settings&quot; and enable the service. </li><li><strong>Configure the share:</strong> Go to &quot;Services&quot; -&gt; &quot;SMB/CIFS&quot; -&gt; &quot;Shares&quot; and add the previously created shared folder.</li><li><strong>Set Permissions</strong>: Adjust permissions and access rights under the &quot;Access Rights Management&quot; tab within SMB/CIFS settings.</li></ol><h3 id="step-6-create-a-new-user">Step 6: Create a new user</h3><p>Go to &quot;Users&quot; -&gt; &quot;Users&quot; to create a new user.</p><h3 id="step-7-access-and-test-the-smb-share">Step 7: Access and Test the SMB Share</h3><ol><li><strong>Access the Share</strong>: On your networked devices (Windows, macOS, Linux), navigate to \&lt;OMV_IP_address&gt;\ to access the SMB share. Log in using the credentials you set up in the SMB/CIFS settings (<em>or using the user created in Step 6</em>).</li><li><strong>Test File Transfer</strong>: Transfer a file to and from the SMB share to ensure everything is functioning correctly.</li></ol><h3 id="video-guide">Video guide</h3><figure class="kg-card kg-embed-card"><iframe width="200" height="113" src="https://www.youtube.com/embed/gkihz5BJ0PQ?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen title="Homelab NAS with OpenMediaVault on Proxmox"></iframe></figure><h3 id="conclusion">Conclusion</h3><p>Setting up OpenMediaVault on Proxmox and configuring an SMB share provides a versatile solution for managing storage and sharing files across your network. By following these steps, you can create a stable and efficient home server environment that meets your storage and file-sharing needs. Experiment further with additional plugins and features offered by OpenMediaVault to customize your setup even more. Enjoy your newly configured home server and the flexibility it brings to your network!</p>]]></content:encoded></item><item><title><![CDATA[How to add NFS share from Synology DSM to backup Proxmox virtual machine]]></title><description><![CDATA[This post guides step-by-step to set up an NFS share from a Synology DSM (DiskStation Manager), add it to Proxmox and use added NFS Storage to back up Proxmox virtual machines.]]></description><link>https://kenbinlab.com/how-to-add-nfs-storage-to-proxmox/</link><guid isPermaLink="false">6aa4d00040a9e200012c5ca9</guid><category><![CDATA[Proxmox]]></category><category><![CDATA[Homelab]]></category><category><![CDATA[NAS]]></category><dc:creator><![CDATA[Ken]]></dc:creator><pubDate>Sat, 13 Jul 2024 09:48:50 GMT</pubDate><media:content url="https://images.unsplash.com/photo-1517819655378-25fe37197692?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=M3wxMTc3M3wwfDF8c2VhcmNofDR8fE5BU3xlbnwwfHx8fDE3MjA4NjQxNzF8MA&amp;ixlib=rb-4.0.3&amp;q=80&amp;w=2000" medium="image"/><content:encoded><![CDATA[<img src="https://images.unsplash.com/photo-1517819655378-25fe37197692?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=M3wxMTc3M3wwfDF8c2VhcmNofDR8fE5BU3xlbnwwfHx8fDE3MjA4NjQxNzF8MA&amp;ixlib=rb-4.0.3&amp;q=80&amp;w=2000" alt="How to add NFS share from Synology DSM to backup Proxmox virtual machine"><p>To set up an NFS share from a Synology DSM (DiskStation Manager) and use it to back up a Proxmox virtual machine (VM), you&apos;ll need to follow a series of steps. Here&apos;s a detailed, step-by-step guide to help you through the process:</p><h3 id="1-set-up-nfs-share-on-synology-dsm">1. Set Up NFS Share on Synology DSM</h3><p><strong>1.1. Log into Synology DSM</strong></p><ul><li>Open a web browser and log into your Synology DSM interface using your administrator credentials.</li></ul><p><strong>1.2. Open Control Panel</strong></p><ul><li>Go to the <strong>Control Panel</strong> from the main menu.</li></ul><p><strong>1.3. Configure NFS</strong></p><ul><li>Navigate to <strong>File Services</strong>.</li><li>Under the <strong>File Services</strong> tab, click on <strong>NFS</strong> and enable NFS by checking the appropriate box. Click <strong>Apply</strong> if prompted.</li></ul><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://kenbinlab.com/content/images/2024/07/image.png" class="kg-image" alt="How to add NFS share from Synology DSM to backup Proxmox virtual machine" loading="lazy" width="1422" height="809" srcset="https://kenbinlab.com/content/images/size/w600/2024/07/image.png 600w, https://kenbinlab.com/content/images/size/w1000/2024/07/image.png 1000w, https://kenbinlab.com/content/images/2024/07/image.png 1422w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Enable NFS service in Synology DSM</span></figcaption></figure><p><strong>1.4. Create a Shared Folder</strong></p><ul><li>Go to <strong>Shared Folder</strong> under <strong>File Services</strong>.</li><li>Click <strong>Create</strong> to set up a new shared folder. Follow the wizard to define the folder name, location, and permissions.</li></ul><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://kenbinlab.com/content/images/2024/07/image-1.png" class="kg-image" alt="How to add NFS share from Synology DSM to backup Proxmox virtual machine" loading="lazy" width="999" height="734" srcset="https://kenbinlab.com/content/images/size/w600/2024/07/image-1.png 600w, https://kenbinlab.com/content/images/2024/07/image-1.png 999w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Create shared folder to use as NFS for Proxmox</span></figcaption></figure><ul><li>Configure the shared folder quota if you want to limit backup capacity</li></ul><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://kenbinlab.com/content/images/2024/07/image-2.png" class="kg-image" alt="How to add NFS share from Synology DSM to backup Proxmox virtual machine" loading="lazy" width="793" height="578" srcset="https://kenbinlab.com/content/images/size/w600/2024/07/image-2.png 600w, https://kenbinlab.com/content/images/2024/07/image-2.png 793w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Config shared folder quota</span></figcaption></figure><p><strong>1.5. Configure NFS Permissions</strong></p><ul><li>After creating the shared folder, select it from the list and click <strong>Edit</strong>.</li></ul><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://thuanbui.me/wp-content/uploads/2023/05/xpenology-nfs-sharing-7.png" class="kg-image" alt="How to add NFS share from Synology DSM to backup Proxmox virtual machine" loading="lazy"><figcaption><span style="white-space: pre-wrap;">Edit Synology DSM shared folder</span></figcaption></figure><ul><li>Go to the <strong>Permissions</strong> tab, and then click on <strong>NFS Permissions</strong>.</li><li>Click <strong>Create</strong> to add a new NFS rule.</li><li>In the NFS rule setup, specify the following:<ul><li><strong>Hostname or IP</strong>: Enter the IP address of your Proxmox server or use <code>*</code> for all.</li><li><strong>Privilege</strong>: Set to <strong>Read/Write</strong> (or <strong>Read-only</strong> if you only need read access).</li><li><strong>Squash</strong>: Select the appropriate option (usually <strong>Map all users to admin</strong>). If you do not select &apos;Map all users to admin&apos; for the Squash option, you will encounter a &apos;Permission&apos; error when backing up LXC containers on Proxmox.</li><li><strong>Security</strong>: Configure as needed (default is often sufficient).</li></ul></li><li>Click <strong>OK</strong> to apply the settings.</li></ul><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://kenbinlab.com/content/images/2024/07/image-5.png" class="kg-image" alt="How to add NFS share from Synology DSM to backup Proxmox virtual machine" loading="lazy" width="682" height="494" srcset="https://kenbinlab.com/content/images/size/w600/2024/07/image-5.png 600w, https://kenbinlab.com/content/images/2024/07/image-5.png 682w"><figcaption><span style="white-space: pre-wrap;">Config NFS Permissions</span></figcaption></figure><h3 id="2-mount-the-nfs-share-on-proxmox">2. Mount the NFS Share on Proxmox</h3><p><strong>2.1. Log into Proxmox Web Interface</strong></p><ul><li>Open your web browser and log into the Proxmox VE web interface.</li></ul><p><strong>2.2. Access Node Configuration</strong></p><ul><li>Select the Proxmox node where you want to mount the NFS share.</li><li>Go to the <strong>Datacenter</strong> view and then to the <strong>Storage</strong> tab.</li></ul><p><strong>2.3. Add NFS Storage</strong></p><ul><li>Click <strong>Add</strong> and select <strong>NFS</strong>.</li></ul><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://thuanbui.me/wp-content/uploads/2023/05/proxmox-storage-nfs-1.png" class="kg-image" alt="How to add NFS share from Synology DSM to backup Proxmox virtual machine" loading="lazy" width="1329" height="946"><figcaption><span style="white-space: pre-wrap;">Add NFS to Proxmox Datacenter</span></figcaption></figure><ul><li>Fill in the NFS configuration details:<ul><li><strong>ID</strong>: Enter a unique name for the storage.</li><li><strong>Server</strong>: Enter the IP address or hostname of your Synology NAS.</li><li><strong>Export</strong>: Enter the path of the shared folder created on Synology (e.g., <code>/volume2/proxmox</code>).</li><li><strong>Content</strong>: Check the boxes for the types of content you want to store (e.g., VZDump backup file).</li><li><strong>Nodes</strong>: Select the nodes that should have access to this storage.</li></ul></li><li>Click <strong>Add</strong> to save the configuration.</li></ul><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://kenbinlab.com/content/images/2024/07/image-4.png" class="kg-image" alt="How to add NFS share from Synology DSM to backup Proxmox virtual machine" loading="lazy" width="744" height="350" srcset="https://kenbinlab.com/content/images/size/w600/2024/07/image-4.png 600w, https://kenbinlab.com/content/images/2024/07/image-4.png 744w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">NFS configuration details</span></figcaption></figure><h3 id="3-configure-backup-job">3. Configure Backup Job</h3><p><strong>3.1. Go to Proxmox Backup Configuration</strong></p><ul><li>In the Proxmox web interface, navigate to <strong>Datacenter</strong> and then to <strong>Backup</strong>.</li></ul><p><strong>3.2. Create a Backup Job</strong></p><ul><li>Click <strong>Add</strong> to create a new backup job.</li><li>Configure the job settings:<ul><li><strong>ID</strong>: Enter a name for the backup job.</li><li><strong>Storage</strong>: Select the NFS storage you configured earlier.</li><li><strong>Schedule</strong>: Set the schedule for automatic backups.</li><li><strong>Compression</strong>: Choose the compression method if required.</li><li><strong>Retention</strong>: Configure how long backups should be retained.</li></ul></li></ul><p><strong>3.3. Specify VM and Backup Options</strong></p><ul><li>Choose the VMs to be backed up.</li><li>Configure additional options as needed, such as backup mode (snapshot, stop, or suspend).</li></ul><h3 id="4-verify-and-monitor">4. Verify and Monitor</h3><p><strong>4.1. Run Backup Job Manually</strong></p><ul><li>To test the configuration, you can run the backup job manually from the backup configuration screen.</li></ul><p><strong>4.2. Monitor Backup Jobs</strong></p><ul><li>Check the status of backup jobs and ensure that they are running successfully.</li><li>Monitor logs and storage space to ensure everything is working as expected.</li></ul><h3 id="troubleshooting">Troubleshooting</h3><ul><li><strong>Connection Issues</strong>: Ensure that the Proxmox server can reach the Synology NAS over the network and that there are no firewall rules blocking NFS traffic.</li><li><strong>Permissions Issues</strong>: Double-check NFS permissions on the Synology DSM and ensure that the Proxmox server IP has the correct access rights.</li></ul><p>By following these steps, you should be able to successfully set up an NFS share on Synology DSM and use it for backing up Proxmox virtual machines.</p>]]></content:encoded></item></channel></rss>