I just installed Debian and as far as I can remember I encrypted my home-partition using LVM. During the boot process I haven't been asked to enter the password.

Is there any way to check whether the encryption is up and running?

  • Please paste the output of lsblk.
    – jasonwryan
    Feb 18, 2014 at 2:24
  • please share the output of dmsetup table command
    – asdmin
    Jan 28, 2015 at 9:05

2 Answers 2


I guess this is what the OP was looking for.

lsblk | grep 'crypt'

or bash scripting:

is_encrypted=$(lsblk | grep 'crypt')
if [ -n "${is_encrypted}" ]; then
  echo "Found disk encryption is set: ${is_encrypted}"
  return 0
  echo "No disk encryption partition is found!"
  return 1

LVM isn't a type of encryption. It's something different than partitions. For more information visit Arch Wiki.

  • LVM has also a crypt target, but this should be a comment, not an answer.
    – user55518
    Feb 18, 2014 at 11:42
  • You can put encrypted disk in LVM. So you can put an encrypted disk in LVM (That's what the OP said).
    – MaXi32
    Apr 19, 2021 at 19:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .