[ubuntu] How to mount an encrypted partition that contains Logical Volumes through udev?

view full story

http://ubuntuforums.org – Hi, I have an external hard disk (120 GB) which I would like to use for making backups of my personal files and system images. I would like to keep these files in two seperate locations (partitions): data and sysimg. Since it's hard to say in advance what would be the optimal partition sizes I decided to use LVM2 so that I can grow the partitions (or to be more accurate: Logical Volumes) to my needs. On top of that I would like to encrypt the (one) partition which contains the Volume Group. I have found several websites that contain very useful information which I have used to work out this pl (Hardware)