lvm2

Mounting lvm2 manually

All commands as sudo:
vgscan (--mknodes)
vgchange -ay (volumegroupname)
(lvdisplay or lvs or ls -l /dev/volumegroupname/)
mkdir -vp $PATH/{home,root} (to make a moint point)
mount /dev/volumegroupname/home $PATH/home
mount /dev/volumegroupname/root $PATH/root
(ls -al $PATH/home)

cubbli18

How to access encrypted volumes from live CDs

Once you have decided to encrypt your hard drive, you might find yourself in the situation where you need to pull off data from it when the regular decryption mechanisms you use are not in place. E.g. when the OS is not booting or the drive has some physical problems. In that case you need to boot from a CD/DVD that supports the encryption technology that you used. In my case I need a live Ubuntu CD/DVD, preferably the same version that was used to encrypt the disk! Otherwise there might be incompatibilities:
sudo apt-get install lvm2 cryptsetup

Encrypted backup using BackupPC, LVM and cryptsetup

I do offsite backups using BackupPC. The amount of data increases constantly so I need to add occasionally hard disks. Additionally I want the data to be encrypted, at least after powering off the system that is running the BackupPC application. So I decided to use logical volume management (LVM) and block device encryption (cryptsetup). The following steps were needed (on Ubuntu Feisty):

Pages