<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Resize on Support Tools</title><link>https://support.tools/tags/resize/</link><description>Recent content in Resize on Support Tools</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Thu, 14 Jul 2022 14:05:00 -0500</lastBuildDate><atom:link href="https://support.tools/tags/resize/index.xml" rel="self" type="application/rss+xml"/><item><title>Online resize of a root ext4 file system</title><link>https://support.tools/post/online-resize-of-a-root-ext4-file-system/</link><pubDate>Thu, 14 Jul 2022 14:05:00 -0500</pubDate><guid>https://support.tools/post/online-resize-of-a-root-ext4-file-system/</guid><description>&lt;p&gt;The following is a guide to resizing your root ext4 file system online. After the operation, your partition will have more free space. There will be no shrinkage of the root file system. The root partition could have been any partition, not exactly the root one, but in most cases, such operations on the root are more complex and dangerous - ALWAYS back up before performing such operations!&lt;/p&gt;&#10;&lt;p&gt;During the resize operation, none of the services need to be shut down, rebooted, or unmounted.&lt;/p&gt;&#10;&lt;p&gt;Even so, we rebooted the server once as a precaution, since it was possible and the server was not in production. Rebooting the server after this kind of resizing is not necessary.&#10;Using kernel 5.15, the following method was tested on Ubuntu 22.04. As a result, we can assume that if your system is newer than ours, you won&amp;rsquo;t have any problems.&lt;/p&gt;&#10;&lt;p&gt;Summary:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;To resize a partition, use the resizepart command in the parted command. This package is available in most Linux distributions and has the same name as the needed command &amp;ldquo;parted&amp;rdquo;&lt;/li&gt;&#10;&lt;li&gt;Resize the file system using resize2fs from &lt;a href="https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git"&gt;E2fsprogs&lt;/a&gt;. There is a version of this package included in most Linux distributions with the same name.&lt;/li&gt;&#10;&lt;/ul&gt;</description></item></channel></rss>