Richard Freeman on 14 Jul 2010 19:07:57 -0700

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Laptop recovery--useful data to collect?--A tangent

On 07/14/2010 08:59 PM, Lee Marzke wrote:
Well for Ubuntu 10.04, you just boot from the CD rescue partition, and
then open the encrypted LVM, and fsck the disk. You may have to manually
search for the proper lvm device names ( lvscan, lvmdiskscan, vgscan, etc )

How robust is LVM with encryption? Is the amount of data lost during a power failure comparable to not using encryption? I imagine that it must encrypt each block separately, so that if there is some kind of interruption you only lose one block of disk.

That would be my main concern with it - if you can simply manually create the devices and fsck everything that isn't too big a deal. I just don't want one byte lost to result in half the drive getting scrambled.

Using a COW filesystem with built-in encryption would probably be a good move as well. You essentially get data=writeback on such a filesystem for free, which would probably help mitigate problems caused by errors at lower layers.

Philadelphia Linux Users Group         --
Announcements -
General Discussion  --