<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Lvm on Michele Bologna</title>
    <link>https://www.michelebologna.net/tags/lvm/</link>
    <description>Recent content in Lvm on Michele Bologna</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Fri, 20 Nov 2020 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://www.michelebologna.net/tags/lvm/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Encrypt an existing Linux installation with zero downtime (LUKS on LVM)</title>
      <link>https://www.michelebologna.net/2020/encrypt-an-existing-linux-installation-with-zero-downtime-luks-on-lvm/</link>
      <pubDate>Fri, 20 Nov 2020 00:00:00 +0000</pubDate>
      <guid>https://www.michelebologna.net/2020/encrypt-an-existing-linux-installation-with-zero-downtime-luks-on-lvm/</guid>
      <description>&lt;p&gt;During the bi-yearly review of my setup, I realized I was running a Linux machine without &lt;strong&gt;&lt;a href=&#34;https://en.wikipedia.org/wiki/Disk_encryption#Full_disk_encryption&#34;  class=&#34;external-link&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;full disk encryption&lt;/a&gt;&lt;/strong&gt;. The encryption of the disk needed to be done ASAP, but I was not willing to reinstall the whole operating system to achieve that.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Linux: using bind mount to move a subset of root subdirectories to another partion or disk</title>
      <link>https://www.michelebologna.net/2018/linux-using-bind-mount-to-move-a-subset-of-root-subdirectories-to-another-partion-or-disk/</link>
      <pubDate>Tue, 21 Aug 2018 00:00:00 +0000</pubDate>
      <guid>https://www.michelebologna.net/2018/linux-using-bind-mount-to-move-a-subset-of-root-subdirectories-to-another-partion-or-disk/</guid>
      <description>&lt;p&gt;I was in the situation dealing with a Linux box with two hard disks:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;/dev/sda&lt;/code&gt;: fast hard drive (SSD), small size (~200 GB)&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;/dev/sdb&lt;/code&gt;: very big hard drive (HDD), large size (~4 TB)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;The operating system was installed on &lt;code&gt;/dev/sda&lt;/code&gt;, so I had &lt;code&gt;/dev/sdb&lt;/code&gt; empty. I knew I could create a mount point (e.g. /storage) and mount it to &lt;code&gt;/dev/sdb&lt;/code&gt;, but after reading &lt;a href=&#34;https://www.debian.org/doc/manuals/securing-debian-manual/ch03s02.en.html#id-1.4.3.2&#34;  class=&#34;external-link&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Intelligent partitioning&lt;/a&gt; and the &lt;a href=&#34;https://www.debian.org/releases/jessie/amd64/apcs03.html.en&#34;  class=&#34;external-link&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;recommended Debian partitioning scheme&lt;/a&gt; I thought about moving:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
