LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 02-13-2011, 10:42 PM   #1
recarv
LQ Newbie
 
Registered: Feb 2011
Posts: 2

Rep: Reputation: 0
Mounting encrypted LVM - Device /dev/.../lv_home is not a valid LUKS device.


Hello,

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,

recarv
 
Old 02-14-2011, 05:08 PM   #2
corp769
Guru
 
Registered: Apr 2005
Posts: 5,814

Rep: Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001
Maybe this might help:

http://www.ubuntugeek.com/rescue-an-...vm-volume.html

I'm at work so I don't have access to my linux box. Hopefully that has some pointers to help you.
 
Old 02-15-2011, 01:41 PM   #3
recarv
LQ Newbie
 
Registered: Feb 2011
Posts: 2

Original Poster
Rep: Reputation: 0
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?

THanks,
R
 
Old 02-15-2011, 03:38 PM   #4
corp769
Guru
 
Registered: Apr 2005
Posts: 5,814

Rep: Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001
Maybe something like this one?

http://www.brandonhutchinson.com/Mou...VM_volume.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CDROM mounting problem => /dev/cdrom is not a valid block device Vizy Linux - Hardware 8 11-04-2010 05:46 PM
13 2.6.29.6 cryptsetup luks wrong device name in /dev/mapper/* TheSoftRock Slackware 1 03-04-2010 06:51 PM
Mounting NTFS Sata drive on FC5, "/dev/sda5 is not a valid block device" FlamingBee Linux - Newbie 13 11-04-2006 07:18 PM
Block device /dev/sda3 is not a valid root device.. rincewind Linux - Hardware 7 06-09-2006 05:47 AM
External USB HDD"Mounting local filesystems: /dev/sdb1 is not a valid block device" manudath Linux - Hardware 3 12-13-2004 10:59 PM


All times are GMT -5. The time now is 01:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration