<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>File-Systems on Documentation</title><link>https://docs.ayshell.dev/tags/file-systems/</link><description>Recent content in File-Systems on Documentation</description><generator>Hugo -- 0.147.5</generator><language>en</language><lastBuildDate>Sun, 20 Jul 2025 19:35:31 +0530</lastBuildDate><atom:link href="https://docs.ayshell.dev/tags/file-systems/index.xml" rel="self" type="application/rss+xml"/><item><title>What is LVM (Logical Volume Manager) and Why Use it?</title><link>https://docs.ayshell.dev/posts/linux/file-systems/lvm/</link><pubDate>Sun, 20 Jul 2025 19:35:31 +0530</pubDate><guid>https://docs.ayshell.dev/posts/linux/file-systems/lvm/</guid><description>&lt;h1 id="what-is-lvm">What is LVM?&lt;/h1>
&lt;p>&lt;strong>LVM&lt;/strong> is a special tool in Linux that let&amp;rsquo;s you manage disk storage in much more flexible way than traditional partitions.&lt;/p>
&lt;p>&lt;em>Think of it as turning multiple hard drives into a big, flexible stroage pool that you can split, resize, or grow whenever you want, without worrying about the limits of classic disk partitions&lt;/em>.&lt;/p>
&lt;h1 id="why-use-lvm">Why Use LVM?&lt;/h1>
&lt;ul>
&lt;li>&lt;strong>Resize storage easily&lt;/strong>: You can expand or shrink volumes without reformatting or losing data.&lt;/li>
&lt;li>&lt;strong>Combine multiple disks&lt;/strong>: Make many drives look like one big storage area.&lt;/li>
&lt;li>&lt;strong>Add more space anytime&lt;/strong>: Plug in new hard drive and add its space instantly.&lt;/li>
&lt;li>&lt;strong>Move or migrate data&lt;/strong>: Shift storage between drives with little downtime.&lt;/li>
&lt;li>&lt;strong>Take snapshots&lt;/strong>: Save the exact state of you data at a moment in time, which helps with backups.&lt;/li>
&lt;/ul>
&lt;h1 id="practical-example">Practical Example&lt;/h1>
&lt;h2 id="classic-partitioning-without-lvm">Classic Partitioning (without LVM)&lt;/h2>
&lt;ul>
&lt;li>You have 100GB disk with &lt;code>/home&lt;/code> and &lt;code>/var&lt;/code> partitions.&lt;/li>
&lt;li>&lt;code>/home&lt;/code> fills up, while &lt;code>/var&lt;/code> has lots of free space.&lt;/li>
&lt;li>&lt;strong>Problem&lt;/strong>: You can&amp;rsquo;t take space from &lt;code>/var&lt;/code> and give it to &lt;code>/home&lt;/code> without migrating, deleting, repartitioning or copying data aroud. &lt;em>Which is possible but risky and time-consuming&lt;/em>.&lt;/li>
&lt;/ul>
&lt;h2 id="with-lvm">With LVM&lt;/h2>
&lt;p>Let&amp;rsquo;s say you have two physical disks:&lt;/p></description></item><item><title>Linux: File Systems And Storage</title><link>https://docs.ayshell.dev/posts/linux/file-systems-storage/</link><pubDate>Wed, 18 Jun 2025 16:12:05 +0530</pubDate><guid>https://docs.ayshell.dev/posts/linux/file-systems-storage/</guid><description>How to manage file systems and storage in Linux operating systems.</description></item></channel></rss>