<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>OS Management on Breeding and genetics</title>
    <link>https://blog.xijiang.org/tags/os-management/</link>
    <description>Recent content in OS Management on Breeding and genetics</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Fri, 13 Feb 2026 14:52:00 +0100</lastBuildDate>
    <atom:link href="https://blog.xijiang.org/tags/os-management/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Resize root partition on an AlmaLinux OS</title>
      <link>https://blog.xijiang.org/posts/resize-root-partition-on-an-almalinux-os/</link>
      <pubDate>Fri, 13 Feb 2026 14:52:00 +0100</pubDate>
      <guid>https://blog.xijiang.org/posts/resize-root-partition-on-an-almalinux-os/</guid>
      <description>&lt;h1 id=&#34;resizing-root-partition-on-almalinux-10-lvm--xfs&#34;&gt;Resizing Root Partition on AlmaLinux 10 (LVM + XFS)&lt;/h1&gt;&#xA;&lt;p&gt;Since XFS filesystems cannot be shrunk, increasing the root partition requires backing up the &lt;code&gt;/home&lt;/code&gt; partition, deleting it, expanding &lt;code&gt;/root&lt;/code&gt;, and then recreating &lt;code&gt;/home&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;h2 id=&#34;prerequisites&#34;&gt;Prerequisites&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;A backup location with enough space (e.g., &lt;code&gt;/mnt/w&lt;/code&gt;).&lt;/li&gt;&#xA;&lt;li&gt;Root or sudo access.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;step-1-backup-home-data&#34;&gt;Step 1: Backup Home Data&lt;/h2&gt;&#xA;&lt;p&gt;Backup all data from &lt;code&gt;/home&lt;/code&gt; to a temporary location.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sudo mkdir -p /mnt/w/home_backup&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sudo rsync -aHAX --progress /home/ /mnt/w/home_backup/&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;step-2-unmount-and-remove-the-home-volume&#34;&gt;Step 2: Unmount and Remove the Home Volume&lt;/h2&gt;&#xA;&lt;p&gt;Ensure no processes are using &lt;code&gt;/home&lt;/code&gt;, then unmount it and remove the Logical Volume (LV).&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
