Set Up A Fully Encrypted Raid1 LVM System | Linux Today

Set Up A Fully Encrypted Raid1 LVM System

Written By
Web Webster
Web Webster
Dec 11, 2008

[ Thanks to Falko
Timme
for this link. ]

“Basically I will set up the system in a way that (a)
everything [except for /boot] will be encrypted, (b) everything
will be on a raid1 and (c) have a LVM for your data partition so
that this one can be easily expanded.

“Notice: The sizes used for this howto are just exemplary….
please consider carefully how you want to size your partitions! I
did setup a real server using 500 MB for /boot, 2 GB for SWAP, 10
GB for / and the rest went into /data (in which I have also the
data of the home folder, the /etc folder, the mysql databases and
webroot)

“The reason for Raid1 is that I wanted to setup the system in
such a way that if one disk is failing the system can still be
“setup” quickly and without knowledge. The only thing one has to
know is to disconnect which of the drives and then boot the
machine.”


Complete Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.