How to verify that a physical volume is encrypted? (Ubuntu 10.04 w/ LUKS)

Posted by Bob B. on Server Fault See other posts from Server Fault or by Bob B.
Published on 2012-09-05T02:33:49Z Indexed on 2012/09/05 3:39 UTC
Read the original article Hit count: 159

I am very new to LUKS.

During installation, I tried to set up an encrypted physical volume so that everything underneath it would be encrypted. I chose "Use as: physical volume for encryption," the installation completed and I have a working environment.

How can I verify that the PV is indeed encrypted?

I was never prompted to provide a passphrase, so I most likely missed a step somewhere. At the end of the day, I'd like whole disk encryption if that's possible, so I don't have to worry about which parts of the file system are encrypted and which aren't.

If I did miss something, do I have to start over and try again, or can it be done (relatively easily?) after the fact? I would prefer not to introduce more complexity by using TrueCrypt, etc.

Environment details: The drives are md raid1. One volume group. A standard boot lv. An encrypted swap lv using a random key (which seems to be working fine).

Thank you in advance for your help. This is very much a learn-as-I-go experience.

© Server Fault or respective owner

Related posts about ubuntu-10.04

Related posts about encryption