<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Longhorn on Support Tools</title><link>https://support.tools/categories/longhorn/</link><description>Recent content in Longhorn on Support Tools</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Fri, 11 Apr 2025 00:00:00 -0500</lastBuildDate><atom:link href="https://support.tools/categories/longhorn/index.xml" rel="self" type="application/rss+xml"/><item><title>How to Recover Longhorn Volume Data from a Single Replica in RKE2 Kubernetes</title><link>https://support.tools/rke2-longhorn-replica-recovery/</link><pubDate>Fri, 11 Apr 2025 00:00:00 -0500</pubDate><guid>https://support.tools/rke2-longhorn-replica-recovery/</guid><description>&lt;p&gt;When disaster strikes and your entire RKE2 cluster or Longhorn control plane becomes unavailable, you can still &lt;strong&gt;recover critical data from a single Longhorn volume replica&lt;/strong&gt; using a static pod definition. This emergency recovery method works even when the Kubernetes API server is completely offline and Docker is not available on your RKE2 nodes.&lt;/p&gt;</description></item><item><title>Introduction to Longhorn Basics</title><link>https://support.tools/training/longhorn/basics/</link><pubDate>Thu, 09 Jan 2025 00:00:00 -0500</pubDate><guid>https://support.tools/training/longhorn/basics/</guid><description>&lt;h1 id="longhorn-basics-introduction-guide"&gt;Longhorn Basics: Introduction Guide&lt;/h1&gt;&#10;&lt;p&gt;Welcome to the &lt;strong&gt;Longhorn Basics&lt;/strong&gt; course. This guide is designed to help you navigate the key concepts, agenda, and prerequisites for understanding and using Longhorn effectively.&lt;/p&gt;&#10;&lt;h2 id="setting-the-stage"&gt;Setting the Stage&lt;/h2&gt;&#10;&lt;p&gt;Before diving into Longhorn, let’s set some context for this course. We will cover:&lt;/p&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;The purpose of this course.&lt;/li&gt;&#10;&lt;li&gt;The target audience.&lt;/li&gt;&#10;&lt;li&gt;The topics included.&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;h2 id="course-context"&gt;Course Context&lt;/h2&gt;&#10;&lt;p&gt;This course focuses on &lt;strong&gt;Longhorn&lt;/strong&gt;, Rancher&amp;rsquo;s cloud-native distributed block storage solution for Kubernetes. It will include:&lt;/p&gt;</description></item><item><title>Longhorn</title><link>https://support.tools/training/longhorn/</link><pubDate>Thu, 09 Jan 2025 00:00:00 -0500</pubDate><guid>https://support.tools/training/longhorn/</guid><description>&lt;p&gt;Welcome to our comprehensive Longhorn training series. Learn how to deploy, manage, and scale Longhorn storage for Kubernetes clusters through our detailed guides and tutorials.&lt;/p&gt;&#10;&lt;h2 id="core-concepts"&gt;Core Concepts&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://support.tools/training/longhorn/basics/"&gt;Basics of Longhorn&lt;/a&gt;: Introduction to Longhorn and its core concepts&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://support.tools/training/longhorn/architecture/"&gt;Longhorn Architecture&lt;/a&gt;: Deep dive into Longhorn&amp;rsquo;s components and design&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://support.tools/training/longhorn/lab-setup/"&gt;Lab Setup Guide&lt;/a&gt;: Setting up your environment for hands-on practice&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="implementation"&gt;Implementation&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://support.tools/training/longhorn/installation/"&gt;Installation Guide&lt;/a&gt;: Step-by-step installation process&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://support.tools/training/longhorn/using-volumes/"&gt;Using Volumes&lt;/a&gt;: Working with Longhorn volumes&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://support.tools/training/longhorn/upgrading/"&gt;Upgrade Guide&lt;/a&gt;: Safely upgrading Longhorn clusters&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="advanced-topics"&gt;Advanced Topics&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://support.tools/training/longhorn/advanced/"&gt;Advanced Operations&lt;/a&gt;: Advanced features and performance tuning&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://support.tools/training/longhorn/troubleshooting/"&gt;Troubleshooting Guide&lt;/a&gt;: Comprehensive troubleshooting and recovery procedures&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="best-practices"&gt;Best Practices&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://support.tools/training/longhorn/performance/"&gt;Performance optimization&lt;/a&gt;: Tuning Longhorn for optimal performance&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://support.tools/training/longhorn/ha/"&gt;High Availability Configuration&lt;/a&gt;: Configuring Longhorn for high availability&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://support.tools/training/longhorn/backup/"&gt;Backup and Disaster Recovery&lt;/a&gt;: Implementing backup and recovery strategies&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://support.tools/training/longhorn/monitoring/"&gt;Monitoring and Maintenance&lt;/a&gt;: Setting up monitoring and routine maintenance&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Each section includes practical examples, configuration samples, and best practices to help you effectively implement and manage Longhorn in your Kubernetes environment.&lt;/p&gt;</description></item><item><title>Upgrading Longhorn</title><link>https://support.tools/training/longhorn/upgrading/</link><pubDate>Mon, 06 Jan 2025 00:00:00 -0500</pubDate><guid>https://support.tools/training/longhorn/upgrading/</guid><description>&lt;p&gt;In this section of the &lt;strong&gt;Longhorn Basics&lt;/strong&gt; course, we will cover the steps for upgrading Longhorn, including planning, the upgrade process, and rollback options.&lt;/p&gt;</description></item><item><title>Using Longhorn Volumes in Kubernetes</title><link>https://support.tools/training/longhorn/using-volumes/</link><pubDate>Sun, 05 Jan 2025 00:00:00 -0500</pubDate><guid>https://support.tools/training/longhorn/using-volumes/</guid><description>&lt;p&gt;In this section of the &lt;strong&gt;Longhorn Basics&lt;/strong&gt; course, we will cover using Longhorn volumes in Kubernetes, including their types, usage, and backup/restore functionalities.&lt;/p&gt;</description></item><item><title>Installing Longhorn: A Comprehensive Guide</title><link>https://support.tools/training/longhorn/installation/</link><pubDate>Sat, 04 Jan 2025 00:00:00 -0500</pubDate><guid>https://support.tools/training/longhorn/installation/</guid><description>&lt;p&gt;In this section of the &lt;strong&gt;Longhorn Basics&lt;/strong&gt; course, we explore the different ways to install Longhorn, Rancher&amp;rsquo;s cloud-native distributed block storage solution for Kubernetes.&lt;/p&gt;</description></item><item><title>Understanding Longhorn Architecture</title><link>https://support.tools/training/longhorn/architecture/</link><pubDate>Fri, 03 Jan 2025 00:00:00 -0500</pubDate><guid>https://support.tools/training/longhorn/architecture/</guid><description>&lt;p&gt;In this section of the &lt;strong&gt;Longhorn Basics&lt;/strong&gt; course, we will delve into the architecture of Longhorn, exploring its components and understanding the data flow.&lt;/p&gt;</description></item><item><title>Setting Up the Lab Environment for Longhorn Basics</title><link>https://support.tools/training/longhorn/lab-setup/</link><pubDate>Thu, 02 Jan 2025 00:00:00 -0500</pubDate><guid>https://support.tools/training/longhorn/lab-setup/</guid><description>&lt;p&gt;Welcome to the &lt;strong&gt;Longhorn Basics&lt;/strong&gt; course! This section provides step-by-step instructions for setting up the lab environment required to follow this course effectively.&lt;/p&gt;</description></item><item><title>Longhorn Advanced Operations</title><link>https://support.tools/training/longhorn/advanced/</link><pubDate>Wed, 01 Jan 2025 00:00:00 -0500</pubDate><guid>https://support.tools/training/longhorn/advanced/</guid><description>&lt;p&gt;This guide covers advanced Longhorn operations, including performance tuning, troubleshooting, and advanced features for production environments.&lt;/p&gt;</description></item><item><title>Longhorn Backup and Disaster Recovery</title><link>https://support.tools/training/longhorn/backup/</link><pubDate>Wed, 01 Jan 2025 00:00:00 -0500</pubDate><guid>https://support.tools/training/longhorn/backup/</guid><description>&lt;p&gt;This guide covers backup and disaster recovery strategies for Longhorn storage, including backup configuration, recovery procedures, and best practices.&lt;/p&gt;</description></item><item><title>Longhorn High Availability Configuration</title><link>https://support.tools/training/longhorn/ha/</link><pubDate>Wed, 01 Jan 2025 00:00:00 -0500</pubDate><guid>https://support.tools/training/longhorn/ha/</guid><description>&lt;p&gt;This guide covers high availability configuration for Longhorn storage, including replica management, node failure handling, and disaster recovery strategies.&lt;/p&gt;</description></item><item><title>Longhorn Monitoring and Maintenance</title><link>https://support.tools/training/longhorn/monitoring/</link><pubDate>Wed, 01 Jan 2025 00:00:00 -0500</pubDate><guid>https://support.tools/training/longhorn/monitoring/</guid><description>&lt;p&gt;This guide covers monitoring and maintenance strategies for Longhorn storage, including metrics collection, alerting, and routine maintenance procedures.&lt;/p&gt;</description></item><item><title>Longhorn Performance Tuning</title><link>https://support.tools/training/longhorn/performance/</link><pubDate>Wed, 01 Jan 2025 00:00:00 -0500</pubDate><guid>https://support.tools/training/longhorn/performance/</guid><description>&lt;p&gt;This guide covers performance optimization techniques for Longhorn storage, including system tuning, monitoring, and best practices for achieving optimal performance.&lt;/p&gt;</description></item><item><title>Longhorn Troubleshooting Guide</title><link>https://support.tools/training/longhorn/troubleshooting/</link><pubDate>Wed, 01 Jan 2025 00:00:00 -0500</pubDate><guid>https://support.tools/training/longhorn/troubleshooting/</guid><description>&lt;p&gt;This guide provides detailed troubleshooting steps for common Longhorn issues, including diagnostics, solutions, and preventive measures.&lt;/p&gt;</description></item><item><title>How to Restrict Longhorn Access to Specific Nodes in K3s Cluster</title><link>https://support.tools/how-to-restrict-longhorn-in-k3s-cluster/</link><pubDate>Sat, 18 May 2024 00:00:00 +0000</pubDate><guid>https://support.tools/how-to-restrict-longhorn-in-k3s-cluster/</guid><description>&lt;h2 id="how-to-restrict-longhorn-access-to-specific-nodes-in-k3s-cluster"&gt;&lt;a href="#how-to-restrict-longhorn-access-to-specific-nodes-in-k3s-cluster"&gt;How to Restrict Longhorn Access to Specific Nodes in K3s Cluster&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;After adding a Raspberry Pi node to your K3s cluster, you might want to restrict its participation in Longhorn replication to avoid any potential issues.&lt;/p&gt;&#10;&lt;p&gt;On a previous Raspberry Pi cluster, there were instances of corrupted Longhorn volumes possibly caused by network and storage performance limitations. Since upgrading to nodes with faster hardware, such as Core i3, Core i5, and AMD Ryzen 5500U, those issues have vanished. However, with the addition of the new Raspberry Pi node for your doorbell project, you&amp;rsquo;d like to prevent it from interacting with Longhorn.&lt;/p&gt;</description></item><item><title>Using a resized block volume in Longhorn.IO</title><link>https://support.tools/post/resizing-longhorn-block-volumes-rke2-dell-r720xd-3tb-sas/</link><pubDate>Fri, 13 Oct 2023 13:45:00 -0500</pubDate><guid>https://support.tools/post/resizing-longhorn-block-volumes-rke2-dell-r720xd-3tb-sas/</guid><description>&lt;p&gt;For my RKE2 clusters, but because I&amp;rsquo;m running on physical servers (3 x Dell R720xd with 12x3TB SAS drives), I have to use Longhorn.IO for storage. I have a few block volumes that I need to resize.&lt;/p&gt;&#10;&lt;h2 id="resizing-a-longhorn-block-volume"&gt;Resizing a Longhorn Block Volume&lt;/h2&gt;&#10;&lt;p&gt;To resize a Longhorn block volume, you&amp;rsquo;ll need to do the following:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;Resize the PVC:&lt;/strong&gt; Resize the volume using the &lt;code&gt;kubectl&lt;/code&gt; command-line tool. For example, to resize a volume named &lt;code&gt;my-volume&lt;/code&gt; to 100GB, use the following command:&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;div class="code-block" data-copy-label="Copy bash code, block 1"&gt;&#10; &lt;div class="code-block-header" data-pagefind-ignore&gt;&lt;span class="code-block-lang"&gt;bash&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;kubectl patch persistentvolumeclaim my-volume -p &lt;span class="s1"&gt;&amp;#39;{&amp;#34;spec&amp;#34;:{&amp;#34;resources&amp;#34;:{&amp;#34;requests&amp;#34;:{&amp;#34;storage&amp;#34;:&amp;#34;100Gi&amp;#34;}}}}&amp;#39;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;NOTE: The volume may take a few minutes to resize and reflect the new size in the Longhorn UI. You should restart the pod that uses the volume for the new size to be reflected in the pod.&lt;/p&gt;</description></item></channel></rss>