Mounting encrypted LVM - Device /dev/.../lv_home is not a valid LUKS device.
First off - let me say, I'm not sure if this is a hardware problem as far as topics go or software, so I apologize if it seems a bit off-topic.
I recently had one of my computers motherboard die and so I moved the hard drive to another linux machine so I could access the data.
The hard drive is installed correctly and I've mounted several logical volumes on the drive ok, but I'm having trouble with the two volumes which were encrypted.
The LVM Gui in Fedora is ignorant to any encrypted LVMs so I looked around to see if others have solved this problem and found the following command
# cryptsetup luksOpen /dev/vg_delldesk/lv_home luks-fedora
My Logical volume container is vg_delldesk and the encrypted volume is lv_home - when I execute this command I get the following error:
Device /dev/vg_delldesk/lv_home is not a valid LUKS device.
I started to read more on the matter and quickly got into some articles that are quite a bit over my head. Since I'm dealing with potential data loss if I accidentally overwrite the volume, I was hoping to get some help in particular from you guys.
Any help would be appreciated -please let me know if I should post any specifics. Also - if it helps, I have access to the root partition from the old box so the config files are there to reference the old setup if needed.
My current box is Fedora 14 x_64, I have dm_crypt mod installed in the kernel as well.
THanks in advance,
Maybe this might help:
I'm at work so I don't have access to my linux box. Hopefully that has some pointers to help you.
Thanks for the reply - I read through that document and it looks like it assmues the /dev/sda5 is an encrypted volume group, however my issue is a bit different because the volume group itself isn't encrypted, just 2 of the volumes within the group.
Does anyone know of a good document showing how to deal with this situation?
Maybe something like this one?
|All times are GMT -5. The time now is 02:30 PM.|