Skip to main content

Enrypt drives using LUKS

ol lab tutorial ol-storage
Table of Contents


🌙 Lab

🗒 Tutorial


Oracle Linux includes device mapper crypt (dm-crypt) and the Linux Unified Key Setup (LUKS) to handle encryption on block devices.

In this lab, we’ll focus on the front-end tools to encrypt a device using LUKS, which utilizes the dm-crypt module from the device mapper support included with the Linux Kernel.


In this tutorial, you will learn how to:

  • Install cryptsetup
  • Create an encrypted volume
  • Mount an encrypted volume


The tutorial uses the following system:

  • A system with an available disk and a fully patched installation of Oracle Linux.